package com.sheep.gamegroup.model.entity;

/**
 * Created by ljy on 2018/3/18.
 */

public class GridViewEntity {

    public GridViewEntity(boolean selectState, String value) {
        this.selectState = selectState;
        this.value = value;
    }

    public GridViewEntity(boolean selectState, int id, String name) {
        this.selectState = selectState;
        this.id = id;
        this.name = name;
    }

    public GridViewEntity() {
    }

    private boolean selectState;
    private String value;

    private int id;// -1:全部
    private String name;

    public int getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

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

    public boolean isSelectState() {
        return selectState;
    }

    public void setSelectState(boolean selectState) {
        this.selectState = selectState;
    }

    public String getValue() {
        return value == null? "": value;
    }

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