package com.ekexiu.console.system.po; import com.ekexiu.console.basepo.CreateTimeSupported; import org.jfw.apt.orm.annotation.entry.Column; import org.jfw.apt.orm.annotation.entry.Table; import org.jfw.apt.orm.annotation.entry.Unique; import org.jfw.apt.orm.annotation.entry.Uniques; import org.jfw.apt.orm.core.enums.DE; /** * Created by TT on 2017/9/13. */ @Table @Uniques(@Unique(clolumns = {"articleId", "professorId"}, name = "ARTICLE_PRO_UQ")) public class ArticlePro implements CreateTimeSupported { private String articleId; private String professorId; private String createTime; @Column(DE.id_32) public String getArticleId() { return articleId; } public void setArticleId(String articleId) { this.articleId = articleId; } @Column(DE.id_32) public String getProfessorId() { return professorId; } public void setProfessorId(String professorId) { this.professorId = professorId; } public String getCreateTime() { return createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } }