InspectionConf.java 2.8 KB
package com.skua.modules.inspectionconf.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("inspection_conf")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="inspection_conf对象", description="巡检点配置表")
public class InspectionConf {

	/**指标id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "指标id")
	private String id;
	/**序号*/
	@Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
	private String serialNumber;
	/**巡检点位置*/
	@Excel(name = "巡检点位置", width = 15)
    @ApiModelProperty(value = "巡检点位置")
	private String offSet;
	/**巡检点角度*/
	@Excel(name = "巡检点角度", width = 15)
    @ApiModelProperty(value = "巡检点角度")
	private String rotater;
	/**巡检点是否停顿查看数据*/
	@Excel(name = "巡检点是否停顿查看数据", width = 15)
    @ApiModelProperty(value = "巡检点是否停顿查看数据")
	private String stop;
	/**所属厂区*/
	@Excel(name = "所属厂区", width = 15)
    @ApiModelProperty(value = "所属厂区")
	private String departId;
	/**创建人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 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 Date updateTime;
	/**删除标识,1有效,0删除*/
	@Excel(name = "删除标识,1有效,0删除", width = 15)
    @ApiModelProperty(value = "删除标识,1有效,0删除")
	private Integer delFlag;


	@Excel(name = "路线种类", width = 15)
	@ApiModelProperty(value = "路线种类")
	private String roadType;
}