|
@@ -0,0 +1,213 @@
|
|
|
+package org.jeecg.modules.specialEquipment.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+import org.jeecgframework.poi.excel.annotation.Excel;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description: 特种设备
|
|
|
+ * @Author: jeecg-boot
|
|
|
+ * @Date: 2025-05-16
|
|
|
+ * @Version: V1.0
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@TableName("sbsmzq_special_device")
|
|
|
+@Accessors(chain = true)
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
+@ApiModel(value = "sbsmzq_special_device对象", description = "特种设备")
|
|
|
+public class SpecialDevice implements Serializable {
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ @TableId(type = IdType.ASSIGN_ID)
|
|
|
+ @ApiModelProperty(value = "主键")
|
|
|
+ private String id;
|
|
|
+ /**
|
|
|
+ * 创建人
|
|
|
+ */
|
|
|
+ @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;
|
|
|
+ /**
|
|
|
+ * 所属部门
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "所属部门")
|
|
|
+ private String sysOrgCode;
|
|
|
+ /**
|
|
|
+ * 编号
|
|
|
+ */
|
|
|
+ @Excel(name = "编号", width = 15)
|
|
|
+ @ApiModelProperty(value = "编号")
|
|
|
+ private String number;
|
|
|
+ /**
|
|
|
+ * 设备名称
|
|
|
+ */
|
|
|
+ @Excel(name = "设备名称", width = 15)
|
|
|
+ @ApiModelProperty(value = "设备名称")
|
|
|
+ private String deviceName;
|
|
|
+ /**
|
|
|
+ * 规格型号
|
|
|
+ */
|
|
|
+ @Excel(name = "规格型号", width = 15)
|
|
|
+ @ApiModelProperty(value = "规格型号")
|
|
|
+ private String spec;
|
|
|
+ /**
|
|
|
+ * 出厂编号
|
|
|
+ */
|
|
|
+ @Excel(name = "出厂编号", width = 15)
|
|
|
+ @ApiModelProperty(value = "出厂编号")
|
|
|
+ private String factoryNumber;
|
|
|
+ /**
|
|
|
+ * 使用登记证号
|
|
|
+ */
|
|
|
+ @Excel(name = "使用登记证号", width = 15)
|
|
|
+ @ApiModelProperty(value = "使用登记证号")
|
|
|
+ private String registrationNumber;
|
|
|
+ /**
|
|
|
+ * 特种设备类别
|
|
|
+ */
|
|
|
+ @Excel(name = "特种设备类别", width = 15)
|
|
|
+ @ApiModelProperty(value = "特种设备类别")
|
|
|
+ private String category;
|
|
|
+ /**
|
|
|
+ * 生产厂家
|
|
|
+ */
|
|
|
+ @Excel(name = "生产厂家", width = 15)
|
|
|
+ @ApiModelProperty(value = "生产厂家")
|
|
|
+ private String manufacturer;
|
|
|
+ /**
|
|
|
+ * 出厂日期
|
|
|
+ */
|
|
|
+ @Excel(name = "出厂日期", width = 15, format = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @ApiModelProperty(value = "出厂日期")
|
|
|
+ private Date productionDate;
|
|
|
+ /**
|
|
|
+ * 使用年限
|
|
|
+ */
|
|
|
+ @Excel(name = "使用年限", width = 15)
|
|
|
+ @ApiModelProperty(value = "使用年限")
|
|
|
+ private Integer serviceLife;
|
|
|
+ /**
|
|
|
+ * 预计报废日期
|
|
|
+ */
|
|
|
+ @Excel(name = "预计报废日期", width = 15, format = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @ApiModelProperty(value = "预计报废日期")
|
|
|
+ private Date expectedDiscardDate;
|
|
|
+ /**
|
|
|
+ * 负责人
|
|
|
+ */
|
|
|
+ @Excel(name = "负责人", width = 15)
|
|
|
+ @ApiModelProperty(value = "负责人")
|
|
|
+ private String director;
|
|
|
+ /**
|
|
|
+ * 使用状态
|
|
|
+ */
|
|
|
+ @Excel(name = "使用状态", width = 15)
|
|
|
+ @ApiModelProperty(value = "使用状态")
|
|
|
+ private Integer usageStatus;
|
|
|
+ /**
|
|
|
+ * 位置
|
|
|
+ */
|
|
|
+ @Excel(name = "位置", width = 15)
|
|
|
+ @ApiModelProperty(value = "位置")
|
|
|
+ private String location;
|
|
|
+ /**
|
|
|
+ * 上次检验日期
|
|
|
+ */
|
|
|
+ @Excel(name = "上次检验日期", width = 15, format = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @ApiModelProperty(value = "上次检验日期")
|
|
|
+ private Date lastInspectionDate;
|
|
|
+ /**
|
|
|
+ * 下次检验日期
|
|
|
+ */
|
|
|
+ @Excel(name = "下次检验日期", width = 15, format = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @ApiModelProperty(value = "下次检验日期")
|
|
|
+ private Date nextInspectionDate;
|
|
|
+ /**
|
|
|
+ * 关联台账
|
|
|
+ */
|
|
|
+ @Excel(name = "关联台账", width = 15)
|
|
|
+ @ApiModelProperty(value = "关联台账")
|
|
|
+ private Integer associatedAccounts;
|
|
|
+ /**
|
|
|
+ * 是否有爆破片
|
|
|
+ */
|
|
|
+ @Excel(name = "是否有爆破片", width = 15)
|
|
|
+ @ApiModelProperty(value = "是否有爆破片")
|
|
|
+ private Integer hasBurstDisc;
|
|
|
+ /**
|
|
|
+ * 爆破片上次更换时间
|
|
|
+ */
|
|
|
+ @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 lastBurstDiscReplacementDate;
|
|
|
+ /**
|
|
|
+ * 爆破片下次更换时间
|
|
|
+ */
|
|
|
+ @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 nextBurstDiscReplacementDate;
|
|
|
+ /**
|
|
|
+ * 报废时间
|
|
|
+ */
|
|
|
+ @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 scrapTime;
|
|
|
+ /**
|
|
|
+ * 报废原因
|
|
|
+ */
|
|
|
+ @Excel(name = "报废原因", width = 15)
|
|
|
+ @ApiModelProperty(value = "报废原因")
|
|
|
+ private String scrapReason;
|
|
|
+ /**
|
|
|
+ * 备注
|
|
|
+ */
|
|
|
+ @Excel(name = "备注", width = 15)
|
|
|
+ @ApiModelProperty(value = "备注")
|
|
|
+ private String remark;
|
|
|
+}
|