content: package cn.org.alan.exam.model.entity;
  
  import com.baomidou.mybatisplus.annotation.*;
  import io.swagger.annotations.ApiModel;
  import io.swagger.annotations.ApiModelProperty;
  import lombok.Data;
  
  import java.io.Serializable;
  import java.time.LocalDateTime;
  
  /**
   * 用户刷题记录实体类
   *
   * @author WeiJin
   * @since 2024-03-21
   */
  @Data
  @ApiModel("用户刷题记录实体类")
  @TableName("t_user_exercise_record")
  public class UserExerciseRecord implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      @ApiModelProperty("用户刷题记录表ID")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;
  
      @ApiModelProperty("用户ID")
      @TableField(fill = FieldFill.INSERT)
      private Integer userId;
  
      @ApiModelProperty("题库ID")
      private Integer repoId;
  
      @ApiModelProperty("总题数")
      private Integer totalCount;
  
      @ApiModelProperty("已刷题数")
      private Integer exerciseCount;
  
      @ApiModelProperty("刷题时间")
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;
  }
  