Helius
2021-11-26 4017fe347792c7e28695c455a40874f0c647cc9b
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
package com.xcong.excoin.websocket.fish.model;
 
import lombok.Data;
 
import java.math.BigDecimal;
 
/**
 * @author wzy
 * @date 2021-11-26
 **/
@Data
public class MsgModel {
 
    /**
     * 消耗金币
     */
    private BigDecimal consume;
 
    /**
     * 获得金币
     */
    private int obtain;
 
    /**
     * 用户ID
     */
    private Long memberId;
 
    public MsgModel(BigDecimal consume, int obtain, Long memberId) {
        this.consume = consume;
        this.obtain = obtain;
        this.memberId = memberId;
    }
}