package com.zy.asrs.entity; import com.core.common.Cools; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.enums.IdType; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.format.annotation.DateTimeFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.text.SimpleDateFormat; import java.util.Date; import java.text.SimpleDateFormat; import java.util.Date; import java.text.SimpleDateFormat; import java.util.Date; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; @Data @TableName("ICBOM") public class ICBOM implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value= "") @TableField("FBrNo") private String FBrNo; @ApiModelProperty(value= "") @TableId(value = "FInterID", type = IdType.INPUT) @TableField("FInterID") private Integer FInterID; @ApiModelProperty(value= "") @TableField("FBOMNumber") private String FBOMNumber; @ApiModelProperty(value= "") @TableField("FImpMode") private Short FImpMode; @ApiModelProperty(value= "") @TableField("FUseStatus") private Integer FUseStatus; @ApiModelProperty(value= "") @TableField("FVersion") private String FVersion; @ApiModelProperty(value= "") @TableField("FParentID") private Integer FParentID; @ApiModelProperty(value= "") @TableField("FItemID") private Integer FItemID; @ApiModelProperty(value= "") @TableField("FQty") private BigDecimal FQty; @ApiModelProperty(value= "") @TableField("FYield") private Double FYield; @ApiModelProperty(value= "") @TableField("FCheckID") private Integer FCheckID; @ApiModelProperty(value= "") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @TableField("FCheckDate") private Date FCheckDate; @ApiModelProperty(value= "") @TableField("FOperatorID") private Integer FOperatorID; @ApiModelProperty(value= "") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @TableField("FEnterTime") private Date FEnterTime; @ApiModelProperty(value= "") @TableField("FStatus") private Short FStatus; @ApiModelProperty(value= "") @TableField("FCancellation") private Boolean FCancellation; @ApiModelProperty(value= "") @TableField("FTranType") private Integer FTranType; @ApiModelProperty(value= "") @TableField("FRoutingID") private Integer FRoutingID; @ApiModelProperty(value= "") @TableField("FBomType") private Integer FBomType; @ApiModelProperty(value= "") @TableField("FCustID") private Integer FCustID; @ApiModelProperty(value= "") @TableField("FCustItemID") private Integer FCustItemID; @ApiModelProperty(value= "") @TableField("FAccessories") private Integer FAccessories; @ApiModelProperty(value= "") @TableField("FNote") private String FNote; @ApiModelProperty(value= "") @TableField("FUnitID") private Integer FUnitID; @ApiModelProperty(value= "") @TableField("FAUXQTY") private Double FAUXQTY; @ApiModelProperty(value= "") @TableField("FCheckerID") private Integer FCheckerID; @ApiModelProperty(value= "") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @TableField("FAudDate") private Date FAudDate; @ApiModelProperty(value= "") @TableField("FEcnInterID") private Integer FEcnInterID; @ApiModelProperty(value= "") @TableField("FBeenChecked") private Boolean FBeenChecked; @ApiModelProperty(value= "") @TableField("FForbid") private Short FForbid; @ApiModelProperty(value= "") @TableField("FAuxPropID") private Integer FAuxPropID; @ApiModelProperty(value= "") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @TableField("FPDMImportDate") private Date FPDMImportDate; @ApiModelProperty(value= "") @TableField("FBOMSkip") private Short FBOMSkip; @ApiModelProperty(value= "") @TableField("FClassTypeID") private Integer FClassTypeID; @ApiModelProperty(value= "") @TableField("FPrintCount") private Short FPrintCount; @ApiModelProperty(value= "") @TableField("FUserID") private Integer FUserID; @ApiModelProperty(value= "") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @TableField("FUseDate") private Date FUseDate; @ApiModelProperty(value= "") @TableField("FCurCheckLevel") private Integer FCurCheckLevel; @TableField(exist = false) private String soCode; @TableField(exist = false) private String depCode; @TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date fplancommitdate; public ICBOM() {} // ICBOM iCBOM = new ICBOM( // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // // null, // [非空] // null, // // null, // [非空] // null, // [非空] // null, // // null, // // null, // // null, // // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // // null, // // null, // [非空] // null, // [非空] // null, // [非空] // null, // [非空] // null, // // null, // [非空] // null, // // null, // // null, // // null, // // null // // ); public String getFCheckDate$(){ if (Cools.isEmpty(this.FCheckDate)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.FCheckDate); } public String getFEnterTime$(){ if (Cools.isEmpty(this.FEnterTime)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.FEnterTime); } public String getFAudDate$(){ if (Cools.isEmpty(this.FAudDate)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.FAudDate); } public String getFPDMImportDate$(){ if (Cools.isEmpty(this.FPDMImportDate)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.FPDMImportDate); } public String getFUseDate$(){ if (Cools.isEmpty(this.FUseDate)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.FUseDate); } }