package com.xydl.cac.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "thermal_config")
@ApiModel("热成像测温配置表")
public class ThermalConfig {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Integer id;

    @Column(name = "type_id")
    @ApiModelProperty("类型Id")
    private Integer typeId;

    @ApiModelProperty("最高温字段")
    @Column(name = "maxtemp")
    private String maxtemp;

    @ApiModelProperty("最低温字段")
    @Column(name = "mintemp")
    private String mintemp;
}