From 976882dc2122eb1a12ad175416b41704e1a22a99 Mon Sep 17 00:00:00 2001 From: mrzhssss <pro6@qq.com> Date: 星期一, 10 一月 2022 08:26:03 +0800 Subject: [PATCH] 代码更新 --- src/main/java/zy/cloud/wms/manager/entity/Item.java | 40 +++++++++++++++++++++++----------------- 1 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/main/java/zy/cloud/wms/manager/entity/Item.java b/src/main/java/zy/cloud/wms/manager/entity/Item.java index c5fcfa6..84ade5b 100644 --- a/src/main/java/zy/cloud/wms/manager/entity/Item.java +++ b/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, // 椤圭洰缂栧彿[闈炵┖] -- Gitblit v1.9.1