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 java.util.Date; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** *

* *

* * @author administrator * @since 2023-10-07 */ @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @TableName("t_game_record") public class TGameRecord extends Model { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; @TableField("userId") private Integer userId; @TableField("gameId") private Integer gameId; /** * 1玩湃币 2微信 3支付宝 */ @TableField("payType") private Integer payType; /** * 金额 */ private BigDecimal money; /** * 0待支付 1已支付 */ private Integer status; private String number; @TableField("orderNo") private String orderNo; private Date time; @Override protected Serializable pkVal() { return this.id; } }