44323
2023-11-27 aa925d851857f50eff0556411366690d9a78a0e5
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
package com.dsh.other.entity;
 
import java.math.BigDecimal;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
 
import java.io.Serializable;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * <p>
 * 游戏配置
 * </p>
 *
 * @author administrator
 * @since 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_game_config")
public class TGameConfig extends Model<TGameConfig> {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    /**
     * 名称
     */
    private String name;
 
    /**
     * 图
     */
    private String img;
 
    /**
     * 玩湃币
     */
    @TableField("playCoin")
    private BigDecimal playCoin;
 
    /**
     * 现金
     */
    private BigDecimal cash;
 
    /**
     * 积分
     */
    private BigDecimal integral;
 
    /**
     * 游戏id
     */
    @TableField("gameId")
    private Integer gameId;
    @TableField("otherId")
    private Integer otherId;
    @TableField(exist = false)
    private String intro;
    @TableField(exist = false)
    private String video;
 
 
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
 
}