From 9052fef232f56eb878d7cf8360a09a11e6a0fe2f Mon Sep 17 00:00:00 2001 From: lty <876263681@qq.com> Date: 星期五, 06 六月 2025 10:48:54 +0800 Subject: [PATCH] # --- src/main/java/com/zy/third/lk/entity/InHedTBBak.java | 183 +++++++++++---------------------------------- 1 files changed, 45 insertions(+), 138 deletions(-) diff --git a/src/main/java/com/zy/third/lk/entity/InHedTBBak.java b/src/main/java/com/zy/third/lk/entity/InHedTBBak.java index bb95ed7..4ed08ba 100644 --- a/src/main/java/com/zy/third/lk/entity/InHedTBBak.java +++ b/src/main/java/com/zy/third/lk/entity/InHedTBBak.java @@ -1,15 +1,19 @@ package com.zy.third.lk.entity; import com.baomidou.mybatisplus.annotations.TableField; -import com.core.common.Cools;import io.swagger.annotations.ApiModelProperty; +import com.core.common.Cools; +import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty; + import java.text.SimpleDateFormat; import java.util.Date; + import io.swagger.annotations.ApiModelProperty; +import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty; @@ -17,195 +21,98 @@ import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotations.TableName; + import java.io.Serializable; +@Data @TableName("lk_InHedTB_bak") public class InHedTBBak implements Serializable { private static final long serialVersionUID = 1L; - @TableId(value = "AutoId",type = IdType.AUTO) + @TableId(value = "auto_id", type = IdType.AUTO) + @TableField("auto_id") private Integer autoId; - @ApiModelProperty(value= "") - @TableField("BillNo") + @ApiModelProperty(value = "") + @TableField("bill_no") private String BillNo; - @TableField("BillDate") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @TableField("bill_date") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date billDate; /** * StockIn:閲囪喘鍏ュ簱 -ProductIn:鎴愬搧鍏ュ簱鍗� -ItemMoveIn:璋冩嫧鍏ュ簱 -ItemSwitchIn:褰㈡�佽浆鎹㈠叆搴� -CheckMoreIn:鐩樼泩鍏ュ簱鍗� - + * ProductIn:鎴愬搧鍏ュ簱鍗� + * ItemMoveIn:璋冩嫧鍏ュ簱 + * ItemSwitchIn:褰㈡�佽浆鎹㈠叆搴� + * CheckMoreIn:鐩樼泩鍏ュ簱鍗� */ - @ApiModelProperty(value= "StockIn:閲囪喘鍏ュ簱 ") - @TableField("IoKindID") + @ApiModelProperty(value = "StockIn:閲囪喘鍏ュ簱 ") + @TableField("io_kind_id") private String IoKindID; - @TableField("IoKindName") + @TableField("io_kind_name") private String ioKindName; /** * 渚涘簲鍟嗐�侀儴闂↖D */ - @ApiModelProperty(value= "渚涘簲鍟嗐�侀儴闂↖D") - @TableField("ObjectId") - private String OjectId; + @ApiModelProperty(value = "渚涘簲鍟嗐�侀儴闂↖D") + @TableField("object_id") + private String ObjectId; /** * 渚涘簲鍟嗐�侀儴闂ㄥ悕绉� */ - @ApiModelProperty(value= "渚涘簲鍟嗐�侀儴闂ㄥ悕绉�") - @TableField("ObjectName") - private String OjbectName; + @ApiModelProperty(value = "渚涘簲鍟嗐�侀儴闂ㄥ悕绉�") + @TableField("object_name") + private String ObjectName; - @ApiModelProperty(value= "") - @TableField("Remark") + @ApiModelProperty(value = "") + @TableField("remark") private String remark; - @TableField("WareId") + @TableField("ware_id") private String wareId; - @TableField("WareName") + @TableField("ware_name") private String wareName; - @ApiModelProperty(value= "") - @TableField("Temp1") + @ApiModelProperty(value = "") + @TableField("temp1") private String temp1; - @ApiModelProperty(value= "") - @TableField("Temp2") + @ApiModelProperty(value = "") + @TableField("temp2") private String temp2; - @ApiModelProperty(value= "") - @TableField("Temp3") + @ApiModelProperty(value = "") + @TableField("temp3") private String temp3; - @ApiModelProperty(value= "") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") - @TableField("MakeDate") + @ApiModelProperty(value = "") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @TableField("make_date") private Date makedate; - @TableField("DelDate") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @TableField("del_date") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date delDate; - @TableField("bPass") + @TableField("b_pass") private Boolean bPass; - @TableField("bStartIn") + @TableField("b_start_in") private Boolean bStartIn; - public InHedTBBak() {} - - public InHedTBBak(String BillNo,String IoKindID,String OjectId,String OjbectName,Date makedate,String remark,String temp1,String temp2,String temp3) { - this.BillNo = BillNo; - this.IoKindID = IoKindID; - this.OjectId = OjectId; - this.OjbectName = OjbectName; - this.makedate = makedate; - this.remark = remark; - this.temp1 = temp1; - this.temp2 = temp2; - this.temp3 = temp3; - } - -// InHedTBBak inHedTBBak = new InHedTBBak( -// null, // [闈炵┖] -// null, // StockIn:閲囪喘鍏ュ簱 - -// null, // 渚涘簲鍟嗐�侀儴闂↖D -// null, // 渚涘簲鍟嗐�侀儴闂ㄥ悕绉� -// null, // -// null, // -// null, // -// null, // -// null // -// ); - - public String getBillNo() { - return BillNo; - } - - public void setBillNo(String BillNo) { - this.BillNo = BillNo; - } - - public String getIoKindID() { - return IoKindID; - } - - public void setIoKindID(String IoKindID) { - this.IoKindID = IoKindID; - } - - public String getOjectId() { - return OjectId; - } - - public void setOjectId(String OjectId) { - this.OjectId = OjectId; - } - - public String getOjbectName() { - return OjbectName; - } - - public void setOjbectName(String OjbectName) { - this.OjbectName = OjbectName; - } - - public Date getMakedate() { - return makedate; - } - - public String getMakedate$(){ - if (Cools.isEmpty(this.makedate)){ + public String getMakedate$() { + if (Cools.isEmpty(this.makedate)) { return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.makedate); - } - - public void setMakedate(Date makedate) { - this.makedate = makedate; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getTemp1() { - return temp1; - } - - public void setTemp1(String temp1) { - this.temp1 = temp1; - } - - public String getTemp2() { - return temp2; - } - - public void setTemp2(String temp2) { - this.temp2 = temp2; - } - - public String getTemp3() { - return temp3; - } - - public void setTemp3(String temp3) { - this.temp3 = temp3; } -- Gitblit v1.9.1