| package com.doumee.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.doumee.core.annotation.excel.ExcelColumn; | 
| import com.doumee.core.model.LoginUserModel; | 
| 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.util.Date; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 分类信息表 | 
|  * @author 江蹄蹄 | 
|  * @date 2023/11/30 15:33 | 
|  */ | 
| @Data | 
| @ApiModel("分类信息表") | 
| @TableName("`category`") | 
| public class Category extends LoginUserModel { | 
|   | 
|     @TableId(type = IdType.AUTO) | 
|     @ApiModelProperty(value = "主键") | 
|      //@ExcelColumn(name="主键") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "创建人编码") | 
|      //@ExcelColumn(name="创建人编码") | 
|     private Integer creator; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|      //@ExcelColumn(name="创建时间") | 
|     private Date createDate; | 
|   | 
|     @ApiModelProperty(value = "更新人编码") | 
|      //@ExcelColumn(name="更新人编码") | 
|     private Integer editor; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|      //@ExcelColumn(name="更新时间") | 
|     private Date editDate; | 
|   | 
|     @ApiModelProperty(value = "是否删除0否 1是") | 
|      //@ExcelColumn(name="是否删除0否 1是") | 
|     private Integer isdeleted; | 
|   | 
|     @ApiModelProperty(value = "名称") | 
|      @ExcelColumn(name="二级分类名称",index = 2,width = 12) | 
|     private String name; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|      //@ExcelColumn(name="备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "状态 0启用 1禁用") | 
|      //@ExcelColumn(name="状态 0启用 1禁用") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "排序码") | 
|      //@ExcelColumn(name="排序码") | 
|     private Integer sortnum; | 
|   | 
|     @ApiModelProperty(value = "图标") | 
|      //@ExcelColumn(name="图标") | 
|     private String imgurl; | 
|   | 
|     @ApiModelProperty(value = "类型 0公司类型 1车辆类型 2运维-客户行业分类 3运维-工单分类 4运维-巡检区域 5运维-设备分类 6=客户行业" ) | 
|      //@ExcelColumn(name="类型 0公司类型 1车辆类型") | 
|     private Integer type; | 
|   | 
|     @ApiModelProperty(value = "父级编码(自关联)") | 
|      //@ExcelColumn(name="父级编码(自关联)") | 
|     private Integer parentId; | 
|     @ApiModelProperty(value = "父级名称 ") | 
|     @TableField(exist = false) | 
|     @ExcelColumn(name="一级分类名称",index = 1,width = 12) | 
|     private String parentName; | 
|     @ApiModelProperty(value = "组合名称 ") | 
|     @TableField(exist = false) | 
|     @ExcelColumn(name="组合名称",index = 3,width = 20) | 
|     private String groupName; | 
|   | 
|     @ApiModelProperty(value = "子集分类") | 
|     @TableField(exist = false) | 
|     private List<Category> childCategoryList; | 
|   | 
|   | 
| } |