65 lines
1.1 KiB
Java
65 lines
1.1 KiB
Java
package com.yunbao.faceunity.entity;
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
import com.yunbao.faceunity.data.FaceParam;
|
|
|
|
/**
|
|
* 道具
|
|
* @property iconId Int 图标
|
|
* @property path String? Animoji 道具路径
|
|
* @constructor
|
|
*/
|
|
public class AnimojiBean extends BaseBean{
|
|
private int iconId;
|
|
private String path;
|
|
|
|
public AnimojiBean(int iconId, String path) {
|
|
this.iconId = iconId;
|
|
this.path = path;
|
|
}
|
|
|
|
public int getIconId() {
|
|
return iconId;
|
|
}
|
|
|
|
public void setIconId(int iconId) {
|
|
this.iconId = iconId;
|
|
}
|
|
|
|
public String getPath() {
|
|
return path;
|
|
}
|
|
|
|
public void setPath(String path) {
|
|
this.path = path;
|
|
}
|
|
|
|
@NonNull
|
|
@Override
|
|
public String getKey() {
|
|
return path;
|
|
}
|
|
|
|
@Override
|
|
public int getDesRes() {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public int getImageRes() {
|
|
return iconId;
|
|
}
|
|
|
|
@Override
|
|
public int getBeanType() {
|
|
return FaceParam.FACE_ANIMOJI;
|
|
}
|
|
|
|
@NonNull
|
|
@Override
|
|
public ModelAttributeData getModelAttributeData() {
|
|
return null;
|
|
}
|
|
}
|