package com.example.iot_controlhost.model;

import com.google.gson.annotations.SerializedName;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * 智能模式温湿度模板
 * 数据库
 */
@Entity
public class AITHMode {
    @Id(autoincrement = true)
    private Long id;
    @SerializedName("Name")
    private String name;
    @SerializedName("Sort")
    private int sort;
    @SerializedName("ExpectedDays")
    private double expectedDays;
    @SerializedName("ExpectedHours")
    private double expectedHours;
    @SerializedName("TargetTemp")
    private double targetTemp;
    @SerializedName("TargetHumi")
    private double targetHumi;
    @SerializedName("TargetVentOpen")
    private int targetVentOpen;
    @SerializedName("TargetVentClose")
    private int targetVentClose;

    @Generated(hash = 653503392)
    public AITHMode(Long id, String name, int sort, double expectedDays,
            double expectedHours, double targetTemp, double targetHumi,
            int targetVentOpen, int targetVentClose) {
        this.id = id;
        this.name = name;
        this.sort = sort;
        this.expectedDays = expectedDays;
        this.expectedHours = expectedHours;
        this.targetTemp = targetTemp;
        this.targetHumi = targetHumi;
        this.targetVentOpen = targetVentOpen;
        this.targetVentClose = targetVentClose;
    }

    @Generated(hash = 617072932)
    public AITHMode() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public double getExpectedDays() {
        return expectedDays;
    }

    public void setExpectedDays(double expectedDays) {
        this.expectedDays = expectedDays;
    }

    public double getExpectedHours() {
        return expectedHours;
    }

    public void setExpectedHours(double expectedHours) {
        this.expectedHours = expectedHours;
    }

    public double getTargetTemp() {
        return targetTemp;
    }

    public void setTargetTemp(double targetTemp) {
        this.targetTemp = targetTemp;
    }

    public double getTargetHumi() {
        return targetHumi;
    }

    public void setTargetHumi(double targetHumi) {
        this.targetHumi = targetHumi;
    }

    public int getTargetVentOpen() {
        return targetVentOpen;
    }

    public void setTargetVentOpen(int targetVentOpen) {
        this.targetVentOpen = targetVentOpen;
    }

    public int getTargetVentClose() {
        return targetVentClose;
    }

    public void setTargetVentClose(int targetVentClose) {
        this.targetVentClose = targetVentClose;
    }

    public Long getId() {
        return this.id;
    }

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