Browse Source

专家所属机构名称修改。

bulomakaka 8 years ago
parent
commit
84e068cd5c
1 changed files with 159 additions and 158 deletions
  1. 159 158
      src/main/java/com/ekexiu/portal/po/Professor.java

+ 159 - 158
src/main/java/com/ekexiu/portal/po/Professor.java

@ -1,158 +1,159 @@
1
package com.ekexiu.portal.po;
2
3
import org.jfw.apt.orm.annotation.entry.Column;
4
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
5
import org.jfw.apt.orm.annotation.entry.Table;
6
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
7
import org.jfw.apt.orm.core.enums.DE;
8
9
import com.ekexiu.portal.basepo.CreateTimeSupported;
10
import com.ekexiu.portal.basepo.ModifyTimeSupported;
11
@PrimaryKey("id")
12
@Table
13
public class Professor implements CreateTimeSupported, ModifyTimeSupported{
14
15
	private String id;
16
	private String name;
17
	private boolean authentication;
18
	
19
	private String office;
20
	/**
21
	 *职称 
22
	 */
23
	private String title;
24
	private String orgId;
25
	private String department;
26
	/**
27
	 * 学科
28
	 */
29
	private String subject;
30
	/**
31
	 * 应用行业
32
	 */
33
	private String industry;
34
	private String descp;
35
	private String createTime;
36
	private String modifyTime;
37
	
38
	
39
	@Column(value=DE.String_de,dbType="TEXT")
40
	public String getOffice() {
41
		return office;
42
	}
43
44
	public void setOffice(String office) {
45
		this.office = office;
46
	}
47
48
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=false,nullable=true,renewable=false,queryable=true)
49
	public String getSubject() {
50
		return subject;
51
	}
52
53
	public void setSubject(String subject) {
54
		this.subject = subject;
55
	}
56
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=false,nullable=true,renewable=false,queryable=true)
57
	public String getIndustry() {
58
		return industry;
59
	}
60
61
	public void setIndustry(String industry) {
62
		this.industry = industry;
63
	}
64
65
	/**
66
	 * 机构部门
67
	 * @return
68
	 */
69
	@Column(DE.string_de)
70
	public String getDepartment() {
71
		return department;
72
	}
73
74
	public void setDepartment(String department) {
75
		this.department = department;
76
	}
77
78
	/**
79
	 * 任职机构ID
80
	 * @return
81
	 */
82
	@Column(DE.id_32)
83
	public String getOrgId() {
84
		return orgId;
85
	}
86
87
	public void setOrgId(String orgId) {
88
		this.orgId = orgId;
89
	}
90
91
	/**
92
	 * 职称
93
	 * @return
94
	 */
95
	@Column(DE.string_de)
96
	public String getTitle() {
97
		return title;
98
	}
99
100
	public void setTitle(String title) {
101
		this.title = title;
102
	}
103
	/**
104
	 * 是否认证
105
	 * @return
106
	 */
107
	@Column(value=DE.boolean_de)
108
	public boolean isAuthentication() {
109
		return authentication;
110
	}
111
112
	public void setAuthentication(boolean authentication) {
113
		this.authentication = authentication;
114
	}
115
116
	@Column(DE.id_32)
117
	public String getId() {
118
		return id;
119
	}
120
121
	public void setId(String id) {
122
		this.id = id;
123
	}
124
125
	@Column(DE.dictCaption)
126
	public String getName() {
127
		return name;
128
	}
129
130
	public void setName(String name) {
131
		this.name = name;
132
	}
133
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=false,nullable=true,renewable=false,queryable=true)
134
	public String getDescp() {
135
		return descp;
136
	}
137
138
	public void setDescp(String descp) {
139
		this.descp = descp;
140
	}
141
142
	public String getCreateTime() {
143
		return createTime;
144
	}
145
146
	public void setCreateTime(String createTime) {
147
		this.createTime = createTime;
148
	}
149
150
	public String getModifyTime() {
151
		return modifyTime;
152
	}
