package cn.iselab.mooctest.user.model;

import lombok.Data;

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

/**
 * @Author ROKG
 * @Description 用户获取勋章记录表
 * @Date: Created in 上午11:30 2018/2/13
 * @Modified By:
 */
@Data
@Entity
@Table(name = "user_2_medal")
public class User2Medal {

    @Id
    @GeneratedValue
    private long id;

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

    @Column(name = "medal_id")
    private long medalId;

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


}
