| package doumeemes.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import doumeemes.core.annotation.excel.ExcelColumn; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import java.io.Serializable; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 物料分配信息表 | 
|  * @author 江蹄蹄 | 
|  * @date 2022/04/20 09:34 | 
|  */ | 
| @Data | 
| @ApiModel("物料分配信息表") | 
| @TableName("`material_distribute`") | 
| public class MaterialDistribute implements Serializable { | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     @ExcelColumn(name="主键") | 
|     @TableId(value = "id",type = IdType.AUTO) | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1",hidden = true) | 
|     @ExcelColumn(name="是否已删除 0未删除 1已删除") | 
|     private Integer deleted; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", example = "1") | 
|     @ExcelColumn(name="创建人编码") | 
|     private Integer createUser; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @ExcelColumn(name="创建时间") | 
|    // @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date createTime; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", example = "1",hidden = true) | 
|     @ExcelColumn(name="更新人编码") | 
|     private Integer updateUser; | 
|   | 
|     @ApiModelProperty(value = "更新时间",hidden = true) | 
|     @ExcelColumn(name="更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date updateTime; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     @ExcelColumn(name="备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "主组织编码(关联department表根组织)", example = "1",hidden = true) | 
|     @ExcelColumn(name="主组织编码(关联department表根组织)") | 
|     private Integer rootDepartId; | 
|   | 
|     @ApiModelProperty(value = "公司级组织编码 (关联department表组织)", example = "1") | 
|     @ExcelColumn(name="公司级组织编码 (关联department表组织)") | 
|     private Integer departId; | 
|   | 
|     @ApiModelProperty(value = "物料编码", example = "1") | 
|     @ExcelColumn(name="物料编码") | 
|     private Integer materialId; | 
|   | 
|     @ApiModelProperty(value = "规格型号") | 
|     @ExcelColumn(name="规格型号") | 
|     private String attr; | 
|   | 
|     @ApiModelProperty(value = "组合名称,(物料名称+物料规格型号,自动显示不可人工修改)") | 
|     @ExcelColumn(name="组合名称,(物料名称+物料规格型号,自动显示不可人工修改)") | 
|     private String unionName; | 
|   | 
|     @ApiModelProperty(value = "主单位编码,(关联unit_distribute表)", example = "1") | 
|     @ExcelColumn(name="主单位编码,(关联unit_distribute表)") | 
|     private Integer unitId; | 
|   | 
|     @ApiModelProperty(value = "物料分类组合编码(关联category_union表)", example = "1") | 
|     @ExcelColumn(name="物料分类组合编码(关联category_union表)") | 
|     private Integer cateUnionId; | 
|   | 
|     @ApiModelProperty(value = "形成方式 0生产、1.采购", example = "1") | 
|     @ExcelColumn(name="形成方式 0生产、1.采购") | 
|     private Integer formation; | 
|   | 
|     @ApiModelProperty(value = "状态0.无效 1.有效", example = "1") | 
|     @ExcelColumn(name="状态0.无效 1.有效") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "最后启用时间") | 
|     @ExcelColumn(name="最后启用时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date validTime; | 
|   | 
|     @ApiModelProperty(value = "最后失效时间") | 
|     @ExcelColumn(name="最后失效时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date invalidTime; | 
|   | 
| } |