package cn.com.qmth.stmms.biz.exam.model;

import cn.com.qmth.stmms.common.annotation.ExcelField;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "eb_user_exam")
public class UserExam implements Serializable {

    private static final long serialVersionUID = -2682887025138655950L;

    @Id
    @GeneratedValue
    private Integer id;

    @Column(name = "user_id", nullable = false)
    private Integer userId;

    @Column(name = "exam_id", nullable = false)
    @ExcelField(title = "考试ID", align = 2, sort = 20)
    private Integer examId;

    public UserExam() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

}
