package com.yunbao.faceunity.entity; import androidx.annotation.NonNull; import com.yunbao.faceunity.data.FaceParam; /** * 道具 * @property iconId Int 图标 * @property path String 道具路径 * @property descId Int 道具提示 * @constructor */ public class PropBean extends BaseBean { private int iconId; private String path; private int descId; private int beanType; public PropBean(int iconId, String path,int beanType) { this.iconId = iconId; this.path = path; this.beanType=beanType; } public PropBean(int iconId, String path, int descId,int beanType) { this.iconId = iconId; this.path = path; this.descId = descId; this.beanType=beanType; } 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; } public int getDescId() { return descId; } public void setDescId(int descId) { this.descId = descId; } @NonNull @Override public String getKey() { return path; } @Override public int getDesRes() { return descId; } @Override public int getImageRes() { return iconId; } @Override public int getBeanType() { return beanType; } @NonNull @Override public ModelAttributeData getModelAttributeData() { return null; } }