153
154
	public void setModifyTime(String modifyTime) {
155
		this.modifyTime = modifyTime;
156
	}
157
158
}
1
package com.ekexiu.portal.po;
2

3
import org.jfw.apt.orm.annotation.entry.Column;
4
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
5
import org.jfw.apt.orm.annotation.entry.Table;
6
import org.jfw.apt.orm.core.defaultImpl.FixLenStringHandler;
7
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
8
import org.jfw.apt.orm.core.enums.DE;
9

10
import com.ekexiu.portal.basepo.CreateTimeSupported;
11
import com.ekexiu.portal.basepo.ModifyTimeSupported;
12
@PrimaryKey("id")
13
@Table
14
public class Professor implements CreateTimeSupported, ModifyTimeSupported{
15

16
	private String id;
17
	private String name;
18
	private boolean authentication;
19
	
20
	private String office;
21
	/**
22
	 *职称 
23
	 */
24
	private String title;
25
	private String orgId;
26
	private String department;
27
	/**
28
	 * 学科
29
	 */
30
	private String subject;
31
	/**
32
	 * 应用行业
33
	 */
34
	private String industry;
35
	private String descp;
36
	private String createTime;
37
	private String modifyTime;
38
	
39
	
40
	@Column(value=DE.String_de,dbType="TEXT")
41
	public String getOffice() {
42
		return office;
43
	}
44

45
	public void setOffice(String office) {
46
		this.office = office;
47
	}
48

49
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=false,nullable=true,renewable=false,queryable=true)
50
	public String getSubject() {
51
		return subject;
52
	}
53

54
	public void setSubject(String subject) {
55
		this.subject = subject;
56
	}
57
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=false,nullable=true,renewable=false,queryable=true)
58
	public String getIndustry() {
59
		return industry;
60
	}
61

62
	public void setIndustry(String industry) {
63
		this.industry = industry;
64
	}
65

66
	/**
67
	 * 机构部门
68
	 * @return
69
	 */
70
	@Column(DE.string_de)
71
	public String getDepartment() {
72
		return department;
73
	}
74

75
	public void setDepartment(String department) {
76
		this.department = department;
77
	}
78

79
	/**
80
	 * 任职机构ID
81
	 * @return
82
	 */
83
	@Column(dbType="CHAR(32)",handlerClass=FixLenStringHandler.class)
84
	public String getOrgId() {
85
		return orgId;
86
	}
87

88
	public void setOrgId(String orgId) {
89
		this.orgId = orgId;
90
	}
91

92
	/**
93
	 * 职称
94
	 * @return
95
	 */
96
	@Column(DE.string_de)
97
   public String getTitle() {
98
		return title;
99
	}
100

101
	public void setTitle(String title) {
102
		this.title = title;
103
	}
104
	/**
105
	 * 是否认证
106
	 * @return
107
	 */
108
	@Column(value=DE.boolean_de)
109
	public boolean isAuthentication() {
110
		return authentication;
111
	}
112

113
	public void setAuthentication(boolean authentication) {
114
		this.authentication = authentication;
115
	}
116

117
	@Column(DE.id_32)
118
	public String getId() {
119
		return id;
120
	}
121

122
	public void setId(String id) {
123
		this.id = id;
124
	}
125

126
	@Column(DE.dictCaption)
127
	public String getName() {
128
		return name;
129
	}
130

131
	public void setName(String name) {
132
		this.name = name;
133
	}
134
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=false,nullable=true,renewable=false,queryable=true)
135
	public String getDescp() {
136
		return descp;
137
	}
138

139
	public void setDescp(String descp) {
140
		this.descp = descp;
141
	}
142

143
	public String getCreateTime() {
144
		return createTime;
145
	}
146

147
	public void setCreateTime(String createTime) {
148
		this.createTime = createTime;
149
	}
150

151
	public String getModifyTime() {
152
		return modifyTime;
153
	}
154

155
	public void setModifyTime(String modifyTime) {
156
		this.modifyTime = modifyTime;
157
	}
158

159
}