package org.jeecg.modules.base.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import java.io.Serializable; @Data @TableName("mom_base_material_category") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value = "物料分类对象", description = "mom_base_material_category") public class MaterialCategory extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /** * 物料分类编码 */ @Excel(name = "物料分类编码", width = 15) @ApiModelProperty(value = "物料分类编码") private String code; /** * 物料分类名称 */ @Excel(name = "物料分类名称", width = 15) @ApiModelProperty(value = "物料分类名称") private String name; /** * 上级分类id */ @Excel(name = "上级分类id", width = 15) @ApiModelProperty(value = "上级分类id") private String parentId; /** * 备注 */ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; /** * 版本号 */ @Excel(name = "版本号", width = 15) @ApiModelProperty(value = "版本号") private Integer version; /** * 版本数据Id */ @Excel(name = "版本数据Id", width = 15) @ApiModelProperty(value = "版本数据Id") private String dataVersionId; /** * 备用字段1 */ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String materialCategoryUda1; /** * 备用字段2 */ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String materialCategoryUda2; /** * 备用字段3 */ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String materialCategoryUda3; /** * 备用字段4 */ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String materialCategoryUda4; /** * 备用字段5 */ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String materialCategoryUda5; /** * 删除状态(0-正常,1-已删除) */ @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private String delFlag = CommonConstant.DEL_FLAG_0.toString(); /** * 版本状态,0:新建,1:编辑,2:生效,3:失效,4:待生效 */ @TableField(exist = false) private String versionStatus; }