首页>代码>java控制台图书馆管理系统>/library/src/com/test/library/newlib/Books.java
package com.test.library.newlib;

//图书类
public class Books {

	private String bid; // 图书编号
	private String name;// 书名
	private String author;// 作者
	private String press;// 出版社
	private int number;// 数量

	Books(String bid, String name, String author, String press, int number) {
		this.bid = bid;
		this.author = author;
		this.name = name;
		this.press = press;
		this.number = number;
	}

	public String getBid() {
		return bid;
	}

	public void setBid(String bid) {
		this.bid = bid;
	}

	public String getName() {
		return name;
	}

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

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPress() {
		return press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	@Override
	public String toString() {
		return "[  图书id:   " + bid + ", 书名:  " + name + ", 作者:  " + author + ", 出版社:  " + press + ", 馆藏数量:  " + number
				+ "]";
	}

}
最近下载更多
xiaoyu111ewsd  LV4 1月7日
叼哉0909  LV1 2023年12月18日
upup996  LV6 2023年9月21日
poipoiiop  LV8 2023年1月8日
52java  LV1 2022年12月22日
15342201772  LV7 2022年12月4日
18871201024  LV4 2022年12月4日
GYYYYG  LV1 2022年11月20日
rongyu  LV1 2022年10月16日
努力的小白程序员  LV3 2022年6月23日
最近浏览更多
朱俪的邮件及存储  LV8 3月26日
周青松197  LV2 3月12日
xiaoyu111ewsd  LV4 1月7日
3608478377 1月5日
暂无贡献等级
zsh040214 1月4日
暂无贡献等级
jiayongchao258  LV9 2023年12月28日
asddwh  LV12 2023年12月26日
ddzfgh  LV1 2023年12月25日
lijaiqi775  LV1 2023年12月25日
gecongkai  LV8 2023年12月24日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友