AjhSafeLocation.java 3.4 KB
package com.skua.modules.ajh.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 安全管理风险点位配置
 */
@Data
@TableName("ajh_safe_location")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ajh_safe_location对象", description="安全管理风险点位配置")
public class AjhSafeLocation {

	/**主键ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键ID")
	private String id;
	/**画面id*/
	@Excel(name = "画面id", width = 15)
    @ApiModelProperty(value = "画面id")
	private String manageId;
	/**指标名称*/
	@Excel(name = "指标名称", width = 15)
    @ApiModelProperty(value = "指标名称")
	private String monitorName;
	/**距离顶部距离*/
	@Excel(name = "距离顶部距离", width = 15)
    @ApiModelProperty(value = "距离顶部距离")
	private String monitorTop;
	/**距离左侧距离*/
	@Excel(name = "距离左侧距离", width = 15)
    @ApiModelProperty(value = "距离左侧距离")
	private String monitorLeft;
	/**画面宽度*/
	@Excel(name = "画面宽度", width = 15)
    @ApiModelProperty(value = "画面宽度")
	private String monitorWidth;
	/**画面高度*/
	@Excel(name = "画面高度", width = 15)
    @ApiModelProperty(value = "画面高度")
	private String monitorHeight;
	/**构筑物id*/
	@Excel(name = "构筑物id", width = 15)
    @ApiModelProperty(value = "构筑物id")
	private String structId;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**创建人员*/
	@Excel(name = "创建人员", width = 15)
    @ApiModelProperty(value = "创建人员")
	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 Date createTime;
	/**修改人员*/
	@Excel(name = "修改人员", width = 15)
    @ApiModelProperty(value = "修改人员")
	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 Date updateTime;
	/**创建机构*/
	@Excel(name = "创建机构", width = 15)
    @ApiModelProperty(value = "创建机构")
	private String createDept;
	/**创建集团*/
	@Excel(name = "创建集团", width = 15)
    @ApiModelProperty(value = "创建集团")
	private String createCmpy;
	/**标识*/
	@Excel(name = "标识", width = 15)
    @ApiModelProperty(value = "标识")
	private Integer delFlag;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
	private Integer monitorSort;
}