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

📄 worker.java~1~

📁 本系统图书馆管理系统
💻 JAVA~1~
字号:
package librarysystem;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
///////////////////////////////////////////////////////
//the person who works in the library
//including charger  attendant custodian and purchaser
///////////////////////////////////////////////////////

public class Worker {

        String workerID;
        String workerPWD;
        int    workerType;

        //////////////////////////////////////
        //set the value of Worker
        //////////////////////////////////////

        public void setWorkerID(String id)
        {
                workerID=id;
        }

        public void setWorkerPWD(String pwd)
        {
                workerPWD=pwd;
        }

        public void setWorkerType(int type)
        {
                workerType=type;
        }

        //////////////////////////////////////
        //get the value of Worker
        //////////////////////////////////////

        public String getWorkerID( )
        {
                return workerID;
        }

        public String getWorkerPWD( )
        {
                return workerPWD;
        }

        public int getWorkerType( )
        {
                return workerType;
        }
}

⌨️ 快捷键说明

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