[Modify]修改配置
This commit is contained in:
@@ -18,7 +18,7 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.4.2'
|
||||
classpath 'com.android.tools.build:gradle:7.3.1'
|
||||
//realm 数据库插件
|
||||
classpath "io.realm:realm-gradle-plugin:5.3.0"
|
||||
// android 资源混淆插件
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
|
Reference in New Issue
Block a user