mrzhssss
2022-01-10 bbb54c1ab65d141219dfbf7efb2af086522667a0
src/main/java/zy/cloud/wms/manager/entity/Item.java
@@ -7,6 +7,8 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import zy.cloud.wms.system.entity.Host;
import zy.cloud.wms.system.entity.User;
import zy.cloud.wms.system.service.HostService;
@@ -16,6 +18,7 @@
import java.text.SimpleDateFormat;
import java.util.Date;
@Data
@TableName("man_item")
public class Item implements Serializable {
@@ -85,6 +88,7 @@
     */
    @ApiModelProperty(value= "开始时间")
    @TableField("start_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /**
@@ -92,6 +96,7 @@
     */
    @ApiModelProperty(value= "结束时间")
    @TableField("end_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /**
@@ -112,6 +117,7 @@
     */
    @ApiModelProperty(value= "添加时间")
    @TableField("create_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
@@ -126,6 +132,7 @@
     */
    @ApiModelProperty(value= "修改时间")
    @TableField("update_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
@@ -134,25 +141,31 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    @TableField("type")
    private String type;
    @TableField("real_start_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realStartTime;
    @TableField("real_end_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realEndTime;
    @TableField("real_month")
    private Integer realMonth;
    @TableField("duty_department")
    private String dutyDepartment;
    @TableField("duty_man")
    private String dutyMan;
    public Item() {}
    public Item(Long hostId, String uuid,String name,String inUuid,String cstmrUuid,String cstmr,String member,String leader,Date startTime,Date endTime,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.hostId = hostId;
        this.name = name;
        this.inUuid = inUuid;
        this.cstmrUuid = cstmrUuid;
        this.cstmr = cstmr;
        this.member = member;
        this.leader = leader;
        this.startTime = startTime;
        this.endTime = endTime;
        this.status = status;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.memo = memo;
    }
//    Item item = new Item(
//            null,    // 项目编号[非空]