Pu Zhibing
2026-01-04 ffcaaa7e21b3a33aa2f8321bc198b8586b27dc30
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package com.ruoyi.order.api.model;
 
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * 充电结算账单
 */
@Data
@TableName("t_charging_settlement_bill")
public class TChargingSettlementBill {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.NONE)
    private Long id;
    /**
     * 站点id,0表示全站
     */
    @TableField("site_id")
    private Integer siteId;
    /**
     * 站点名称
     */
    @TableField(exist = false)
    private String siteName;
    /**
     * 统计日期类型(1=开始时间,2=结束时间)
     */
    @TableField("statistical_date_type")
    private Integer statisticalDateType;
    /**
     * 账单周期
     */
    @TableField("billing_cycle")
    private LocalDate billingCycle;
    /**
     * 账单状态(1=未出账单,2=已出账单)
     */
    @TableField("status")
    private Integer status;
    /**
     * 账单编号
     */
    @TableField("code")
    private String code;
    /**
     * 充电时长(秒)
     */
    @TableField("charging_duration")
    private Long chargingDuration;
    /**
     * 订单数
     */
    @TableField("order_number")
    private Integer orderNumber;
    /**
     * 总金额
     */
    @TableField("total_amount")
    private BigDecimal totalAmount;
    /**
     * 优惠券抵扣金额
     */
    @TableField("coupon_deduction")
    private BigDecimal couponDeduction;
    /**
     * 平台手续费
     */
    @TableField("platform_fee")
    private BigDecimal platformFee;
    /**
     * 三方平台分佣
     */
    @TableField("tripartite_commission")
    private BigDecimal tripartiteCommission;
    /**
     * 实收金额
     */
    @TableField("funds_received")
    private BigDecimal fundsReceived;
    /**
     * 总电量
     */
    @TableField("total_electricity")
    private BigDecimal totalElectricity;
    /**
     * 总电费
     */
    @TableField("total_electricity_charge")
    private BigDecimal totalElectricityCharge;
    /**
     * 总服务费
     */
    @TableField("total_service_fee")
    private BigDecimal totalServiceFee;
    /**
     * 账单生成日期
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}