Browse Source

申请方保存字段改为字符型,直接保存申请方名字

zzy.zhiyuan.foxmail 8 years ago
parent
commit
544ac72814
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/main/java/com/ekexiu/portal/po/Operation.java

+ 4 - 5
src/main/java/com/ekexiu/portal/po/Operation.java

6
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
6
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
7
import org.jfw.apt.orm.annotation.entry.Table;
7
import org.jfw.apt.orm.annotation.entry.Table;
8
import org.jfw.apt.orm.core.defaultImpl.FixLenStringHandler;
8
import org.jfw.apt.orm.core.defaultImpl.FixLenStringHandler;
9
import org.jfw.apt.orm.core.defaultImpl.IntHandler;
10
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
9
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
11
import org.jfw.apt.orm.core.enums.DE;
10
import org.jfw.apt.orm.core.enums.DE;
12

11

33
	private String payMethod;//支付方式
32
	private String payMethod;//支付方式
34
	private String replyNotes; //回复备注
33
	private String replyNotes; //回复备注
35
	private String createTime;//创建时间
34
	private String createTime;//创建时间
36
	private int applysquare;//申请方 0代表本人,1代表所属机构
35
	private String applysquare;//申请方 专家姓名或所属机构名称
37
	private Professor professor;
36
	private Professor professor;
38
	private Resource resource;
37
	private Resource resource;
39
	
38
	
67
		this.createTime = createTime;
66
		this.createTime = createTime;
68
	}
67
	}
69
	
68
	
70
	@Column(handlerClass=IntHandler.class,dbType="INT",nullable=true,insertable=true,renewable=false,queryable=true)
71
	public int getApplysquare() {
69
	@Column(DE.String_de)
70
	public String getApplysquare() {
72
		return applysquare;
71
		return applysquare;
73
	}
72
	}
74
	public void setApplysquare(int applysquare) {
73
	public void setApplysquare(String applysquare) {
75
		this.applysquare = applysquare;
74
		this.applysquare = applysquare;
76
	}
75
	}
77
	
76