| 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); | 
|     } | 
|   | 
|   | 
| } |