无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.dsh.guns.modular.system.model;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.util.Date;
 
@Data
public class SalesDetailVO {
    // 基础信息
    private Long id;                    // 主键ID[8]
    private String huiMinName;          // 玩湃惠民卡名称
    private Integer huiMinType;          // 玩湃惠民卡类型(1:年度卡,2:年内卡)
    private BigDecimal salesMoney;      // 售卖金额(精确计算)
    
    // 关联信息
    private Integer operatorId;
    private String operatorName;        // 所属运营商
    private String storeIds;
    private String storeName;           // 可用门店
    private Integer appUserId;           // 购买用户ID
    private String userName;            // 购买用户
    private String phone;               // 联系电话
    
    // 时间信息
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date paymentTime;  // 购买时间[1,8](@ref)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;      // 有效期
    
    // 使用信息
    private String studentName;         // 绑定人员
    private String studentId;          // 绑定人员ID
    private Integer useTimes;           // 已用次数
    private Integer status;             // 状态(1:使用中,2:已退款)
}