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;

/**
 * 学员下单临时锁定记录对象 class_grade_user_temp
 *
 * @author hjl
 * @date 2021-12-23
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("class_grade_user_temp")
public class ClassGradeUserTemp implements Serializable {

private static final long serialVersionUID=1L;

    public static final Integer STATUS_CLOSE =0;  //关闭
    public static final Integer STATUS_LOCK =1;  //锁定
    public static final Integer STATUS_USE =2;  //加入

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 学员ID */
    private Long userId;
    /** 班级id */
    private Long gradeId;
    /** 1 锁定中 0关闭 */
    private Integer status;
    /** 添加时间 */
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;
    /** 修改时间 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;
    /** 来源 1订单购买 */
    private Integer fromType;
    /** 商品id */
    private Long goodsId;
    /** 订单编号 */
    private String orderSn;
}
