SysStructSpotRelation.java 2.3 KB
package com.skua.modules.remotecontrol.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;

/**
 * 点表定制化配置表
 */
@Data
@TableName("sys_struct_spot_relation")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_struct_spot_relation对象", description="点表定制化配置表")
public class SysStructSpotRelation {

	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**服务ID*/
	@Excel(name = "服务ID", width = 15)
    @ApiModelProperty(value = "服务ID")
	private String serviceId;
	/**点信息id*/
	@Excel(name = "点信息id", width = 15)
    @ApiModelProperty(value = "点信息id")
	private String monitorId;
	/**点信息描述*/
	@Excel(name = "点信息描述", width = 15)
    @ApiModelProperty(value = "点信息描述")
	private String monitorName;
	/**构筑物id*/
	@Excel(name = "构筑物id", width = 15)
    @ApiModelProperty(value = "构筑物id")
	private String structId;
	/**所属厂id*/
	@Excel(name = "所属厂id", width = 15)
    @ApiModelProperty(value = "所属厂id")
	private String departId;
	/**设备id*/
	@Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
	private String equipId;
	/**1.总数据2.基本工艺数据3.设备状态4.详细工艺数据*/
	@Excel(name = "1.总数据2.基本工艺数据3.设备状态4.详细工艺数据", width = 15)
    @ApiModelProperty(value = "1.总数据2.基本工艺数据3.设备状态4.详细工艺数据")
	private String type;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
	private Integer contSort;
	@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;
}