35 lines
756 B
Java
35 lines
756 B
Java
package com.qxcm.moduleutil.bean;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class RoonGiftModel {
|
|
private String id;
|
|
private String name;
|
|
private String title;
|
|
private String all_room_push;
|
|
private String picture;
|
|
private String price;
|
|
private String special;
|
|
private String sort;
|
|
private String type;
|
|
private String child_type;
|
|
private String sold;
|
|
private String cardiac;
|
|
private boolean isChecked;
|
|
|
|
private boolean can_send_self;//是否能送自己
|
|
|
|
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");
|
|
}
|
|
}
|