xiaoyong931011
2023-08-12 cbbc9d5e7df63bb1ea10bdd80e9a08660b82cc88
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
package cc.mrbird.febs.dapp.entity;
 
import cc.mrbird.febs.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @author wzy
 * @date 2022-06-15
 **/
@Data
@TableName("mall_achieve_record")
public class MallAchieveRecord extends BaseEntity {
 
    private Long memberId;
    //剩余业绩
    private BigDecimal amount;
    //订单成本
    private BigDecimal costAmount;
 
    private Date achieveTime;
 
    private Long orderId;
 
    private Long orderItemId;
    //1-进行中 2-已结束
    private Integer isNormal;
 
    private Date payTime;
    public MallAchieveRecord() {}
 
 
    public MallAchieveRecord(Long memberId,
                             BigDecimal amount,
                             BigDecimal costAmount,
                             Date achieveTime,
                             Long orderId,
                             Integer isNormal,
                             Date payTime) {
        this.memberId = memberId;
        this.amount = amount;
        this.costAmount = costAmount;
        this.achieveTime = achieveTime;
        this.orderId = orderId;
        this.isNormal = isNormal;
        this.payTime = payTime;
    }
 
}