From bbb54c1ab65d141219dfbf7efb2af086522667a0 Mon Sep 17 00:00:00 2001
From: mrzhssss <pro6@qq.com>
Date: 星期一, 10 一月 2022 16:59:09 +0800
Subject: [PATCH] 项目计划管理有些功能没实现
---
src/main/java/zy/cloud/wms/manager/entity/Item.java | 47 ++++++++++++++++++++++++++++++-----------------
1 files changed, 30 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 ffc584b..de67d78 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,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, // 椤圭洰缂栧彿[闈炵┖]
--
Gitblit v1.9.1