package com.yonge.cooleshow.biz.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.yonge.cooleshow.biz.dal.enums.ClientEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 曲目练习统计表
 * </p>
 *
 * @author Eric
 * @since 2022-10-17
 */
@Getter
@Setter
@TableName("music_compare_record_stat")
@ApiModel(value = "MusicCompareRecordStat对象", description = "曲目练习统计表")
public class MusicCompareRecordStat implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id_", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("曲目编号")
    @TableField("music_sheet_id_")
    private Long musicSheetId;

    @ApiModelProperty("客户端标识")
    @TableField("client_id_")
    private ClientEnum clientId;

    @ApiModelProperty("用户编号")
    @TableField("user_id_")
    private Long userId;

    @ApiModelProperty("使用时长")
    @TableField("train_duration_")
    private Long trainDuration;

    @ApiModelProperty("使用次数")
    @TableField("train_frequency_")
    private Long trainFrequency;

    @ApiModelProperty("评测时长")
    @TableField("evaluate_duration_")
    private Long evaluateDuration;

    @ApiModelProperty("评测次数")
    @TableField("evaluate_frequency_")
    private Long evaluateFrequency;

    @ApiModelProperty("最近使用时间")
    @TableField("recent_time_")
    private Long recentTime;

    @ApiModelProperty("创建时间")
    @TableField("create_time_")
    private Date createTime;


}
