[Modify]修改配置

This commit is contained in:
15876
2023-03-02 14:50:39 +08:00
parent 97f80bdad4
commit 619ae08a6d
3 changed files with 2 additions and 38 deletions

View File

@@ -1,36 +0,0 @@
package com.yizhuan.xchat_android_core.family.bean;
import com.google.gson.Gson;
import java.io.Serializable;
import io.realm.RealmObject;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author jack
* @Description
* @Date 2018/5/24
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class FamilyInfoInUserInfo extends RealmObject implements Serializable {
private String familyId;
private String familyName;
private String familyIcon;
private String memberCount;//家族成员数
/**
* 转换成 FamilyInfo
* @return
*/
public FamilyInfo toFamilyInfo(){
String json = new Gson().toJson(this);
return new Gson().fromJson(json,FamilyInfo.class);
}
}