package cn.iselab.mooctest.user.model;

import lombok.Data;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * @Author ROKG
 * @Description 用户获取积分记录表
 * @Date: Created in 下午7:24 2018/2/12
 * @Modified By:
 */
@Data
@Entity
@Table(name = "user_2_integral")
public class User2Integral {

    @Id
    @GeneratedValue
    private long id;

    @Column(name = "user_id")
    private long userId;

    @Column(name = "points")
    private long points;

    @Column(name = "type")
    private long type;

    @Column(name = "source")
    private String source;

    @Column(name = "create_time")
    private Timestamp createTime;
}
