|
@ -8,6 +8,7 @@ import org.jfw.apt.orm.core.enums.DE;
|
8
|
8
|
|
9
|
9
|
import com.ekexiu.portal.basepo.CreateTimeSupported;
|
10
|
10
|
import com.ekexiu.portal.basepo.ModifyTimeSupported;
|
|
11
|
import com.ekexiu.portal.pojo.EditProfessor;
|
11
|
12
|
|
12
|
13
|
@Table
|
13
|
14
|
@PrimaryKey("articleId")
|
|
@ -23,7 +24,15 @@ public class Article implements CreateTimeSupported, ModifyTimeSupported {
|
23
|
24
|
private String articleImg;
|
24
|
25
|
private String orgId;
|
25
|
26
|
private String articleType;
|
|
27
|
private int articleAgree;
|
|
28
|
private EditProfessor professor;
|
26
|
29
|
|
|
30
|
public EditProfessor getProfessor() {
|
|
31
|
return professor;
|
|
32
|
}
|
|
33
|
public void setProfessor(EditProfessor professor) {
|
|
34
|
this.professor = professor;
|
|
35
|
}
|
27
|
36
|
@Column(DE.id_32)
|
28
|
37
|
public String getArticleId() {
|
29
|
38
|
return articleId;
|
|
@ -99,5 +108,12 @@ public class Article implements CreateTimeSupported, ModifyTimeSupported {
|
99
|
108
|
public void setArticleType(String articleType) {
|
100
|
109
|
this.articleType = articleType;
|
101
|
110
|
}
|
|
111
|
@Column(DE.int_de)
|
|
112
|
public int getArticleAgree() {
|
|
113
|
return articleAgree;
|
|
114
|
}
|
|
115
|
public void setArticleAgree(int articleAgree) {
|
|
116
|
this.articleAgree = articleAgree;
|
|
117
|
}
|
102
|
118
|
|
103
|
119
|
}
|