EquipSpecialInfoStatistics.java 4.4 KB
package com.skua.modules.safe.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 com.skua.core.aspect.annotation.Dict;
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;

/**
 * 特种设备信息统计
 */
@Data
@TableName("equip_special_info_statistics")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="equip_special_info_statistics对象", description="特种设备信息统计")
public class EquipSpecialInfoStatistics {

	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**厂区*/
	@Excel(name = "厂区", width = 15,dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
    @ApiModelProperty(value = "厂区")
	@Dict(dicCode = "id",dictTable = "sys_depart",dicText = "depart_name")
	private String departId;
	/**类型*/
	@Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
	@Dict(dicCode = "special_equip_type")
	private String equipType;
	/**特种设备名称*/
	@Excel(name = "特种设备名称", width = 15)
    @ApiModelProperty(value = "特种设备名称")
	private String equipName;
	/**所在车间或单体*/
	@Excel(name = "所在车间或单体", width = 15)
    @ApiModelProperty(value = "所在车间或单体")
	private String equipAddress;
	/**生产厂家*/
	@Excel(name = "生产厂家", width = 15)
    @ApiModelProperty(value = "生产厂家")
	private String manufactor;
	/**型号*/
	@Excel(name = "型号", width = 15)
    @ApiModelProperty(value = "型号")
	private String equipModel;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
	private Integer equipCount;
	/**关键参数*/
	@Excel(name = "关键参数", width = 15)
    @ApiModelProperty(value = "关键参数")
	private String parameter;
	/**备案的政府机关*/
	@Excel(name = "备案的政府机关", width = 15)
    @ApiModelProperty(value = "备案的政府机关")
	private String organUnit;
	/**特种设备使用登记编号*/
	@Excel(name = "特种设备使用登记编号", width = 15)
    @ApiModelProperty(value = "特种设备使用登记编号")
	private String equipNum;
	/**设备负责人*/
	@Excel(name = "设备负责人", width = 15,dicCode = "id", dictTable = "sys_user", dicText = "realname")
    @ApiModelProperty(value = "设备负责人")
	@Dict(dicCode = "id",dictTable = "sys_user",dicText = "realname")
	private String userId;
	/**下次检测日期*/
	@Excel(name = "下次检测日期", width = 15)
    @ApiModelProperty(value = "下次检测日期")
	private String checkDate;
	/**设备照片*/
	@Excel(name = "设备照片", width = 15)
    @ApiModelProperty(value = "设备照片")
	private String equipPhoto;
	/**检测报告*/
	@Excel(name = "检测报告", width = 15)
    @ApiModelProperty(value = "检测报告")
	private String equipCheckReport;
	/**使用登记证*/
	@Excel(name = "使用登记证", width = 15)
    @ApiModelProperty(value = "使用登记证")
	private String equipUseProve;

	/**创建人Id*/
	@Excel(name = "创建人Id", width = 15)
    @ApiModelProperty(value = "创建人Id")
	private String createBy;
	/**创建时间*/
	@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 java.util.Date createTime;
	/**修改人Id*/
	@Excel(name = "修改人Id", width = 15)
    @ApiModelProperty(value = "修改人Id")
	private String updateBy;
	/**修改时间*/
	@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 java.util.Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
	private String createDept;
	/**所属公司*/
	@Excel(name = "所属公司", width = 15)
    @ApiModelProperty(value = "所属公司")
	private String createCmpy;
}