bookclass.java~1~
资源名称:bookshop.zip [点击查看]
上传用户:sxlinghang
上传日期:2022-07-20
资源大小:1405k
文件大小:1k
源码类别:
数据库编程
开发平台:
Java
- 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;
- }
- }