You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
2.7 KiB
Java
116 lines
2.7 KiB
Java
package com.rehome.zhdcoa.bean;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
import java.util.List;
|
|
|
|
public class CpxxBean {
|
|
private List<RowsBean> Rows;
|
|
public List<RowsBean> getRows() {
|
|
return Rows;
|
|
}
|
|
public void setRows(List<RowsBean> Rows) {
|
|
this.Rows = Rows;
|
|
}
|
|
public static class RowsBean implements Comparable<RowsBean>, Parcelable {
|
|
|
|
private String value;
|
|
private String text;
|
|
private String sfzy;
|
|
private boolean check;
|
|
private int flag = 0;
|
|
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public String getText() {
|
|
return text;
|
|
}
|
|
|
|
public void setText(String text) {
|
|
this.text = text;
|
|
}
|
|
|
|
public String getSfzy() {
|
|
return sfzy;
|
|
}
|
|
|
|
public void setSfzy(String sfzy) {
|
|
this.sfzy = sfzy;
|
|
}
|
|
|
|
public boolean isCheck() {
|
|
return check;
|
|
}
|
|
|
|
public void setCheck(boolean check) {
|
|
this.check = check;
|
|
}
|
|
|
|
public int getFlag() {
|
|
return flag;
|
|
}
|
|
|
|
public void setFlag(int flag) {
|
|
this.flag = flag;
|
|
}
|
|
|
|
public RowsBean(String text, int flag) {
|
|
this.text = text;
|
|
this.flag = flag;
|
|
}
|
|
|
|
|
|
public RowsBean() {
|
|
}
|
|
|
|
@Override
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public void writeToParcel(Parcel dest, int flags) {
|
|
dest.writeString(this.value);
|
|
dest.writeString(this.text);
|
|
dest.writeString(this.sfzy);
|
|
dest.writeByte(this.check ? (byte) 1 : (byte) 0);
|
|
dest.writeInt(this.flag);
|
|
}
|
|
protected RowsBean(Parcel in) {
|
|
this.value = in.readString();
|
|
this.text = in.readString();
|
|
this.sfzy = in.readString();
|
|
this.check = in.readByte() != 0;
|
|
this.flag = in.readInt();
|
|
}
|
|
|
|
public static final Creator<RowsBean> CREATOR = new Creator<RowsBean>() {
|
|
@Override
|
|
public RowsBean createFromParcel(Parcel source) {
|
|
return new RowsBean(source);
|
|
}
|
|
|
|
@Override
|
|
public RowsBean[] newArray(int size) {
|
|
return new RowsBean[size];
|
|
}
|
|
};
|
|
@Override
|
|
public int compareTo(RowsBean rowsBean) {
|
|
|
|
if (rowsBean.flag > this.flag) {
|
|
return 1;
|
|
} else {
|
|
return -1;
|
|
}
|
|
}
|
|
}
|
|
}
|