Browse Source

--update authapplyInfo authentication data type

jiapeng 8 years ago
parent
commit
e4cf3ee8ff
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/main/java/com/ekexiu/portal/pojo/AuthApplyInfo.java

+ 5 - 4
src/main/java/com/ekexiu/portal/pojo/AuthApplyInfo.java

@ -3,6 +3,7 @@ package com.ekexiu.portal.pojo;
3 3
import org.jfw.apt.orm.annotation.entry.CalcColumn;
4 4
import org.jfw.apt.orm.annotation.entry.ExtendView;
5 5
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
6
import org.jfw.apt.orm.core.defaultImpl.WIntHandler;
6 7

7 8
import com.ekexiu.portal.po.AuthApply;
8 9

@ -13,7 +14,7 @@ public class AuthApplyInfo extends AuthApply {
13 14
	private String orgName;
14 15
	private String office;
15 16
	private String title;
16
	private String authentication;
17
	private Integer authentication;
17 18
	private String department;
18 19
	
19 20
	@CalcColumn(handlerClass=StringHandler.class,column="p.department")
@ -51,11 +52,11 @@ public class AuthApplyInfo extends AuthApply {
51 52
	public void setTitle(String title) {
52 53
		this.title = title;
53 54
	}
54
	@CalcColumn(handlerClass=StringHandler.class,column="p.authentication")
55
	public String getAuthentication() {
55
	@CalcColumn(handlerClass=WIntHandler.class,column="p.authentication")
56
	public Integer getAuthentication() {
56 57
		return authentication;
57 58
	}
58
	public void setAuthentication(String authentication) {
59
	public void setAuthentication(Integer authentication) {
59 60
		this.authentication = authentication;
60 61
	}
61 62