📄 platformuser.java
字号:
package com.rainbow.mms.common;
/**
* Rainbow MMS 平台的使用用户信息,包括管理员、编辑、客服、市场及业务人员。
* @author Rainbow MMS Group Leader —— TrWorks
*/
public class PlatformUser {
/**
* 用户编号
*/
private int userId;
/**
* 平台使用的用户名称
*/
private String userName;
/**
* 用户密码
*/
private String userPasswd;
/***
* 用户角色,0表示平台管理员;1表示编辑人员;2表示客服人员;3表示市场业务人员
*/
private int role;
/**
* 获得用户角色
* @return Returns the role.
*/
public int getRole() {
return role;
}
/**
* 设置用户角色
* @param role The role to set.
*/
public void setRole(int role) {
this.role = role;
}
/**
* 返回用户名称
* @return Returns the userName.
*/
public String getUserName() {
return userName;
}
/**
* 设置用户名称
* @param userName The userName to set.
*/
public void setUserName(String userName) {
this.userName = userName;
}
/**
* 返回用户密码
* @return Returns the userPasswd.
*/
public String getUserPasswd() {
return userPasswd;
}
/**
* 设置用户密码
* @param userPasswd The userPasswd to set.
*/
public void setUserPasswd(String userPasswd) {
this.userPasswd = userPasswd;
}
/**
* 返回用户编号
* @return Returns the userId.
*/
public int getUserId() {
return userId;
}
/**
* 设置用户编号,该方法不应该由客户端程序员调用,而应该由平台自动调用
* @param userId The userId to set.
*/
public void setUserId(int userId) {
this.userId = userId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -