RiderBalance.java
730 Bytes
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.diligrp.rider.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
/**
* 骑手余额流水表
*/
@Data
@TableName("rider_balance")
public class RiderBalance {
@TableId(type = IdType.AUTO)
private Long id;
/** 骑手ID */
private Long uid;
/** 变动类型:1=收入 2=提现 */
private Integer type;
/** 关联动作(如:order_complete) */
private String action;
/** 关联ID(如订单ID) */
private Long actionId;
/** 订单号 */
private String orderNo;
/** 变动金额 */
private BigDecimal nums;
/** 变动后余额 */
private BigDecimal total;
private Long addTime;
}