package com.tofly.ghrq_route.module.troubleType.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 mgq on 2017/3/7.
 */
@Entity(nameInDb = "DB_TROUBLE_TYPE")
public class TroubleTypeBean {
    @Id @NotNull @Unique
    private String id;
    private String name;
    private String notes;
    private String category;

    public TroubleTypeBean() {
    }

    @Generated(hash = 1980676723)
    public TroubleTypeBean(@NotNull String id, String name, String notes,
            String category) {
        this.id = id;
        this.name = name;
        this.notes = notes;
        this.category = category;
    }

    public String getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

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

    public String getNotes() {
        return notes;
    }

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

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
}
