Houjie
2025-06-10 be8a6f171bd41aa50fb7310b2ccbe753dac20b89
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/entity/Equipment.java
@@ -32,172 +32,156 @@
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mom_eam_equipment对象", description="mom_eam_equipment")
public class Equipment extends JeecgEntity implements Serializable {
public class Equipment implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
   /**设备编码*/
   @Excel(name = "设备编码", width = 15)
   @Excel(name = "统一编码", width = 15,orderNum = "0")
    @ApiModelProperty(value = "设备编码")
    private String num;
   /**设备名称*/
   @Excel(name = "设备名称", width = 15)
   @Excel(name = "设备名称", width = 15,orderNum = "1")
    @ApiModelProperty(value = "设备名称")
    private String name;
   /**设备型号*/
   @Excel(name = "设备型号", width = 15)
   @Excel(name = "设备型号", width = 15,orderNum = "30")
    @ApiModelProperty(value = "设备型号")
    private String model;
   /**设备规格*/
   @Excel(name = "设备规格", width = 15)
   @Excel(name = "设备规格", width = 15,orderNum = "31")
    @ApiModelProperty(value = "设备规格")
    private String specification;
   /**设备状态*/
   @Excel(name = "设备状态", width = 15)
   @Excel(name = "设备状态", width = 15,orderNum = "17",dicCode = "equipment_status")
    @ApiModelProperty(value = "设备状态")
    @Dict(dicCode = "equipment_status")
    private String equipmentStatus;
   /**技术状态*/
   @Excel(name = "技术状态", width = 15)
    @ApiModelProperty(value = "技术状态")
    @Excel(name = "技术状态", width = 15,orderNum = "18",dicCode = "technology_status")
    @Dict(dicCode = "technology_status")
    private String technologyStatus;
   /**资产编号*/
   @Excel(name = "资产编号", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String assetNumber;
   /**所属分类*/
   @Excel(name = "所属分类", width = 15)
   @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 = "特种设备(是、否)", width = 15)
   @Excel(name = "关键设备标识",orderNum = "8",width = 15,dicCode = "specific_equipment")
    @ApiModelProperty(value = "特种设备(是、否)")
    @Dict(dicCode = "specific_equipment")
    private String specificEquipment;
   /**设备图片*/
   @Excel(name = "设备图片", width = 15)
    @ApiModelProperty(value = "设备图片")
    private String equipmentPhoto;
   /**制造商*/
   @Excel(name = "制造商", width = 15)
   @Excel(name = "资产制造商", width = 15,orderNum = "28")
    @ApiModelProperty(value = "制造商")
    @Dict(dicCode = "id",dictTable="mom_base_constructor",dicText="name")
    private String constructorId;
   /**供应商*/
   @Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    @Dict(dicCode = "id",dictTable="mom_base_supplier",dicText="name")
    private String supplierId;
   /**出厂编号*/
   @Excel(name = "出厂编号", width = 15)
   @Excel(name = "出厂编号", width = 15,orderNum = "27")
    @ApiModelProperty(value = "出厂编号")
    private String factoryNumber;
   /**出厂日期*/
   @Excel(name = "出厂日期", width = 15)
   @Excel(name = "出厂日期", width = 15,orderNum = "23")
    @ApiModelProperty(value = "出厂日期")
    private String leaveFactoryDate;
   /**验收日期*/
   @Excel(name = "验收日期", width = 15)
    @Excel(name = "验收日期", width = 15,orderNum = "26")
    @ApiModelProperty(value = "验收日期")
    private String acceptanceCheckDate;
   /**所有组织*/
   @Excel(name = "所有组织", width = 15)
    @ApiModelProperty(value = "所有组织")
    @Dict(dicCode = "id",dictTable="sys_depart",dicText="depart_name")
    private String affiliationId;
   /**管理组织*/
   @Excel(name = "管理组织", width = 15)
   @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;
   /**管理人*/
   @Excel(name = "管理人", width = 15)
    @ApiModelProperty(value = "管理人")
    @Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
    private String manager;
   /**使用部门*/
   @Excel(name = "使用部门", width = 15)
   @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;
   /**责任人*/
   @Excel(name = "责任人", width = 15)
    @ApiModelProperty(value = "责任人")
    @Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
    private String functionary;
   /**位置*/
   @Excel(name = "位置", width = 15)
   @Excel(name = "安装位置", width = 15,orderNum = "22")
    @ApiModelProperty(value = "位置")
    private String location;
   /**重要度*/
   @Excel(name = "重要度", width = 15)
   @Excel(name = "ABC标识", width = 15,orderNum = "6")
    @ApiModelProperty(value = "重要度")
    @Dict(dicCode = "id",dictTable="mom_eam_equipment_importance",dicText="name")
    private String equipmentImportanceId;
   /**工艺参数管理(1:是,0:否)*/
   @Excel(name = "工艺参数管理(1:是,0:否)", width = 15)
    @ApiModelProperty(value = "工艺参数管理(1:是,0:否)")
    private String processParameters;
   /**精度参数管理(1:是,0:否)*/
   @Excel(name = "精度参数管理(1:是,0:否)", width = 15)
    @ApiModelProperty(value = "精度参数管理(1:是,0:否)")
    private String precisionParameters;
   /**检定管理(1:是,0:否)*/
   @Excel(name = "检定管理(1:是,0:否)", width = 15)
    @ApiModelProperty(value = "检定管理(1:是,0:否)")
    private String verification;
   /**检定周期*/
   @Excel(name = "检定日期", width = 15)
    @ApiModelProperty(value = "检定日期")
    private String verificationPeriod;
   /**上次鉴定日期*/
   @Excel(name = "上次鉴定日期", width = 15)
    @ApiModelProperty(value = "上次检定日期")
    private String lastVerificationDate;
   /**下次鉴定日期*/
   @Excel(name = "下次鉴定日期", width = 15)
    @ApiModelProperty(value = "下次检定日期")
    private String nextVerificationDate;
   /**状态*/
   @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status = CommonConstant.STATUS_1;
   /**备注*/
   @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
   /**备用字段1*/
   @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
   @Excel(name = "工区", width = 15,orderNum = "3")
    @ApiModelProperty(value = "工区")
    private String equipmentUda1;
   /**备用字段2*/
   @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String equipmentUda2;
   /**备用字段3*/
   @Excel(name = "备用字段3", width = 15)
   @Excel(name = "重量", width = 15,orderNum = "19")
    @ApiModelProperty(value = "备用字段3")
    private String equipmentUda3;
   /**备用字段4*/
   @Excel(name = "备用字段4", width = 15)
   @Excel(name = "重量计量单位", width = 15,orderNum = "20")
    @ApiModelProperty(value = "备用字段4")
    private String equipmentUda4;
   /**备用字段5*/
   @Excel(name = "备用字段5", width = 15)
   @Excel(name = "功能位置", width = 15,orderNum = "21")
    @ApiModelProperty(value = "备用字段5")
    private String equipmentUda5;
   /**租户id*/
   @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private String tenantId;
   /**删除状态(0-正常,1-已删除)*/
   @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**责任班组*/
    @Excel(name = "责任班组", width = 15)
    @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;
@@ -210,10 +194,19 @@
    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;
    @ApiModelProperty(value = "技术状态鉴定类型(字典technology_status_verification_type)")
    @Dict(dicCode = "technology_status_verification_type")
    private String technologyStatusVerificationType;
    @ApiModelProperty(value = "技术状态鉴定单据")
    private String technologyStatusVerificationBill;
    @TableField(exist = false)
    private String processParametersTemplateName;
@@ -241,34 +234,48 @@
    @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")
    @Dict(dicCode = "cooling_system")
    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 = "操作系统")
    @Dict(dicCode = "operation_flag")
    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;
