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

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

@Entity
@Table(name = "env_hour")
public class EnvHourEntity implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @Column(name = "qn")
    private String qn;

    @Column(name = "st")
    private String st;

    @Column(name = "cn")
    private String cn;

    @Column(name = "mn")
    private String mn;

    @Column(name = "datetime")
    private Timestamp datetime;

    @Column(name = "hxxyl_zx")
    private String hxxylZx;

    @Column(name = "hxxyl_zd")
    private String hxxylZd;

    @Column(name = "hxxyl_pj")
    private String hxxylPj;

    @Column(name = "hxxylzt")
    private String hxxylzt;

    @Column(name = "ad_zx")
    private String adZx;

    @Column(name = "ad_zd")
    private String adZd;

    @Column(name = "ad_pj")
    private String adPj;

    @Column(name = "adzt")
    private String adzt;

    @Column(name = "ph_zx")
    private String phZx;

    @Column(name = "ph_zd")
    private String phZd;

    @Column(name = "ph_pj")
    private String phPj;

    @Column(name = "phzt")
    private String phzt;

    @Column(name = "ws_zx")
    private String wsZx;

    @Column(name = "ws_zd")
    private String wsZd;

    @Column(name = "ws_pj")
    private String wsPj;

    @Column(name = "wszt")
    private String wszt;

    @Column(name = "add_time")
    private Timestamp addTime;

    @Column(name = "farm_id")
    private Integer farmId;

    public Integer getFarmId() {
        return farmId;
    }

    @Override
    public String toString() {
        return "EnvHourEntity{" +
                "id=" + id +
                ", qn='" + qn + '\'' +
                ", st='" + st + '\'' +
                ", cn='" + cn + '\'' +
                ", mn='" + mn + '\'' +
                ", datetime=" + datetime +
                ", hxxylZx='" + hxxylZx + '\'' +
                ", hxxylZd='" + hxxylZd + '\'' +
                ", hxxylPj='" + hxxylPj + '\'' +
                ", hxxylzt='" + hxxylzt + '\'' +
                ", adZx='" + adZx + '\'' +
                ", adZd='" + adZd + '\'' +
                ", adPj='" + adPj + '\'' +
                ", adzt='" + adzt + '\'' +
                ", phZx='" + phZx + '\'' +
                ", phZd='" + phZd + '\'' +
                ", phPj='" + phPj + '\'' +
                ", phzt='" + phzt + '\'' +
                ", wsZx='" + wsZx + '\'' +
                ", wsZd='" + wsZd + '\'' +
                ", wsPj='" + wsPj + '\'' +
                ", wszt='" + wszt + '\'' +
                ", addTime=" + addTime +
                ", farmId=" + farmId +
                '}';
    }

    public void setFarmId(Integer farmId) {
        this.farmId = farmId;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setQn(String qn) {
        this.qn = qn;
    }

    public String getQn() {
        return qn;
    }

    public void setSt(String st) {
        this.st = st;
    }

    public String getSt() {
        return st;
    }

    public void setCn(String cn) {
        this.cn = cn;
    }

    public String getCn() {
        return cn;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public String getMn() {
        return mn;
    }

    public void setDatetime(Timestamp datetime) {
        this.datetime = datetime;
    }

    public Timestamp getDatetime() {
        return datetime;
    }

    public void setHxxylZx(String hxxylZx) {
        this.hxxylZx = hxxylZx;
    }

    public String getHxxylZx() {
        return hxxylZx;
    }

    public void setHxxylZd(String hxxylZd) {
        this.hxxylZd = hxxylZd;
    }

    public String getHxxylZd() {
        return hxxylZd;
    }

    public void setHxxylPj(String hxxylPj) {
        this.hxxylPj = hxxylPj;
    }

    public String getHxxylPj() {
        return hxxylPj;
    }

    public void setHxxylzt(String hxxylzt) {
        this.hxxylzt = hxxylzt;
    }

    public String getHxxylzt() {
        return hxxylzt;
    }

    public void setAdZx(String adZx) {
        this.adZx = adZx;
    }

    public String getAdZx() {
        return adZx;
    }

    public void setAdZd(String adZd) {
        this.adZd = adZd;
    }

    public String getAdZd() {
        return adZd;
    }

    public void setAdPj(String adPj) {
        this.adPj = adPj;
    }

    public String getAdPj() {
        return adPj;
    }

    public void setAdzt(String adzt) {
        this.adzt = adzt;
    }

    public String getAdzt() {
        return adzt;
    }

    public void setPhZx(String phZx) {
        this.phZx = phZx;
    }

    public String getPhZx() {
        return phZx;
    }

    public void setPhZd(String phZd) {
        this.phZd = phZd;
    }

    public String getPhZd() {
        return phZd;
    }

    public void setPhPj(String phPj) {
        this.phPj = phPj;
    }

    public String getPhPj() {
        return phPj;
    }

    public void setPhzt(String phzt) {
        this.phzt = phzt;
    }

    public String getPhzt() {
        return phzt;
    }

    public void setWsZx(String wsZx) {
        this.wsZx = wsZx;
    }

    public String getWsZx() {
        return wsZx;
    }

    public void setWsZd(String wsZd) {
        this.wsZd = wsZd;
    }

    public String getWsZd() {
        return wsZd;
    }

    public void setWsPj(String wsPj) {
        this.wsPj = wsPj;
    }

    public String getWsPj() {
        return wsPj;
    }

    public void setWszt(String wszt) {
        this.wszt = wszt;
    }

    public String getWszt() {
        return wszt;
    }

    public void setAddTime(Timestamp addTime) {
        this.addTime = addTime;
    }

    public Timestamp getAddTime() {
        return addTime;
    }

}
