package com.tofly.ghrq_route.module.systemConfig.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/8/8.
 */

@Entity(nameInDb = "DB_SERVER_SYS_CONFIG")
public class ServerSysConfigBean {

    /**
     * id : F2BB2465B35A4A90BB32AFECD169B20D
     * key : 0010
     * value : 载货车（皮卡）
     * create_userid : 1
     * create_time : 2017-08-02 10:05:07
     * notes : 载货运输2345
     * start_date : null
     * end_date : null
     * forbid_delete : 0
     * icon : e3ee23d8-dfd7-4b99-8b84-e58a72a7c9ba.PNG
     */

    public static final String SYS_CONFIG_PHOTO_TYPE = "0011";

    @Id @NotNull @Unique
    private String id;
    private String key;
    private String value;
    private String create_userid;
    private String create_time;
    private String notes;
    private String start_date;
    private String end_date;
    private int forbid_delete;
    private String icon;

    @Generated(hash = 87422830)
    public ServerSysConfigBean(@NotNull String id, String key, String value,
                               String create_userid, String create_time, String notes,
                               String start_date, String end_date, int forbid_delete, String icon) {
        this.id = id;
        this.key = key;
        this.value = value;
        this.create_userid = create_userid;
        this.create_time = create_time;
        this.notes = notes;
        this.start_date = start_date;
        this.end_date = end_date;
        this.forbid_delete = forbid_delete;
        this.icon = icon;
    }

    @Generated(hash = 109939503)
    public ServerSysConfigBean() {
    }

    public String getId() {
        return id;
    }

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

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getCreate_userid() {
        return create_userid;
    }

    public void setCreate_userid(String create_userid) {
        this.create_userid = create_userid;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public String getEnd_date() {
        return end_date;
    }

    public void setEnd_date(String end_date) {
        this.end_date = end_date;
    }

    public int getForbid_delete() {
        return forbid_delete;
    }

    public void setForbid_delete(int forbid_delete) {
        this.forbid_delete = forbid_delete;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
