mirror of https://github.com/Rekoe/rk_svnadmin
fix
parent
b8aed99830
commit
8d8f6b625d
|
@ -4,6 +4,7 @@ import java.io.Serializable;
|
||||||
|
|
||||||
import org.nutz.dao.entity.annotation.Comment;
|
import org.nutz.dao.entity.annotation.Comment;
|
||||||
import org.nutz.dao.entity.annotation.Name;
|
import org.nutz.dao.entity.annotation.Name;
|
||||||
|
import org.nutz.dao.entity.annotation.Readonly;
|
||||||
import org.nutz.dao.entity.annotation.Table;
|
import org.nutz.dao.entity.annotation.Table;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -44,7 +45,7 @@ public class Pj implements Serializable{
|
||||||
/**
|
/**
|
||||||
* 用户是否是这个项目的管理员
|
* 用户是否是这个项目的管理员
|
||||||
*/
|
*/
|
||||||
@Comment
|
@Readonly
|
||||||
private boolean manager;
|
private boolean manager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2,15 +2,9 @@ package com.rekoe.domain;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import org.nutz.dao.entity.annotation.Comment;
|
|
||||||
import org.nutz.dao.entity.annotation.PK;
|
|
||||||
import org.nutz.dao.entity.annotation.Table;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 权限
|
* 权限
|
||||||
*/
|
*/
|
||||||
@Table("pj_auth")
|
|
||||||
@PK({ "pj", "res", "gr" })
|
|
||||||
public class PjAuth implements Serializable {
|
public class PjAuth implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -19,37 +13,30 @@ public class PjAuth implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 资源
|
* 资源
|
||||||
*/
|
*/
|
||||||
@Comment
|
|
||||||
private String res;
|
private String res;
|
||||||
/**
|
/**
|
||||||
* 项目
|
* 项目
|
||||||
*/
|
*/
|
||||||
@Comment
|
|
||||||
private String pj;
|
private String pj;
|
||||||
/**
|
/**
|
||||||
* 组
|
* 组
|
||||||
*/
|
*/
|
||||||
@Comment
|
|
||||||
private String gr;
|
private String gr;
|
||||||
/**
|
/**
|
||||||
* 用户
|
* 用户
|
||||||
*/
|
*/
|
||||||
@Comment
|
|
||||||
private String usr;
|
private String usr;
|
||||||
/**
|
/**
|
||||||
* 用户姓名
|
* 用户姓名
|
||||||
*/
|
*/
|
||||||
@Comment
|
|
||||||
private String usrName;
|
private String usrName;
|
||||||
/**
|
/**
|
||||||
* r : 可读; w : 可写
|
* r : 可读; w : 可写
|
||||||
*/
|
*/
|
||||||
@Comment
|
|
||||||
private String rw;
|
private String rw;
|
||||||
/**
|
/**
|
||||||
* 描述
|
* 描述
|
||||||
*/
|
*/
|
||||||
@Comment
|
|
||||||
private String des;
|
private String des;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,6 +6,7 @@ import org.nutz.dao.entity.annotation.Column;
|
||||||
import org.nutz.dao.entity.annotation.Index;
|
import org.nutz.dao.entity.annotation.Index;
|
||||||
import org.nutz.dao.entity.annotation.Name;
|
import org.nutz.dao.entity.annotation.Name;
|
||||||
import org.nutz.dao.entity.annotation.PK;
|
import org.nutz.dao.entity.annotation.PK;
|
||||||
|
import org.nutz.dao.entity.annotation.Readonly;
|
||||||
import org.nutz.dao.entity.annotation.Table;
|
import org.nutz.dao.entity.annotation.Table;
|
||||||
import org.nutz.dao.entity.annotation.TableIndexes;
|
import org.nutz.dao.entity.annotation.TableIndexes;
|
||||||
|
|
||||||
|
@ -31,106 +32,45 @@ public class PjUsr implements Serializable {
|
||||||
*/
|
*/
|
||||||
@Name
|
@Name
|
||||||
private String usr;
|
private String usr;
|
||||||
/**
|
|
||||||
* 用户姓名
|
|
||||||
*/
|
|
||||||
@Column
|
|
||||||
private String name;
|
|
||||||
/**
|
/**
|
||||||
* 密码(加密)
|
* 密码(加密)
|
||||||
*/
|
*/
|
||||||
@Column
|
@Column
|
||||||
private String psw;
|
private String psw;
|
||||||
/**
|
|
||||||
* 角色
|
|
||||||
*/
|
|
||||||
@Column
|
|
||||||
private String role;
|
|
||||||
|
|
||||||
@Column
|
@Readonly
|
||||||
private String email;
|
private String name;
|
||||||
|
|
||||||
/**
|
|
||||||
* @return 用户ID
|
|
||||||
*/
|
|
||||||
public String getUsr() {
|
|
||||||
return usr;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getEmail() {
|
|
||||||
return email;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setEmail(String email) {
|
|
||||||
this.email = email;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param usr
|
|
||||||
* 用户ID
|
|
||||||
*/
|
|
||||||
public void setUsr(String usr) {
|
|
||||||
this.usr = usr;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return 用户姓名
|
|
||||||
*/
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param name
|
|
||||||
* 用户姓名
|
|
||||||
*/
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return 密码(加密)
|
|
||||||
*/
|
|
||||||
public String getPsw() {
|
|
||||||
return psw;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param psw
|
|
||||||
* 密码(加密)
|
|
||||||
*/
|
|
||||||
public void setPsw(String psw) {
|
|
||||||
this.psw = psw;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return 角色
|
|
||||||
*/
|
|
||||||
public String getRole() {
|
|
||||||
return role;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param role
|
|
||||||
* 角色
|
|
||||||
*/
|
|
||||||
public void setRole(String role) {
|
|
||||||
this.role = role;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return 项目ID
|
|
||||||
*/
|
|
||||||
public String getPj() {
|
public String getPj() {
|
||||||
return pj;
|
return pj;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param pj
|
|
||||||
* 项目ID
|
|
||||||
*/
|
|
||||||
public void setPj(String pj) {
|
public void setPj(String pj) {
|
||||||
this.pj = pj;
|
this.pj = pj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getUsr() {
|
||||||
|
return usr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUsr(String usr) {
|
||||||
|
this.usr = usr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPsw() {
|
||||||
|
return psw;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPsw(String psw) {
|
||||||
|
this.psw = psw;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue