package com.zhongzheng.modules.user.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;

/**
 * 【请填写功能名称】对象 order_possess_user
 *
 * @author ruoyi
 * @date 2021-06-30
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("order_possess_user")
public class OrderPossessUser implements Serializable {

private static final long serialVersionUID=1L;

    /** 用户id */
    private Long userId;

    /** 来源id  0 订单购买  1订单活动购买  2 等级解锁 */
    private Integer sourceId;

    /** 解锁类型 解锁类型 1课程 2题库  3考试重点 */
    private Integer typeId;

    /** 拥有的课程id或题库id或考试重点 */
    private Long possessId;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;

}