@@ -276,4 +283,151 @@
    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<EquipmentProcessParameters> processEditTableList;
    @TableField(exist = false)
    private List<EquipmentPrecisionParameters> precisionEditTableList;
    /**工区*/
    @Dict(dicCode = "id",dictTable = "mom_base_area",dicText = "name")
    @Excel(width = 15,dicCode = "id",dictTable = "mom_base_area",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_area",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;
    @Dict(dicCode = "property_status")
    @Excel(width = 15,orderNum = "41",dicCode = "property_status",name = "资产状态")
    private String    propertyStatus;
    @Excel(name = "技术状态到期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date    technologyStatusExpirationTime;
    @Excel(name = "本次技术状态鉴定时间", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private java.util.Date    technologyStatusQualificationTime;
    @Excel(name = "下次技术状态鉴定时间", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private java.util.Date    nextTechnologyStatusQualificationTime;
    @Excel(name = "本次二保时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date    secondMaintenanceTime;
    @Excel(name = "下次二保时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date    nextSecondMaintenanceTime;
    @Excel(name = "本次三保时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date    thirdMaintenanceTime;
    @Excel(name = "下次三保时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date    nextThirdMaintenanceTime;
    @ApiModelProperty(value = "生产线ID")
    @Dict(dictTable = "mom_eam_equipment",dicText = "num",dicCode = "id")
    private String lineId;
    @ApiModelProperty(value = "是否主设备")
    @Dict(dicCode = "is_product")
    private String isMeta;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @TableField(exist = false)
    private Date newStart;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @TableField(exist = false)
    private Date newEnd;
    @TableField(exist = false)
    private String newABCTag;
    @TableField(exist = false)
    List<EquipmentSpares> equipmentSparesList;
    @TableField(exist = false)
    private String equipmentCategoryUda1;
    @TableField(exist = false)
    private String maintenanceOrderId;
    private String checkPeriod;
    @TableField(exist = false)
    private List<Equipment> equipmentOfLineTable;
    @TableField(exist = false)
    private String  showId;
    @TableField(exist = false)
    private Integer sumOfEquipment;
    @Dict(dicCode = "is_product")
    private String isLineEquip;
    @Dict(dicCode = "is_product")
    private String isJudging;
    @Dict(dicCode = "is_product")
    private String isLine;
    @Dict(dicCode = "is_product")
    @TableField(exist = false)
    private String nums;
    @TableField(exist = false)
    private String equipmentId;
    @TableField(exist = false)
    private List<Equipment> keyEquipmentUpdateList;
    /**工段*/
    @Dict(dicCode = "id",dictTable = "mom_base_area",dicText = "name")
    private String areaId;
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @TableField(exist = false)
    private String yseNoInspectionStandard;
    @TableField(exist = false)
    private String yseNoMaintenance2Standard;
    @TableField(exist = false)
    private String yseNoMaintenance3Standard;
    @TableField(exist = false)
    private List<String> userWorkCenterIds;
}