From 1c0dbad152362ac704a27ecfc5b5d08247385d87 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期二, 21 十月 2025 17:12:48 +0800
Subject: [PATCH] 13
---
src/main/java/com/zy/asrs/entity/LocCheck.java | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 156 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/LocCheck.java b/src/main/java/com/zy/asrs/entity/LocCheck.java
new file mode 100644
index 0000000..739622d
--- /dev/null
+++ b/src/main/java/com/zy/asrs/entity/LocCheck.java
@@ -0,0 +1,156 @@
+package com.zy.asrs.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableName;
+import com.baomidou.mybatisplus.enums.IdType;
+import com.core.common.Cools;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+@Data
+@TableName("man_loc_check")
+public class LocCheck implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 鍞竴ID
+ */
+ @ApiModelProperty(value = "鍞竴ID")
+ @TableId(value = "id", type = IdType.AUTO)
+ private Long id;
+
+ /**
+ * 鐘舵�� 1: 鐩樼偣涓� 2: 鐩樼偣缁撴潫
+ */
+ @ApiModelProperty(value = "鐘舵�� 1: 鐩樼偣涓� 2: 鐩樼偣缁撴潫 ")
+ private Integer type;
+
+ /**
+ * 搴撲綅鍙�
+ */
+ @ApiModelProperty(value = "搴撲綅鍙�")
+ @TableField("loc_no")
+ private String locNo;
+
+ /**
+ * 鐗╂枡鍙�
+ */
+ @ApiModelProperty(value = "鐗╂枡鍙�")
+ private String matnr;
+
+ /**
+ * 鐩樼偣鍓嶆暟閲�
+ */
+ @ApiModelProperty(value = "鐩樼偣鍓嶆暟閲�")
+ @TableField("origin_anfme")
+ private Double originAnfme;
+
+ /**
+ * 鐪熷疄鏁伴噺
+ */
+ @ApiModelProperty(value = "鐪熷疄鏁伴噺")
+ @TableField("real_anfme")
+ private Double realAnfme;
+
+ /**
+ * 鍒涘缓浜�
+ */
+ @ApiModelProperty(value = "鍒涘缓浜�")
+ @TableField("create_by")
+ private Long createBy;
+
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ @ApiModelProperty(value = "鍒涘缓鏃堕棿")
+ @TableField("create_time")
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date createTime;
+
+ /**
+ * 淇敼浜�
+ */
+ @ApiModelProperty(value = "淇敼浜�")
+ @TableField("update_by")
+ private Long updateBy;
+
+ /**
+ * 淇敼鏃堕棿
+ */
+ @ApiModelProperty(value = "淇敼鏃堕棿")
+ @TableField("update_time")
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date updateTime;
+
+ /**
+ * 澶囨敞
+ */
+ @ApiModelProperty(value = "澶囨敞")
+ private String memo;
+
+ public LocCheck() {
+ }
+
+ public LocCheck(Integer type, String locNo, String matnr, Double originAnfme, Double realAnfme, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo) {
+ this.type = type;
+ this.locNo = locNo;
+ this.matnr = matnr;
+ this.originAnfme = originAnfme;
+ this.realAnfme = realAnfme;
+ this.createBy = createBy;
+ this.createTime = createTime;
+ this.updateBy = updateBy;
+ this.updateTime = updateTime;
+ this.memo = memo;
+ }
+
+// LocCheck locCheck = new LocCheck(
+// null, // 鐘舵��
+// null, // 搴撲綅鍙�
+// null, // 鐗╂枡鍙�
+// null, // 鐩樼偣鍓嶆暟閲�
+// null, // 鐪熷疄鏁伴噺
+// null, // 鍒涘缓浜�
+// null, // 鍒涘缓鏃堕棿
+// null, // 淇敼浜�
+// null, // 淇敼鏃堕棿
+// null // 澶囨敞
+// );
+
+ public String getType$() {
+ if (null == this.type) {
+ return null;
+ }
+ switch (this.type) {
+ case 1:
+ return "鐩樼偣涓�";
+ case 2:
+ return "鐩樼偣缁撴潫";
+ default:
+ return String.valueOf(this.type);
+ }
+ }
+
+ public String getCreateTime$() {
+ if (Cools.isEmpty(this.createTime)) {
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+ }
+
+ public String getUpdateTime$() {
+ if (Cools.isEmpty(this.updateTime)) {
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
+ }
+
+
+}
--
Gitblit v1.9.1