pull/1/head
rekoe 2016-03-22 09:50:05 +08:00
parent aeeae29c47
commit 7cfe290eca
2 changed files with 114 additions and 0 deletions

View File

@ -0,0 +1,57 @@
package com.rekoe.domain;
import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Index;
import org.nutz.dao.entity.annotation.PK;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.TableIndexes;
@Table("pj_gr_auth")
@PK({ "pj", "res", "gr" })
@TableIndexes({ @Index(name = "FK_Reference_6", fields = { "pj", "gr" }, unique = false) })
public class PjGrAuth {
@Comment
private String pj;
@Comment
private String gr;
@Comment
@ColDefine(width = 200)
private String res;
@Comment
private String rw;
public String getPj() {
return pj;
}
public void setPj(String pj) {
this.pj = pj;
}
public String getGr() {
return gr;
}
public void setGr(String gr) {
this.gr = gr;
}
public String getRes() {
return res;
}
public void setRes(String res) {
this.res = res;
}
public String getRw() {
return rw;
}
public void setRw(String rw) {
this.rw = rw;
}
}

View File

@ -0,0 +1,57 @@
package com.rekoe.domain;
import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Index;
import org.nutz.dao.entity.annotation.PK;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.TableIndexes;
@Table("pj_usr_auth")
@PK({ "pj", "res", "usr" })
@TableIndexes({ @Index(name = "FK_Reference_8", fields = { "usr" }, unique = false) })
public class PjUsrAuth {
@Comment
private String pj;
@Comment
private String usr;
@Comment
@ColDefine(width = 200)
private String res;
@Comment
private String rw;
public String getPj() {
return pj;
}
public void setPj(String pj) {
this.pj = pj;
}
public String getUsr() {
return usr;
}
public void setUsr(String usr) {
this.usr = usr;
}
public String getRes() {
return res;
}
public void setRes(String res) {
this.res = res;
}
public String getRw() {
return rw;
}
public void setRw(String rw) {
this.rw = rw;
}
}