package org.jeecg.modules.eam.entity; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import java.util.List; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; //import org.jeecg.modules.system.entity.SysUpload; import org.jeecg.common.system.base.entity.SysUpload; import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecg.common.aspect.annotation.Dict; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.springframework.format.annotation.DateTimeFormat; /** * @Description: mom_eam_equipment * @Author: jeecg-boot * @Date: 2023-03-23 * @Version: V1.0 */ @Data @TableName("mom_eam_equipment") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="mom_eam_equipment对象", description="mom_eam_equipment") public class Equipment implements Serializable { private static final long serialVersionUID = 1L; private String id; /**设备编码*/ @Excel(name = "统一编码", width = 15,orderNum = "0") @ApiModelProperty(value = "设备编码") private String num; /**设备名称*/ @Excel(name = "设备名称", width = 15,orderNum = "1") @ApiModelProperty(value = "设备名称") private String name; /**设备型号*/ @Excel(name = "设备型号", width = 15,orderNum = "30") @ApiModelProperty(value = "设备型号") private String model; /**设备规格*/ @Excel(name = "设备规格", width = 15,orderNum = "31") @ApiModelProperty(value = "设备规格") private String specification; /**设备状态*/ @Excel(name = "设备状态", width = 15,orderNum = "17",dicCode = "equipment_status") @ApiModelProperty(value = "设备状态") @Dict(dicCode = "equipment_status") private String equipmentStatus; /**技术状态*/ @ApiModelProperty(value = "技术状态") @Excel(name = "技术状态", width = 15,orderNum = "18",dicCode = "technology_status") @Dict(dicCode = "technology_status") private String technologyStatus; /**资产编号*/ @ApiModelProperty(value = "资产编号") private String assetNumber; /**所属分类*/ @Excel(name = "所属分类", width = 15,orderNum = "7",dictTable = "mom_eam_equipment_category",dicCode = "id",dicText = "name") @ApiModelProperty(value = "所属分类") @Dict(dictTable = "mom_eam_equipment_category",dicCode = "id",dicText = "name") private String equipmentCategoryId; /**特种设备*/ @Excel(name = "关键设备标识",orderNum = "8",width = 15,dicCode = "specific_equipment") @ApiModelProperty(value = "特种设备(是、否)") @Dict(dicCode = "specific_equipment") private String specificEquipment; /**设备图片*/ @ApiModelProperty(value = "设备图片") private String equipmentPhoto; /**制造商*/ @Excel(name = "资产制造商", width = 15,orderNum = "28") @ApiModelProperty(value = "制造商") @Dict(dicCode = "id",dictTable="mom_base_constructor",dicText="name") private String constructorId; /**供应商*/ @ApiModelProperty(value = "供应商") @Dict(dicCode = "id",dictTable="mom_base_supplier",dicText="name") private String supplierId; /**出厂编号*/ @Excel(name = "出厂编号", width = 15,orderNum = "27") @ApiModelProperty(value = "出厂编号") private String factoryNumber; /**出厂日期*/ @Excel(name = "出厂日期", width = 15,orderNum = "23") @ApiModelProperty(value = "出厂日期") private String leaveFactoryDate; /**验收日期*/ @Excel(name = "验收日期", width = 15,orderNum = "26") @ApiModelProperty(value = "验收日期") private String acceptanceCheckDate; /**所有组织*/ @ApiModelProperty(value = "所有组织") @Dict(dicCode = "id",dictTable="sys_depart",dicText="depart_name") private String affiliationId; /**管理组织*/ @Excel(name = "维护部门", width = 15,orderNum = "4",dicCode = "id",dictTable="sys_depart",dicText="depart_name") @ApiModelProperty(value = "管理组织") @Dict(dicCode = "id",dictTable="sys_depart",dicText="depart_name") private String manageId; /**管理人*/ @ApiModelProperty(value = "管理人") @Dict(dicCode = "id",dictTable="sys_user",dicText="realname") private String manager; /**使用部门*/ @Excel(name = "使用部门", width = 15,orderNum = "2",dicCode = "id",dictTable="sys_depart",dicText="depart_name") @ApiModelProperty(value = "使用部门") @Dict(dicCode = "id",dictTable="sys_depart",dicText="depart_name") private String useId; /**责任人*/ @ApiModelProperty(value = "责任人") @Dict(dicCode = "id",dictTable="sys_user",dicText="realname") private String functionary; /**位置*/ @Excel(name = "安装位置", width = 15,orderNum = "22") @ApiModelProperty(value = "位置") private String location; /**重要度*/ @Excel(name = "ABC标识", width = 15,orderNum = "6") @ApiModelProperty(value = "重要度") @Dict(dicCode = "id",dictTable="mom_eam_equipment_importance",dicText="name") private String equipmentImportanceId; /**工艺参数管理(1:是,0:否)*/ @ApiModelProperty(value = "工艺参数管理(1:是,0:否)") private String processParameters; /**精度参数管理(1:是,0:否)*/ @ApiModelProperty(value = "精度参数管理(1:是,0:否)") private String precisionParameters; /**检定管理(1:是,0:否)*/ @ApiModelProperty(value = "检定管理(1:是,0:否)") private String verification; /**检定周期*/ @ApiModelProperty(value = "检定日期") private String verificationPeriod; /**上次鉴定日期*/ @ApiModelProperty(value = "上次检定日期") private String lastVerificationDate; /**下次鉴定日期*/ @ApiModelProperty(value = "下次检定日期") private String nextVerificationDate; /**状态*/ @ApiModelProperty(value = "状态") private String status = CommonConstant.STATUS_1; /**备注*/ @ApiModelProperty(value = "备注") private String remark; /**备用字段1*/ @Excel(name = "工区", width = 15,orderNum = "3") @ApiModelProperty(value = "工区") private String equipmentUda1; /**备用字段2*/ @ApiModelProperty(value = "备用字段2") private String equipmentUda2; /**备用字段3*/ @Excel(name = "重量", width = 15,orderNum = "19") @ApiModelProperty(value = "备用字段3") private String equipmentUda3; /**备用字段4*/ @Excel(name = "重量计量单位", width = 15,orderNum = "20") @ApiModelProperty(value = "备用字段4") private String equipmentUda4; /**备用字段5*/ @Excel(name = "功能位置", width = 15,orderNum = "21") @ApiModelProperty(value = "备用字段5") private String equipmentUda5; /**租户id*/ @ApiModelProperty(value = "租户id") private String tenantId; /**删除状态(0-正常,1-已删除)*/ @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private Integer delFlag = CommonConstant.DEL_FLAG_0; /**责任班组*/ @Excel(name = "维修班组", width = 15,orderNum = "5",dicCode = "id",dictTable="mom_base_team",dicText="name") @ApiModelProperty(value = "责任班组") @Dict(dicCode = "id",dictTable="mom_base_team",dicText="name") private String teamId; /** * 基础数据 增减方式 中的增加项 */ @ApiModelProperty(value = "设备来源") @Dict(dicCode = "id",dictTable="mom_eam_transfer_method",dicText="name") private String sourceId; @ApiModelProperty(value = "工艺参数模板Id") @Dict(dicCode = "id",dictTable = "mom_eam_process_parameters_template",dicText = "name") private String processParametersTemplateId; @ApiModelProperty(value = "设备精度模板Id") @Dict(dicCode = "id",dictTable = "mom_eam_precision_parameters_template",dicText = "name") private String precisionParametersTemplateId; @TableField(exist = false) private String processParametersTemplateName; @TableField(exist = false) private String precisionParametersTemplateName; /** * 附件上传列表 */ @TableField(exist = false) private List sysUploadList; /** * 封存原因 */ @TableField(exist = false) private String sealReason; /** * 封存日期 */ @TableField(exist = false) @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date sealDate; @ApiModelProperty(value = "资金来源") @Excel(name = "资金来源", width = 15,orderNum = "25") private String fundSource; @ApiModelProperty(value = "出厂编号") private String factoryNo; @ApiModelProperty(value = "制造商") private String mfr; @ApiModelProperty(value = "资产来源国家") @Excel(name = "资产来源国家", width = 15,orderNum = "29") private String sourceCountry; @ApiModelProperty(value = "总功率") @Excel(name = "总功率", width = 15,orderNum = "32") private String gpo; @ApiModelProperty(value = "关键设备标识") private String keyEquipmentIdentification; @Excel(name = "安全配置", width = 15,orderNum = "9") @ApiModelProperty(value = "安全配置") private String securityConfiguration; @ApiModelProperty(value = "冷却系统") @Excel(name = "冷却系统", width = 15,orderNum = "10") private String coolingSystem; @Excel(name = "灭火器", width = 15,orderNum = "11") @ApiModelProperty(value = "灭火器") private String fireExtinguisher; @Excel(name = "灭火器有效期", width = 15,orderNum = "12") @ApiModelProperty(value = "灭火器有效期") private String fireExtinguisherValidityPeriod; @Excel(name = "操作系统", width = 15,orderNum = "13") @ApiModelProperty(value = "操作系统") private String operatingSystem; @Excel(name = "系统", width = 15,orderNum = "14") @ApiModelProperty(value = "系统") private String system; @ApiModelProperty(value = "端口") @Excel(name = "设备端口", width = 15,orderNum = "15") private String port; @ApiModelProperty(value = "坐标数量") @Excel(name = "坐标数量", width = 15,orderNum = "16") private BigDecimal coordinateNum; @ApiModelProperty(value = "立项卡号") @Excel(name = "立项卡号", width = 15,orderNum = "24") private String projectApprovalNo; private String standardA; private String standardB; private String standardC; private String standardD; private String standardE; private String standardF; /**创建人*/ @ApiModelProperty(value = "创建人") @Excel(name = "创建人", width = 15,orderNum = "33") private java.lang.String createBy; /**创建时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @Excel(name = "创建时间", width = 15,orderNum = "34",format = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "创建时间") private java.util.Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") @Excel(name = "更新人", width = 15,orderNum = "35") private java.lang.String updateBy; /**更新时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @Excel(name = "更新时间", width = 15,orderNum = "36",format = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "更新时间") private java.util.Date updateTime; @TableField(exist = false) private List processEditTableList; @TableField(exist = false) private List precisionEditTableList; @Dict(dicCode = "id",dictTable = "mom_base_factory_model",dicText = "name") @Excel(width = 15,dicCode = "id",dictTable = "mom_base_factory_model",dicText = "name",orderNum = "39", name = "车间") private String factoryModelId; @Excel(width = 15,dicCode = "id",dictTable = "mom_base_work_center",dicText = "name",name = "产线",orderNum = "40") @Dict(dicCode = "id",dictTable = "mom_base_work_center",dicText = "name") private String workCenterId; @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @Excel(name = "质保开始日期", width = 15,orderNum = "37",format = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") private Date warrantyStart; @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @Excel(name = "质保结束日期", width = 15,orderNum = "38",format = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") private Date warrantyEnd; }