package net.vtstar.zhongtong.avi.gateway.painting.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.vtstar.scada.base.gather.domain.EquipmentData;
import net.vtstar.user.search.Search;
import net.vtstar.zhongtong.avi.global.web.Show;
import net.vtstar.zhongtong.avi.global.web.domain.enums.FieldType;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Search(code = "DRYING_ROOM")
@ApiModel(value = "涂装--烘干室温度", description = "烘干室监控数据表")
@Table(name = "eqp_data_drying_room_temp")
public class DryingRoomTempMachine extends EquipmentData {

    @Column(name = "eqp_code")
    @ApiModelProperty(notes = "设备编号")
    private String equipCode;

    @Column(name = "temperature")
    @ApiModelProperty(notes = "温度")
    private Float temperature;

    @ApiModelProperty(notes = "燃烧机状态1")
    private Integer combustionMachineState1;

    @ApiModelProperty(notes = "燃烧机状态2")
    private Integer combustionMachineState2;

    @ApiModelProperty(notes = "燃烧机状态3")
    private Integer combustionMachineState3;

    @Search
    @Show(label = "采集时间",dataType = FieldType.DATETIME)
    @Column(name = "create_time")
    private Date createTime;

    @Show(label = "设备位置")
    @Column(name = "equip_factory")
    @ApiModelProperty(notes = "设备位置")
    private String equipFactory;

    @Id
    private Long id;

    @ApiModelProperty("采集状态")
    @Column(name = "status")
    private String status;

}
