package com.tofly.ghrq_route.module.buildManage.domain;

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

/**
 * Created by Amu on 2017/3/14.
 */

@Entity(nameInDb = "DB_BUILD_SIGN")
public class BuildSignDataBean {
    int planState = 0;   //0：未获取到  1：已获取到
    int hasPlan = 0;
    @Id @NotNull @Unique
    String planDate;      //当前计划的日期
    
    public BuildSignDataBean() {
    }

    @Generated(hash = 1974545172)
    public BuildSignDataBean(int planState, int hasPlan, @NotNull String planDate) {
        this.planState = planState;
        this.hasPlan = hasPlan;
        this.planDate = planDate;
    }

    public int getPlanState() {
        return this.planState;
    }

    public void setPlanState(int plan_state) {
        this.planState = plan_state;
    }

    public String getPlanDate() {
        return this.planDate;
    }

    public void setPlanDate(String planDate) {
        this.planDate = planDate;
    }

    public int getHasPlan() {
        return this.hasPlan;
    }

    public void setHasPlan(int hasPlan) {
        this.hasPlan = hasPlan;
    }
}
