bookclass.java~1~
上传用户:tanyanyong
上传日期:2013-06-23
资源大小:1355k
文件大小:1k
- package bookshop.book;
- /**
- * <p>Title: </p>
- * <p>Description: </p>
- * <p>Copyright: Copyright (c) 2004</p>
- * <p>Company: </p>
- * @author not attributable
- * @version 1.0
- */
- public class bookclass {
- private int Id; //ID序列号
- private String ClassName; //图书类别
- public bookclass() {
- Id = 0;
- ClassName = "";
- }
- public bookclass(int newId, String newname) {
- Id = newId;
- ClassName = newname;
- }
- public int getId() {
- return Id;
- }
- public void setId (int newId) {
- this.Id = newId;
- }
- public String getClassName() {
- return ClassName;
- }
- public void setClassName(String newname) {
- this.ClassName = newname;
- }
- }