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;
|
}
|
|
}
|