修改交友布局
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
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;//礼物数量
|
||||
|
||||
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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user