📄 userdto.java
字号:
/**
*******************************************************************************
* UserDto.java
*
* (c) Copyright 2008 Hewlett-Packard Development Company, L.P.
*
*<Program Content>
* System Name : Students Management System
*<Summarize>
* The file includes a class and the class main function is to encapsulate the
* information that the user input.
*<Update Record>
* 2009-4-21 1.00 zhangliy
*******************************************************************************
*/
package com.hp.eds.zhangliyuan.stuMan.dto;
import com.hp.eds.zhangliyuan.stuMan.entity.UserInfo;
/**
* The class main function is to encapsulate the information that the user
* input.
*
* @author zhangliy
* @version 1.0
*/
public class UserDto {
private String userID;
private String password;
private UserInfo user;
/**
* Constructor
*
*/
public UserDto() {
super();
}
/**
* Constructor
*
* @param userID
* @param password
* @param user
*/
public UserDto(String userID, String password, UserInfo user) {
super();
this.userID = userID;
this.password = password;
this.user = user;
}
/**
* name of get
*
* @return userID
*/
public String getUserID() {
return userID;
}
/**
* name of set
*
* @param userID
* set {bare_field_name}
*/
public void setUserID(String userID) {
this.userID = userID;
}
/**
* password of get
*
* @return password
*/
public String getPassword() {
return password;
}
/**
* password of set
*
* @param password
* set {bare_field_name}
*/
public void setPassword(String password) {
this.password = password;
}
/**
* user of get
*
* @return user
*/
public UserInfo getUser() {
return user;
}
/**
* user of set
*
* @param user
* set {bare_field_name}
*/
public void setUser(UserInfo user) {
this.user = user;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -