| package doumeemes.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| 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/05/05 11:37 | 
|  */ | 
| @Data | 
| @ApiModel("仓库管理-库位信息表") | 
| @TableName("`warehouse_location`") | 
| public class WarehouseLocation implements Serializable { | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     @ExcelColumn(name="主键") | 
|     @TableId(value = "id",type = IdType.AUTO) | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "是否已删除 0未删除 1已删除", hidden = true) | 
|     @ExcelColumn(name="是否已删除 0未删除 1已删除") | 
|     private Integer deleted; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", hidden = true) | 
|     @ExcelColumn(name="创建人编码") | 
|     private Integer createUser; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @ExcelColumn(name="创建时间") | 
|    // @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date createTime; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", 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表根组织)", hidden = true) | 
|     @ExcelColumn(name="主组织编码(关联department表根组织)") | 
|     private Integer rootDepartId; | 
|   | 
|     @ApiModelProperty(value = "仓库编码(关联warehouse表)",required = true) | 
|     @ExcelColumn(name="仓库编码(关联warehouse表)") | 
|     private Integer warehouseId; | 
|   | 
|     @ApiModelProperty(value = "库位组合(系统自动根据 area+shelf+cell字段组合产生)", hidden = true) | 
|     @ExcelColumn(name="库位组合(系统自动根据 area+shelf+cell字段组合产生)") | 
|     private String unionName; | 
|   | 
|     @ApiModelProperty(value = "区域",required = true) | 
|     @ExcelColumn(name="区域") | 
|     private String area; | 
|   | 
|     @ApiModelProperty(value = "货架") | 
|     @ExcelColumn(name="货架") | 
|     private String shelf; | 
|   | 
|     @ApiModelProperty(value = "货格") | 
|     @ExcelColumn(name="货格") | 
|     private String cell; | 
|   | 
|     @ApiModelProperty(value = "二维码ID", example = "1", hidden = true) | 
|     @ExcelColumn(name="二维码ID") | 
|     private Integer qrcode; | 
|   | 
|     @ApiModelProperty(value = "状态 0失效 1有效", example = "1") | 
|     @ExcelColumn(name="状态 0失效 1有效") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "编码",required = true) | 
|     @ExcelColumn(name="编码") | 
|     private String code; | 
|   | 
|     @ApiModelProperty(value = "属性(关联system_dict_data表)") | 
|     @ExcelColumn(name="属性(关联system_dict_data表)") | 
|     private String systemDicDataId; | 
|   | 
|     @ApiModelProperty(value = "货位属性") | 
|     @TableField(exist = false) | 
|     private String label; | 
|   | 
|   | 
| } |