You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
FONGMITV/app/src/main/java/com/fongmi/bear/bean/Class.java

37 lines
760 B

package com.fongmi.bear.bean;
import com.google.gson.annotations.SerializedName;
public class Class {
@SerializedName("type_id")
private String typeId;
@SerializedName("type_name")
private String typeName;
private boolean select;
public String getTypeId() {
return typeId;
}
public String getTypeName() {
return typeName;
}
public boolean isSelect() {
return select;
}
public void setSelect(boolean select) {
this.select = select;
}
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (!(obj instanceof Class)) return false;
Class it = (Class) obj;
return getTypeId().equals(it.getTypeId());
}
}