mrzhssss
2022-01-10 976882dc2122eb1a12ad175416b41704e1a22a99
src/main/java/zy/cloud/wms/manager/entity/Item.java
@@ -7,6 +7,7 @@
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;
@@ -17,6 +18,7 @@
import java.text.SimpleDateFormat;
import java.util.Date;
@Data
@TableName("man_item")
public class Item implements Serializable {
@@ -139,25 +141,29 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    @TableField("type")
    private String type;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("real_start_time")
    private Date realStartTime;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("real_end_time")
    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,    // 项目编号[非空]