|
|
@ -0,0 +1,38 @@ |
|
|
|
package com.example.demo.domain.vo.bean; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.NoArgsConstructor; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @program: gold-java |
|
|
|
* @ClassName BeanConsume |
|
|
|
* @description: |
|
|
|
* @author: Ethan |
|
|
|
* @create: 2025−07-30 10:41 |
|
|
|
* @Version 1.0 |
|
|
|
**/ |
|
|
|
@Data |
|
|
|
@NoArgsConstructor |
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true) |
|
|
|
public class BeanConsumeLive { |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
private String name; //姓名 |
|
|
|
private Integer jwcode; //精网号 |
|
|
|
private List<String> dept; //地区/分部 |
|
|
|
//类型 直播: 1. 发礼物2. 发红包3. 发福袋4. 付费直播5. 加入粉丝团6. 发弹幕 |
|
|
|
//文章: 1. 打赏2. 付费 |
|
|
|
private String type; //类型 |
|
|
|
private String gift; //礼物名称 |
|
|
|
private String beanNum; //金豆数量 |
|
|
|
private String channel; //频道名称(截取content) |
|
|
|
private String liveName; //直播间名称 |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai") |
|
|
|
private Date time; // 消费时间 (时间戳转化) |
|
|
|
private Integer payType; //支付方式(直播:12345,铁粉:7,文章:8) |
|
|
|
|
|
|
|
} |