package org.jeecg.modules.mdc.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.util.Date;
|
|
/**
|
* @Description: 采集设备表
|
* @Author: liuS
|
* @Date: 2023-03-23
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("Equipment")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value = "Equipment对象", description = "采集设备表")
|
public class Equipment {
|
|
/**
|
* 系统id
|
*/
|
@Excel(name = "系统id", width = 15)
|
@ApiModelProperty(value = "系统id")
|
private String beltlineid;
|
/**
|
* 设备编码
|
*/
|
@Excel(name = "设备编码", width = 15)
|
@ApiModelProperty(value = "设备编码")
|
@TableId(type = IdType.AUTO)
|
private String equipmentid;
|
/**
|
* 工厂id
|
*/
|
@Excel(name = "工厂id", width = 15)
|
@ApiModelProperty(value = "工厂id")
|
private String factoryid;
|
/**
|
* 系统名称
|
*/
|
@Excel(name = "系统名称", width = 15)
|
@ApiModelProperty(value = "系统名称")
|
private String beltlinename;
|
/**
|
* 设备类型
|
*/
|
@Excel(name = "设备类型", width = 15)
|
@ApiModelProperty(value = "设备类型")
|
private String equipmentmodel;
|
/**
|
* 设备名称
|
*/
|
@Excel(name = "设备名称", width = 15)
|
@ApiModelProperty(value = "设备名称")
|
private String equipmentname;
|
/**
|
* 设备分类
|
*/
|
@Excel(name = "设备分类", width = 15)
|
@ApiModelProperty(value = "设备分类")
|
private String equipmentclassify;
|
/**
|
* 设备位置
|
*/
|
@Excel(name = "设备位置", width = 15)
|
@ApiModelProperty(value = "设备位置")
|
private String equipmentlocation;
|
/**
|
* 报警号
|
*/
|
@Excel(name = "报警号", width = 15)
|
@ApiModelProperty(value = "报警号")
|
private String alarm;
|
/**
|
* 采集时间
|
*/
|
@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 collecttime;
|
/**
|
* 设备类型
|
*/
|
@Excel(name = "设备类型", width = 15)
|
@ApiModelProperty(value = "设备类型")
|
private String equipmenttype;
|
/**
|
* 固定位置
|
*/
|
@Excel(name = "固定位置", width = 15)
|
@ApiModelProperty(value = "固定位置")
|
private String fixlocation;
|
/**
|
* 实时状态
|
*/
|
@Excel(name = "实时状态", width = 15)
|
@ApiModelProperty(value = "实时状态")
|
private Integer oporation;
|
/**
|
* 设备数据
|
*/
|
@Excel(name = "设备数据", width = 15)
|
@ApiModelProperty(value = "设备数据")
|
private Object equipmentdata;
|
/**
|
* 设备ip
|
*/
|
@Excel(name = "设备ip", width = 15)
|
@ApiModelProperty(value = "设备ip")
|
private String equipmentip;
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**
|
* 报警号
|
*/
|
@Excel(name = "报警号", width = 15)
|
@ApiModelProperty(value = "报警号")
|
private String alarmno;
|
/**
|
* 报警内容
|
*/
|
@Excel(name = "报警内容", width = 15)
|
@ApiModelProperty(value = "报警内容")
|
private String alarmcontent;
|
/**
|
* 产品数量
|
*/
|
@Excel(name = "产品数量", width = 15)
|
@ApiModelProperty(value = "产品数量")
|
private String productcount;
|
/**
|
* 驱动类型
|
*/
|
@Excel(name = "驱动类型", width = 15)
|
@ApiModelProperty(value = "驱动类型")
|
private String drivetype;
|
/**
|
* 数据端口
|
*/
|
@Excel(name = "数据端口", width = 15)
|
@ApiModelProperty(value = "数据端口")
|
private String dataport;
|
/**
|
* 控制系统
|
*/
|
@Excel(name = "控制系统", width = 15)
|
@ApiModelProperty(value = "控制系统")
|
private String controlsystem;
|
/**
|
* 表名
|
*/
|
@Excel(name = "表名", width = 15)
|
@ApiModelProperty(value = "表名")
|
private String savetablename;
|
/**
|
* 重要性
|
*/
|
@Excel(name = "重要性", width = 15)
|
@ApiModelProperty(value = "重要性")
|
private Integer isimportant;
|
/**
|
* 维护状态
|
*/
|
@Excel(name = "维护状态", width = 15)
|
@ApiModelProperty(value = "维护状态")
|
private Integer maintaintype;
|
/**
|
* 高低控制
|
*/
|
@Excel(name = "高低控制", width = 15)
|
@ApiModelProperty(value = "高低控制")
|
private String highlowcontrol;
|
}
|