package org.jeecg.modules.eam.entity; import java.io.Serializable; 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 org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.system.base.entity.JeecgEntity; import org.springframework.format.annotation.DateTimeFormat; import org.jeecgframework.poi.excel.annotation.Excel; import java.util.Date; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.UnsupportedEncodingException; /** * @Description: 设备处置明细 * @Author: jeecg-boot * @Date: 2023-04-27 * @Version: V1.0 */ @ApiModel(value="mom_eam_equipment_disposal_detail对象", description="设备处置明细") @Data @TableName("mom_eam_equipment_disposal_detail") public class EquipmentDisposalDetail extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /**设备变动单id*/ @ApiModelProperty(value = "设备变动单id") private String equipmentChangeId; /**设备ID*/ @Excel(name = "设备ID", width = 15) @ApiModelProperty(value = "设备ID") private String equipmentId; /**设备编码*/ @Excel(name = "设备编码", width = 15) @ApiModelProperty(value = "设备编码") private String equipmentNum; /**资产编码*/ @Excel(name = "资产编码", width = 15) @ApiModelProperty(value = "资产编码") private String assetNumber; /**特种设备(是、否)*/ @Excel(name = "特种设备(是、否)", width = 15) @ApiModelProperty(value = "特种设备(是、否)") @Dict(dicCode = "specific_equipment") private String specificEquipment; /**设备名称*/ @Excel(name = "设备名称", width = 15) @ApiModelProperty(value = "设备名称") private String equipmentName; /**设备型号*/ @Excel(name = "设备型号", width = 15) @ApiModelProperty(value = "设备型号") private String model; /**设备规格*/ @Excel(name = "设备规格", width = 15) @ApiModelProperty(value = "设备规格") private String specification; /**设备状态*/ @Excel(name = "设备状态", width = 15, dicCode = "equipment_status") @Dict(dicCode = "equipment_status") @ApiModelProperty(value = "设备状态") private String equipmentStatus; /**技术状态*/ @Excel(name = "技术状态", width = 15, dicCode = "technology_status") @ApiModelProperty(value = "技术状态") @Dict(dicCode = "technology_status") private String technologyStatus; /**设备位置*/ @Excel(name = "设备位置", width = 15) @ApiModelProperty(value = "设备位置") private String location; /**重要度*/ @Excel(name = "重要度", width = 15, dictTable = "mom_eam_equipment_importance", dicText = "name", dicCode = "id") @ApiModelProperty(value = "重要度") @Dict(dictTable = "mom_eam_equipment_importance", dicText = "name", dicCode = "id") private String equipmentImportanceId; /**设备图片*/ @Excel(name = "设备图片", width = 15) @ApiModelProperty(value = "设备图片") private String equipmentPhoto; /**处置原因*/ @Excel(name = "处置原因", width = 15) @ApiModelProperty(value = "处置原因") private String disposalReason; /**处置日期*/ @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") @ApiModelProperty(value = "处置日期") private Date disposalDate; /**创建人*/ // @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; /**租户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; /**状态 0 禁用 1 启用*/ @Excel(name = "状态 0 禁用 1 启用", width = 15) @ApiModelProperty(value = "状态 0 禁用 1 启用") private String status; /**企业id*/ @Excel(name = "企业id", width = 15) @ApiModelProperty(value = "企业id") private String enterpriseId; /**备用字段1*/ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String equipmentDisposalDetailUda1; /**备用字段2*/ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String equipmentDisposalDetailUda2; /**备用字段3*/ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String equipmentDisposalDetailUda3; /**备用字段4*/ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String equipmentDisposalDetailUda4; /**备用字段5*/ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String equipmentDisposalDetailUda5; @Excel(name = "减少方式", width = 15) @ApiModelProperty(value = "减少方式") @Dict(dictTable = "mom_eam_transfer_method", dicText = "name", dicCode = "id") private String reduceMethod; }