package com.zy.asrs.entity; import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import com.baomidou.mybatisplus.annotations.TableField; import java.text.SimpleDateFormat; import java.util.Date; import lombok.experimental.Accessors; import org.springframework.format.annotation.DateTimeFormat; 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("asr_loc_cache_detl") @Accessors(chain = true) public class LocCacheDetl implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value= "") @TableId(value = "id", type = IdType.AUTO) private Long id; @ApiModelProperty(value= "") @TableField("loc_id") private Long locId; @ApiModelProperty(value= "") @TableField("loc_no") private String locNo; @ApiModelProperty(value= "") @TableField("area_id") private Long areaId; @ApiModelProperty(value= "") @TableField("area_name") private String areaName; @ApiModelProperty(value= "") private String zpallet; @ApiModelProperty(value= "") private Double anfme; @ApiModelProperty(value= "") private String matnr; @ApiModelProperty(value= "") private String maktx; @ApiModelProperty(value= "") private String batch; @ApiModelProperty(value= "") @TableField("order_no") private String orderNo; @ApiModelProperty(value= "") private String specs; @ApiModelProperty(value= "") private String model; @ApiModelProperty(value= "") private String color; @ApiModelProperty(value= "") private String brand; @ApiModelProperty(value= "") private String unit; @ApiModelProperty(value= "") private Double price; @ApiModelProperty(value= "") private String sku; @ApiModelProperty(value= "") private Double units; @ApiModelProperty(value= "") private String barcode; @ApiModelProperty(value= "") private String origin; @ApiModelProperty(value= "") private String manu; @ApiModelProperty(value= "") @TableField("manu_date") private String manuDate; @ApiModelProperty(value= "") private Double weight; @ApiModelProperty(value= "") @TableField("item_num") private String itemNum; @ApiModelProperty(value= "") @TableField("safe_qty") private Double safeQty; @ApiModelProperty(value= "") @TableField("man_length") private Double manLength; @ApiModelProperty(value= "") private Double volume; @ApiModelProperty(value= "") @TableField("three_code") private String threeCode; @ApiModelProperty(value= "") private String supp; @ApiModelProperty(value= "") @TableField("supp_code") private String suppCode; @ApiModelProperty(value= "") @TableField("be_batch") private Integer beBatch; @ApiModelProperty(value= "") @TableField("dead_time") private String deadTime; @ApiModelProperty(value= "") @TableField("dead_warn") private Integer deadWarn; @ApiModelProperty(value= "") private Integer source; @ApiModelProperty(value= "") private Integer inspect; @ApiModelProperty(value= "") private Integer danger; @ApiModelProperty(value= "") @TableField("modi_user") private Long modiUser; @ApiModelProperty(value= "") @TableField("modi_time") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date modiTime; @ApiModelProperty(value= "") @TableField("appe_user") private Long appeUser; @ApiModelProperty(value= "") @TableField("appe_time") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date appeTime; @ApiModelProperty(value= "") private String memo; @ApiModelProperty(value= "") @TableField("store_date") private Double storeDate; @ApiModelProperty(value= "") private Integer owner; @ApiModelProperty(value= "") private Integer frozen; @ApiModelProperty(value= "") private String standby1; @ApiModelProperty(value= "") private String standby2; @ApiModelProperty(value= "") private String standby3; @ApiModelProperty(value= "") @TableField("box_type1") private String boxType1; @ApiModelProperty(value= "") @TableField("box_type2") private String boxType2; @ApiModelProperty(value= "") @TableField("box_type3") private String boxType3; public LocCacheDetl() {} public LocCacheDetl(Long locId,String locNo,Long areaId,String areaName,String zpallet,Double anfme,String matnr,String maktx,String batch,String orderNo,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,Double weight,String itemNum,Double safeQty,Double manLength,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Long modiUser,Date modiTime,Long appeUser,Date appeTime,String memo,Double storeDate,Integer owner,Integer frozen,String standby1,String standby2,String standby3,String boxType1,String boxType2,String boxType3) { this.locId = locId; this.locNo = locNo; this.areaId = areaId; this.areaName = areaName; this.zpallet = zpallet; this.anfme = anfme; this.matnr = matnr; this.maktx = maktx; this.batch = batch; this.orderNo = orderNo; this.specs = specs; this.model = model; this.color = color; this.brand = brand; this.unit = unit; this.price = price; this.sku = sku; this.units = units; this.barcode = barcode; this.origin = origin; this.manu = manu; this.manuDate = manuDate; this.weight = weight; this.itemNum = itemNum; this.safeQty = safeQty; this.manLength = manLength; this.volume = volume; this.threeCode = threeCode; this.supp = supp; this.suppCode = suppCode; this.beBatch = beBatch; this.deadTime = deadTime; this.deadWarn = deadWarn; this.source = source; this.inspect = inspect; this.danger = danger; this.modiUser = modiUser; this.modiTime = modiTime; this.appeUser = appeUser; this.appeTime = appeTime; this.memo = memo; this.storeDate = storeDate; this.owner = owner; this.frozen = frozen; this.standby1 = standby1; this.standby2 = standby2; this.standby3 = standby3; this.boxType1 = boxType1; this.boxType2 = boxType2; this.boxType3 = boxType3; } // LocCacheDetl locCacheDetl = new LocCacheDetl( // 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, // // null, // // null, // // null, // // null, // // null, // // null, // // null, // // null, // // null, // // null, // // null, // // null // // ); public String getModiTime$(){ if (Cools.isEmpty(this.modiTime)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime); } public String getAppeTime$(){ if (Cools.isEmpty(this.appeTime)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); } }