⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 train.java~1~

📁 一个可以实现联网售票的火车售票管理系统
💻 JAVA~1~
字号:
package train.parameter;

import java.io.Serializable;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: 沈阳化工学院计算机</p>
 *
 * @author 彭胜勇 胡林
 * @version 1.0
 */
public class User implements Serializable{
    String userID; //用户编号
    String userName; //用户姓名
    String userPwd; //用户密码
    public User(String userID, String userName, String userPwd) {
        this.userID = userID;
        this.userName = userName;
        this.userPwd = userPwd;
    }

    //设置用户编号
    public void setManagetID(String userID) {
        this.userID = userID;
    }

    //取得用户编号
    public String getUserID() {
        return this.userID;
    }

    //设置用户姓名
    public void setUserName(String userName) {
        this.userName = userName;
    }

    //取得用户姓名
    public String getUserName() {
        return this.userName;
    }

    //设置用户密码
    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    //取得用户密码
    public String getUserPwd() {
        return this.userPwd;
    }

    public String toString() {
        return userID + ":" + userName + ":" + userPwd;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -