package com.zhongzheng.modules.grade.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.zhongzheng.common.annotation.Excel;

/**
 * 学习次数使用记录对象 study_count_log
 *
 * @author hjl
 * @date 2022-01-20
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("study_count_log")
public class StudyCountLog implements Serializable {

private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 学员ID */
    private Long userId;
    /** 班级id */
    private Long gradeId;
    /** $column.columnComment */
    private Long orderGoodsId;
    /** 学习次数 */
    private Long studyCount;
    /** 状态 1增加 -1消耗 */
    private Integer status;
    /** 添加时间 */
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;
    /** 修改时间 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;
    /** 老班级id */
    private Long oldGradeId;
}
