Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
2.2 kB
1
Indexable
Never
package model;

import java.util.List;

/**
 *
 * @author TDT Computer
 */
public class Reader {
    private int id;
    private String name;
    private String birth;
    private String address;
    private String phone;
    private String barcode;
    private int currentBorrow;
    private int totalBorrow;

    public Reader(int id, String name, String birth, String address, String phone, String barcode, int currentBorrow, int totalBorrow) {
        this.id = id;
        this.name = name;
        this.birth = birth;
        this.address = address;
        this.phone = phone;
        this.barcode = barcode;
        this.currentBorrow = currentBorrow;
        this.totalBorrow = totalBorrow;
    }

    public Reader(int aInt, String name, String birth, String address, int totalBorrow) {
        this.id = aInt;
        this.name = name;
        this.birth = birth;
        this.address = address;
        this.totalBorrow = totalBorrow;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

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

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public int getCurrentBorrow() {
        return currentBorrow;
    }

    public void setCurrentBorrow(int currentBorrow) {
        this.currentBorrow = currentBorrow;
    }

    public int getTotalBorrow() {
        return totalBorrow;
    }

    public void setTotalBorrow(int totalBorrow) {
        this.totalBorrow = totalBorrow;
    }
    
    
}