package com.huimv.receiver.cloud.dao.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Data
@Table(name = "sys_threshold")
@Accessors(chain = true)
public class SysThresholdEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "farm_id", nullable = false)
    private Integer farmId;

    /**
     * 高温
     */
    @Column(name = "max_tem")
    private String maxTem;

    /**
     * 低温
     */
    @Column(name = "min_tem")
    private String minTem;

    /**
     * 高湿度
     */
    @Column(name = "max_hum")
    private String maxHum;

    /**
     * 低湿度
     */
    @Column(name = "min_hum")
    private String minHum;

    /**
     * 累计流量
     */
    @Column(name = "total_flow")
    private String totalFlow;

    /**
     * 化学需氧量
     */
    @Column(name = "COD")
    private String COD;

    /**
     * 氨氮
     */
    @Column(name = "ammonia")
    private String ammonia;

    /**
     * 氮
     */
    @Column(name = "nitrogen")
    private String nitrogen;

    /**
     * 磷
     */
    @Column(name = "phosphorus")
    private String phosphorus;

    /**
     * PH值
     */
    @Column(name = "ph")
    private String ph;

    /**
     * 瞬时流量
     */
    @Column(name = "flow")
    private String flow;

    /**
     * 天气高温
     */
    @Column(name = "weather_max_tem")
    private String weatherMaxTem;

    /**
     * 天气低温
     */
    @Column(name = "weather_min_tem")
    private String weatherMinTem;

    @Column(name = "bencon_value")
    private String benconValue;

    @Column(name = "bencon_time")
    private String benconTime;

}
