package cn.com.qmth.stmms.ms.core.domain;

import cn.com.qmth.stmms.ms.core.vo.Subject;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "change_level")
public class ChangeLevel {

    @Id
    @GeneratedValue
    private Long id;

    private Long workId;

    private String subject;

    private Long paperId;

    private String originalLevel;

    private String suggestLevel;

    private Integer auditStatus;

    private Long createId;

    private Date createDate;

    private Long auditId;

    private Date auditDate;

//    @OneToOne
//    @JoinColumn(name = "paperId")
//    private Paper paper;

    public Long getId() {
        return id;
    }

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

    public Long getWorkId() {
        return workId;
    }

    public void setWorkId(Long workId) {
        this.workId = workId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Long getPaperId() {
        return paperId;
    }

    public void setPaperId(Long paperId) {
        this.paperId = paperId;
    }

    public String getOriginalLevel() {
        return originalLevel;
    }

    public void setOriginalLevel(String originalLevel) {
        this.originalLevel = originalLevel;
    }

    public String getSuggestLevel() {
        return suggestLevel;
    }

    public void setSuggestLevel(String suggestLevel) {
        this.suggestLevel = suggestLevel;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getAuditId() {
        return auditId;
    }

    public void setAuditId(Long auditId) {
        this.auditId = auditId;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

//    public Paper getPaper() {
//        return paper;
//    }
//
//    public void setPaper(Paper paper) {
//        this.paper = paper;
//    }
}
