149 lines
5.7 KiB
Java
149 lines
5.7 KiB
Java
|
|
package com.xscm.moduleutil.bean;
|
||
|
|
|
||
|
|
import com.chad.library.adapter.base.entity.MultiItemEntity;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
import lombok.Data;
|
||
|
|
|
||
|
|
public class RoomDetails {
|
||
|
|
/**
|
||
|
|
* list : [{"total_price":416,"total_earning":83.2,"time":"2025-03-07","list":[{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"用户10137552","get_user_nickname":"用户10137840","gift_name":"退烧药","gift_number":"3","total_price":"297.00","time":"2025-03-07","earning":59.4},{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"用户10137552","get_user_nickname":"用户10137840","gift_name":"征婚帖","gift_number":"1","total_price":"19.00","time":"2025-03-07","earning":3.8},{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"用户10137552","get_user_nickname":"用户10137840","gift_name":"香槟","gift_number":"1","total_price":"99.00","time":"2025-03-07","earning":19.8},{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"钊","get_user_nickname":"用户10137840","gift_name":"小心心","gift_number":"1","total_price":"1.00","time":"2025-03-07","earning":0.2}]}]
|
||
|
|
* total_amount : 416
|
||
|
|
* total_earning : 83.2
|
||
|
|
* room_name : 钊的房间
|
||
|
|
* page : <div> </div>
|
||
|
|
*/
|
||
|
|
|
||
|
|
private double total_amount;
|
||
|
|
private double total_earning;
|
||
|
|
private String room_name;
|
||
|
|
private String page;
|
||
|
|
private List<RoomDetailsList> list;
|
||
|
|
|
||
|
|
public double getTotal_amount() {
|
||
|
|
return total_amount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTotal_amount(double total_amount) {
|
||
|
|
this.total_amount = total_amount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public double getTotal_earning() {
|
||
|
|
return total_earning;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTotal_earning(double total_earning) {
|
||
|
|
this.total_earning = total_earning;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getRoom_name() {
|
||
|
|
return room_name;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setRoom_name(String room_name) {
|
||
|
|
this.room_name = room_name;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getPage() {
|
||
|
|
return page;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPage(String page) {
|
||
|
|
this.page = page;
|
||
|
|
}
|
||
|
|
|
||
|
|
public List<RoomDetailsList> getList() {
|
||
|
|
return list;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setList(List<RoomDetailsList> list) {
|
||
|
|
this.list = list;
|
||
|
|
}
|
||
|
|
|
||
|
|
public static class RoomDetailsList implements MultiItemEntity {
|
||
|
|
/**
|
||
|
|
* total_price : 416
|
||
|
|
* total_earning : 83.2
|
||
|
|
* time : 2025-03-07
|
||
|
|
* list : [{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"用户10137552","get_user_nickname":"用户10137840","gift_name":"退烧药","gift_number":"3","total_price":"297.00","time":"2025-03-07","earning":59.4},{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"用户10137552","get_user_nickname":"用户10137840","gift_name":"征婚帖","gift_number":"1","total_price":"19.00","time":"2025-03-07","earning":3.8},{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"用户10137552","get_user_nickname":"用户10137840","gift_name":"香槟","gift_number":"1","total_price":"99.00","time":"2025-03-07","earning":19.8},{"user_head_picture":"https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png","user_nickname":"钊","get_user_nickname":"用户10137840","gift_name":"小心心","gift_number":"1","total_price":"1.00","time":"2025-03-07","earning":0.2}]
|
||
|
|
*/
|
||
|
|
private int itemViewType = 1;
|
||
|
|
private double total_price;
|
||
|
|
private double total_earning;
|
||
|
|
private String time;
|
||
|
|
private List<RoomDetail> list;
|
||
|
|
|
||
|
|
public double getTotal_price() {
|
||
|
|
return total_price;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTotal_price(double total_price) {
|
||
|
|
this.total_price = total_price;
|
||
|
|
}
|
||
|
|
|
||
|
|
public double getTotal_earning() {
|
||
|
|
return total_earning;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTotal_earning(double total_earning) {
|
||
|
|
this.total_earning = total_earning;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getTime() {
|
||
|
|
return time;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTime(String time) {
|
||
|
|
this.time = time;
|
||
|
|
}
|
||
|
|
|
||
|
|
public List<RoomDetail> getList() {
|
||
|
|
return list;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setList(List<RoomDetail> list) {
|
||
|
|
this.list = list;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setItemViewType(int itemViewType) {
|
||
|
|
this.itemViewType = itemViewType;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public int getItemType() {
|
||
|
|
return itemViewType;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Data
|
||
|
|
public static class RoomDetail implements MultiItemEntity {
|
||
|
|
/**
|
||
|
|
* user_head_picture : https://osschumeng.oss-cn-beijing.aliyuncs.com/admin_images/67932634b1555.png
|
||
|
|
* user_nickname : 用户10137552
|
||
|
|
* get_user_nickname : 用户10137840
|
||
|
|
* gift_name : 退烧药
|
||
|
|
* gift_number : 3
|
||
|
|
* total_price : 297.00
|
||
|
|
* time : 2025-03-07
|
||
|
|
* earning : 59.4
|
||
|
|
*/
|
||
|
|
private int itemViewType = 2;
|
||
|
|
private String sender_nickname;
|
||
|
|
private String sender_avatar;
|
||
|
|
private String receive_nickname;
|
||
|
|
private String receive_avatar;
|
||
|
|
private String gift_name;
|
||
|
|
private int number;
|
||
|
|
private double total_price;
|
||
|
|
private String time;
|
||
|
|
private double earning;
|
||
|
|
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public int getItemType() {
|
||
|
|
return itemViewType;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|