package org.jeecg.modules.system.entity; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.format.annotation.DateTimeFormat; import org.jeecgframework.poi.excel.annotation.Excel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** * @Description: 设备车间管理 * @Author: jeecg-boot * @Date: 2025-06-30 * @Version: V1.0 */ @Data @TableName("eam_base_factory") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="eam_base_factory", description="工厂建模") public class BaseFactory implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**父级id*/ @Excel(name = "父级id", width = 15) @ApiModelProperty(value = "父级id") private String parentId; /**机构名称*/ @Excel(name = "机构名称", width = 15) @ApiModelProperty(value = "机构名称") private String factoryName; /**简称*/ @Excel(name = "简称", width = 15) @ApiModelProperty(value = "简称") private String shortName; /**公司/中心/工区/工段编码*/ @Excel(name = "公司/中心/工区/工段编码", width = 15) @ApiModelProperty(value = "公司/中心/工区/工段编码") private String factoryCode; /**机构类型 1部门 2子部门*/ @Excel(name = "机构类型 1部门 2子部门", width = 15) @ApiModelProperty(value = "机构类型 1部门 2子部门") private String orgType; /**机构编码*/ @Excel(name = "机构编码", width = 15) @ApiModelProperty(value = "机构编码") private String orgCode; /**工厂分类*/ @Excel(name = "工厂分类", width = 15) @ApiModelProperty(value = "工厂分类") private String factoryCategory; /**工厂分类*/ @Excel(name = "工厂状态", width = 15) @ApiModelProperty(value = "工厂状态") private String factoryStatus; /**排序*/ @Excel(name = "排序", width = 15) @ApiModelProperty(value = "排序") private Integer sorter; /**备注*/ @Excel(name = "备注", width = 20) @ApiModelProperty(value = "备注") private String remark; /**删除状态(0,正常,1已删除)*/ @Excel(name = "删除状态(0,正常,1已删除)", width = 15) @ApiModelProperty(value = "删除状态(0,正常,1已删除)") @TableLogic private String delFlag; /**创建人*/ @ApiModelProperty(value = "创建人") private String createBy; /**创建日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建日期") private Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") private String updateBy; /**更新日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "更新日期") private Date updateTime; }