package com.bjzc.bhzhgd.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ruihong on 2018/5/10.
 */

public class SetSbModel implements Parcelable {

    private String sbId;
    private String value;
    private Boolean statu;

    public String getSbId() {
        return sbId;
    }

    public void setSbId(String sbId) {
        this.sbId = sbId;
    }

    public String getValue() {
        return value;
    }

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

    public Boolean getStatu() {
        return statu;
    }

    public void setStatu(Boolean statu) {
        this.statu = statu;
    }

    public SetSbModel() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.sbId);
        dest.writeString(this.value);
        dest.writeValue(this.statu);
    }

    protected SetSbModel(Parcel in) {
        this.sbId = in.readString();
        this.value = in.readString();
        this.statu = (Boolean) in.readValue(Boolean.class.getClassLoader());
    }

    public static final Creator<SetSbModel> CREATOR = new Creator<SetSbModel>() {
        @Override
        public SetSbModel createFromParcel(Parcel source) {
            return new SetSbModel(source);
        }

        @Override
        public SetSbModel[] newArray(int size) {
            return new SetSbModel[size];
        }
    };
}
