Files
midi-android/moduleUtil/src/main/java/com/xscm/moduleutil/bean/RoonGiftModel.java

47 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.xscm.moduleutil.bean;
import lombok.Data;
/**
*@author qx
*@data 2025/6/12
*@description: 礼物
*/
@Data
public class RoonGiftModel {
private String gid;//礼物id
private String gift_name;//礼物名称
private String base_image;//礼物图片
private String gift_price;//礼物价格
private String gift_id;//礼物id
private String gift_bag_name;
private String rule;
private String rule_url;
private String title;
private String all_room_push;
private String special;
private String sort;
private String type;
private String child_type;
private String sold;
private String cardiac;
private boolean isChecked;
private boolean isSelected;
private boolean can_send_self;//是否能送自己
private int num;//礼物数量
private int activities_id;//4盲盒 5天空之境
private int gift_bag;//10天空之境 11岁月之城 12时空之巅
public boolean isCan_send_self() {
if ( isManghe()) {
return true;
}
return can_send_self;
}
public boolean isManghe() {
return type.equals("4") || type.equals("5") || type.equals("13");
}
}