| package doumeemes.dao.business.model; | 
|   | 
| import doumeemes.core.annotation.excel.ExcelColumn; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
|   | 
| import java.io.Serializable; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 物料单位分配信息表 | 
|  * @author 江蹄蹄 | 
|  * @date 2022/04/20 09:37 | 
|  */ | 
| @Data | 
| @ApiModel("物料单位分配信息表") | 
| @TableName("`unit_distribute`") | 
| public class UnitDistribute implements Serializable { | 
|      @TableId(value = "id",type = IdType.AUTO) | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     @ExcelColumn(name="主键") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") | 
|     @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") | 
|     @ExcelColumn(name="更新人编码") | 
|     private Integer updateUser; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     @ExcelColumn(name="更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date updateTime; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     @ExcelColumn(name="备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "公司级组织编码 (关联department表组织)", example = "1") | 
|     @ExcelColumn(name="公司级组织编码 (关联department表组织)") | 
|     private Integer departId; | 
|   | 
|     @ApiModelProperty(value = "主组织编码(关联department表根组织)", example = "1") | 
|     @ExcelColumn(name="主组织编码(关联department表根组织)") | 
|     private Integer rootDepartId; | 
|   | 
|     @ApiModelProperty(value = "主单位编码,(关联material_unit表)", example = "1") | 
|     @ExcelColumn(name="主单位编码,(关联material_unit表)") | 
|     private Integer unitId; | 
|   | 
|     @ApiModelProperty(value = "单位名称") | 
|     @ExcelColumn(name="单位名称") | 
|     private String name; | 
|   | 
|     @ApiModelProperty(value = "类型0.主单位,1.采购单位,2.库存单位", example = "1") | 
|     @ExcelColumn(name="类型0.主单位,1.采购单位,2.库存单位") | 
|     private Integer type; | 
|   | 
|     @ApiModelProperty(value = "状态 0禁用 1启用", example = "1") | 
|     @ExcelColumn(name="状态 0禁用 1启用") | 
|     private Integer status; | 
|   | 
| } |