From 48db618606f0f0cafd1ce795f8bf26a0bcec2581 Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期六, 20 七月 2024 07:56:54 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/xgmFlasrs' into xgmFlasrs --- src/main/java/com/zy/third/lk/entity/OutHedTB.java | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 107 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/third/lk/entity/OutHedTB.java b/src/main/java/com/zy/third/lk/entity/OutHedTB.java new file mode 100644 index 0000000..f9a352a --- /dev/null +++ b/src/main/java/com/zy/third/lk/entity/OutHedTB.java @@ -0,0 +1,107 @@ +package com.zy.third.lk.entity; + +import com.baomidou.mybatisplus.annotations.TableField; +import com.core.common.Cools; +import io.swagger.annotations.ApiModelProperty; +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.enums.IdType; + +import java.text.SimpleDateFormat; +import java.util.Date; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.springframework.format.annotation.DateTimeFormat; + +import com.baomidou.mybatisplus.annotations.TableName; + +import java.io.Serializable; + +@Data +@NoArgsConstructor +@AllArgsConstructor +@TableName("lk_OutHedTB") +public class OutHedTB implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "AutoId", type = IdType.AUTO) + private Integer AutoId; + + @ApiModelProperty(value = "") + @TableId(value = "BillNo", type = IdType.INPUT) + @TableField("BillNo") + private String BillNo; + + @TableField("BillDate") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date billDate; + + /** + * SendMatOut:鍙戞枡鍑哄簱 + * OtherOut:鍏跺畠鍑哄簱鍗� + * ItemMoveOut:璋冩嫧鍑哄簱 + * ItemSwitchOut:褰㈡�佽浆鎹㈠嚭搴� + * CheckLossOut:鐩樼泩鍑哄簱鍗� + */ + @ApiModelProperty(value = "SendMatOut:鍙戞枡鍑哄簱 ") + @TableField("IoKindID") + private String IoKindID; + + @TableField("IoKindName") + private String ioKindName; + + @ApiModelProperty(value = "") + @TableField("ObjectId") + private String ObjectId; + + @ApiModelProperty(value = "") + @TableField("ObjectName") + private String ObjectName; + + @ApiModelProperty(value = "") + @TableField("Remark") + private String remark; + + @TableField("WareId") + private String wareId; + + @TableField("WareName") + private String wareName; + + @ApiModelProperty(value = "") + @TableField("Temp1") + private String temp1; + + @ApiModelProperty(value = "") + @TableField("Temp2") + private String temp2; + + @ApiModelProperty(value = "") + @TableField("Temp3") + private String temp3; + + + @ApiModelProperty(value = "") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @TableField("MakeDate") + private Date makedate; + + + @TableField("bPass") + private Boolean bPass; + + @TableField("bStartIn") + private Boolean bStartIn; + + + public String getMakedate$() { + if (Cools.isEmpty(this.makedate)) { + return ""; + } + return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.makedate); + } + + +} -- Gitblit v1.9.1