puzhibing
2023-11-25 53e7558400dcacecdce70e39ebfe1727740f9296
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package com.dsh.course.model;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.math.BigDecimal;
 
/**
 * 购课记录列表VO
 */
@Data
public class CoursePackagePaymentVO {
    /**
     * {title: 'ID', field: 'id', visible: false, align: 'center', valign: 'middle'},
     * {title: '所在省市', field: 'provinceAndCity', visible: role==1?true:false, align: 'center', valign: 'middle'},
     * {title:  '门店名称', field: 'storeName', visible: true, align: 'center', valign: 'middle'},
     * {title:  '课包类型', field: 'coursePackageType', visible: true, align: 'center', valign: 'middle'},
     * {title:  '课包名称', field: 'coursePackage', visible: true, align: 'center', valign: 'middle'},
     * {title:  '购买用户', field: 'payUser', visible: true, align: 'center', valign: 'middle'},
     * {title:  '联系方式', field: 'phone', visible: true, align: 'center', valign: 'middle'},
     * {title:  '购课学员', field: 'payStudent', visible: true, align: 'center', valign: 'middle'},
     * {title:  '购买方式', field: 'buyType', visible: true, align: 'center', valign: 'middle'},
     * {title:  '支付方式', field: 'payType', visible: true, align: 'center', valign: 'middle',
     * formatter:function (data) {return{1:"微信",2:"支付宝",3:"玩湃币",4:"积分",5:"积分+微信",6:"积分+支付宝"}[data]}},
     * {title:  '总金额', field: 'originalPrice'+'元', visible: true, align: 'center', valign: 'middle'},
     * {title:  '优惠金额', field: 'discountAmount'+'元', visible: true, align: 'center', valign: 'middle'},
     * {title:  '支付价格', field: 'cashPayment'+'元', visible: true, align: 'center', valign: 'middle'},
     * {title:  '支付状态', field: 'payStatus', visible: true, align: 'center', valign: 'middle'},
     * {title:  '赠送课时', field: 'giftClassHours', visible: true, align: 'center', valign: 'middle'},
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private String provinceAndCity;
    // 门店id
    private Integer storeId;
    private String storeName;
    private Integer coursePackageTypeId;
    private String coursePackageType;
    private String coursePackage;
    private Integer coursePackageId;
    // 用户id
    private Integer appUserId;
    private String payUser;
    private String phone;
    // 学员id
    private Integer studentId;
    private String payStudent;
    private Integer payType;
    private BigDecimal originalPrice;
    // 优惠券id
    private Long userCouponId;
    // 优惠金额
    private BigDecimal discountAmount;
    // 支付状态
    private Integer payStatus;
    private Integer giftClassHours;
    // 1= 用户支付 2= 管理员支付
    private Integer payUserType;
    // 支付用户id
    private Integer payUserId;
    // 支付金额
    private BigDecimal payMoney;
    // 现金支付金额
    private BigDecimal cashPayment;
    // 玩湃币价格/积分
    private Integer playPaiCoin;
    // 购买方式 1 线下 2线上 3折扣
    private Integer buyType;
    // 当状态为手动支付时使用 用于显示手动支付时显示操作人
    private String buyTypeName;
}