📄 usermodel.java
字号:
/* */package com.sun.j2ee.workflow.user.model;/** This class provides methods to view and modify user * information for a particular user. * @author Jian (James) Cai */public class UserModel implements java.io.Serializable { protected String user_ID; private String password; private String f_name; private String l_name; private String location; private String phone; private String email; private String title; private String role; public UserModel(String user_ID, String password, String f_name, String l_name, String location, String phone, String email, String title, String role) { this.user_ID = user_ID; this.password = password; this.f_name = f_name; this.l_name = l_name; this.location = location; this.phone = phone; this.email = email; this.title = title; this.role = role; } public UserModel() {} public String getUser_ID() { return user_ID; } public String getPassword() { return password; } public String getF_name() { return f_name; } public String getL_name() { return l_name; } public String getLocation() { return location; } public String getPhone() { return phone; } public String getEmail() { return email; } public String getTitle() { return title; } public String getRole() { return role; } public void copy(UserModel other) { this.user_ID = other.user_ID; this.password = other.password; this.f_name = other.f_name; this.l_name = other.l_name; this.location = other.location; this.phone = other.phone; this.email = other.email; this.title = other.title; this.role = other.role; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -