package com.tofly.ghrq_route.module.pipeAnalyze.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 lihualong on 2017/6/1.
 */

@Entity(nameInDb = "DB_MAP_FIELD_CONFIG")
public class FieldsBean {
    /**
     *  "id": 1613,
     *  "key": "气表（箱）",
     *  "value": "OBJECTID",
     *  "notes": "OBJECTID",
     *  "ulevel": "2",
     *  "sort": 98,
     *  "createTime": "2020-04-01 14:14:37",
     *  "createUser": 42
     */

    @Id @NotNull @Unique
    private String id;
    private String key;
    private String value;
    private String notes;
    private int sort;

    @Generated(hash = 1661879606)
    public FieldsBean(@NotNull String id, String key, String value, String notes,
            int sort) {
        this.id = id;
        this.key = key;
        this.value = value;
        this.notes = notes;
        this.sort = sort;
    }

    @Generated(hash = 1654616420)
    public FieldsBean() {
    }

    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 getNotes() {
        return notes;
    }

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

    public int getSort() {
        return sort;
    }

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