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

📄 reader.java

📁 图书管理系统
💻 JAVA
字号:
package com.bean;
// default package

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * Reader entity. @author MyEclipse Persistence Tools
 */

public class Reader  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private String cardid;
     private Timestamp startdate;
     private Integer maxborrownum;
     private String isvalidate;
     private String prohibit;
     private Set borrowBooks = new HashSet(0);
     private Set fines = new HashSet(0);


    // Constructors

    /** default constructor */
    public Reader() {
    }

    
    /** full constructor */
    public Reader(String name, String cardid, Timestamp startdate, Integer maxborrownum, String isvalidate, String prohibit, Set borrowBooks, Set fines) {
        this.name = name;
        this.cardid = cardid;
        this.startdate = startdate;
        this.maxborrownum = maxborrownum;
        this.isvalidate = isvalidate;
        this.prohibit = prohibit;
        this.borrowBooks = borrowBooks;
        this.fines = fines;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getCardid() {
        return this.cardid;
    }
    
    public void setCardid(String cardid) {
        this.cardid = cardid;
    }

    public Timestamp getStartdate() {
        return this.startdate;
    }
    
    public void setStartdate(Timestamp startdate) {
        this.startdate = startdate;
    }

    public Integer getMaxborrownum() {
        return this.maxborrownum;
    }
    
    public void setMaxborrownum(Integer maxborrownum) {
        this.maxborrownum = maxborrownum;
    }

    public String getIsvalidate() {
        return this.isvalidate;
    }
    
    public void setIsvalidate(String isvalidate) {
        this.isvalidate = isvalidate;
    }

    public String getProhibit() {
        return this.prohibit;
    }
    
    public void setProhibit(String prohibit) {
        this.prohibit = prohibit;
    }

    public Set getBorrowBooks() {
        return this.borrowBooks;
    }
    
    public void setBorrowBooks(Set borrowBooks) {
        this.borrowBooks = borrowBooks;
    }

    public Set getFines() {
        return this.fines;
    }
    
    public void setFines(Set fines) {
        this.fines = fines;
    }
   








}

⌨️ 快捷键说明

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