package com.ruoyi.study.domain;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.core.web.domain.BaseModel;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 用户学习记录
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-04-26
|
*/
|
@Data
|
@TableName("t_game_record")
|
@ApiModel(value = "用户游戏记录")
|
public class TGameRecord extends BaseModel {
|
private static final long serialVersionUID = 1L;
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
@ApiModelProperty(value = "用户id")
|
private Integer userId;
|
/**
|
* /**
|
* 正确率
|
*/
|
@ApiModelProperty(value = "正确率")
|
private Integer accuracy;
|
/**
|
* 游戏名称
|
*/
|
@ApiModelProperty(value = "游戏名称")
|
private String gameName;
|
/**
|
* 用时时间 秒
|
*/
|
@ApiModelProperty(value = "用时时间 秒")
|
private Integer useTime;
|
@ApiModelProperty(value = "用时时间 秒")
|
@TableField(exist = false)
|
private String useTime1;
|
|
/**
|
* 游戏Id
|
*/
|
@ApiModelProperty(value = "游戏Id")
|
private Integer gameId;
|
|
/**
|
* 游戏难度(0入门、1中级、2高级)
|
*/
|
@ApiModelProperty(value = "游戏难度(0入门、1中级、2高级)")
|
private Integer gameDifficulty;
|
@ApiModelProperty(value = "游戏时间")
|
@TableField(exist = false)
|
private String time;
|
}
|