admin
2022-04-01 14c0cd0ea9eb372cd5db511c788b2daa3cc7069b
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
package com.yeshi.makemoney.app.entity.goldcorn;
 
import org.springframework.data.mongodb.core.mapping.Document;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @author hxh
 * @title: GoldCornRecord
 * @description: 金币记录
 * @date 2022/3/31 18:25
 */
@Document(collection = "goldCornConsumeRecord")
public class GoldCornConsumeRecord {
    private String id;
    private Long uid;
    /**
     * 消耗金币数量
     */
    private Integer cornNum;
    /**
     * 兑换类型
     */
    private GoldCornConsumeType type;
 
    /**
     * 兑换的人民币(当兑换类型为人民币时有效)
     */
    private BigDecimal money;
 
    private String remarks;
    private Date createTime;
    private Date updateTime;
}