From d2daac02fbc20980162799fc7bf6b1ca59f5686a Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期五, 12 七月 2024 07:40:41 +0800 Subject: [PATCH] fix3 --- jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/domain/DaTileMatchMiddleware.java | 108 +++++++++++------------------------------------------ 1 files changed, 23 insertions(+), 85 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/domain/DaTileMatchMiddleware.java b/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/domain/DaTileMatchMiddleware.java index 47f23bc..58de158 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/domain/DaTileMatchMiddleware.java +++ b/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/domain/DaTileMatchMiddleware.java @@ -1,9 +1,14 @@ package com.jcdm.main.da.tileMatchMiddleware.domain; +import com.baomidou.mybatisplus.annotation.TableField; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.jcdm.common.annotation.Excel; import com.jcdm.common.core.domain.BaseEntity; + +import java.util.Date; /** * 娲诲杩炴潌閰嶇摝涓棿瀵硅薄 da_tile_match_middleware @@ -11,9 +16,9 @@ * @author yyt * @date 2024-05-28 */ -public class DaTileMatchMiddleware extends BaseEntity +@Data +public class DaTileMatchMiddleware { - private static final long serialVersionUID = 1L; /** ID */ private Long id; @@ -32,7 +37,7 @@ /** 鐘舵�� */ @Excel(name = "鐘舵��") - private Long state; + private Integer state; /** 澶囨敞 */ @Excel(name = "澶囨敞") @@ -44,92 +49,25 @@ /** 姘旂几缂栧彿 */ @Excel(name = "姘旂几缂栧彿") - private Long cylinder; + private Integer cylinder; - public void setId(Long id) - { - this.id = id; - } + /** 鍒涘缓鐢ㄦ埛 */ + private String createUser; - public Long getId() - { - return id; - } - public void setSfcCode(String sfcCode) - { - this.sfcCode = sfcCode; - } + /** 鏇存敼鐢ㄦ埛 */ + private String updateUser; - public String getSfcCode() - { - return sfcCode; - } - public void setPalletNo(String palletNo) - { - this.palletNo = palletNo; - } + /** 鍒涘缓鏃堕棿 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createTime; - public String getPalletNo() - { - return palletNo; - } - public void setCrankshaftNo(String crankshaftNo) - { - this.crankshaftNo = crankshaftNo; - } + /** 鏇存柊鏃堕棿 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date updateTime; - public String getCrankshaftNo() - { - return crankshaftNo; - } - public void setState(Long state) - { - this.state = state; - } + @TableField(exist = false) + private String productType; - public Long getState() - { - return state; - } - public void setRemarks(String remarks) - { - this.remarks = remarks; - } - - public String getRemarks() - { - return remarks; - } - public void setConnectingrodNo(String connectingrodNo) - { - this.connectingrodNo = connectingrodNo; - } - - public String getConnectingrodNo() - { - return connectingrodNo; - } - public void setCylinder(Long cylinder) - { - this.cylinder = cylinder; - } - - public Long getCylinder() - { - return cylinder; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("sfcCode", getSfcCode()) - .append("palletNo", getPalletNo()) - .append("crankshaftNo", getCrankshaftNo()) - .append("state", getState()) - .append("remarks", getRemarks()) - .append("connectingrodNo", getConnectingrodNo()) - .append("cylinder", getCylinder()) - .toString(); - } + @TableField(exist = false) + private String checkFlag; } -- Gitblit v1.9.3