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;

@Entity(nameInDb = "DB_BUILD_LOG_DATA")
@SuppressWarnings("serial")
public class BuildLogBean {
    public static final int BUILD_LOG_OPEN_STATE = 1;
    public static final int BUILD_LOG_OFF_STATE = 2;

    @Id @NotNull @Unique
    private String id;
    private String build_id;
    private String time;
    private int open_state;  //1：开启 2：关闭
    private int state;
    private String user_id;
    @Generated(hash = 1886328887)
    public BuildLogBean(@NotNull String id, String build_id, String time,
            int open_state, int state, String user_id) {
        this.id = id;
        this.build_id = build_id;
        this.time = time;
        this.open_state = open_state;
        this.state = state;
        this.user_id = user_id;
    }
    @Generated(hash = 1054874363)
    public BuildLogBean() {
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getBuild_id() {
        return this.build_id;
    }
    public void setBuild_id(String build_id) {
        this.build_id = build_id;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public int getOpen_state() {
        return this.open_state;
    }
    public void setOpen_state(int open_state) {
        this.open_state = open_state;
    }
    public int getState() {
        return this.state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public String getUser_id() {
        return this.user_id;
    }
    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }
    
}
