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

📄 userbook.java~1~

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

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
///////////////////////////////////////////////////////////////
//the relation between user and book which is borrow or order
///////////////////////////////////////////////////////////////
import java.util.Date;
public class UserBook {

        String userID;
        String bookIndex;
        Date startDate;
        Date endDate;

        //////////////////////////////////////
        //set the value of UserBook
        //////////////////////////////////////

        public void setUserID(String id)
        {
                userID=id;
        }

        public void setBookIndex(String index)
        {
                bookIndex=index;
        }

        public void setStartDate(Date date)
        {
                startDate=date;
        }

        public void setEndDate(Date date)
        {
                endDate=date;
        }

        //////////////////////////////////////
        //get the value of UserBook
        //////////////////////////////////////

        public String getUserID( )
        {
                return userID;
        }

        public String getBookIndex( )
        {
                return bookIndex;
        }

        public Date getStartDate( )
        {
                return startDate;
        }

        public Date getEndDate( )
        {
                return endDate;
        }
}

⌨️ 快捷键说明

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