自动化立体仓库 - WMS系统
ZY
2024-09-21 58dc66a9d999c7d350e1ee4bf32b8d85b6e20e00
src/main/java/com/zy/third/erp/entity/OutCancelTB.java
New file
@@ -0,0 +1,47 @@
package com.zy.third.erp.entity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.Cools;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
@Data
@TableName("erp_OutCancelTB")
public class OutCancelTB implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "AutoId", type = IdType.AUTO)
    private Integer AutoId;
    @ApiModelProperty(value = "")
    @TableField("BillNo")
    private String BillNo;
    @ApiModelProperty(value = "")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("MakeDate")
    private Date MakeDate;
    @ApiModelProperty(value = "")
    @TableField("LKName")
    private String LKName;
    public String getMakedate$() {
        if (Cools.isEmpty(this.MakeDate)) {
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.MakeDate);
    }
}