1 2 3 4

12.14

计划用layui模板写一个简单图书信息管理系统,其中又增删改查的功能,还有一个能够分类查看的功能。

理了理整体思路。

大概确定了一下图书的信息如下:

package bean;

public class info {
    private String author;
    private String ISBN;
    private String banname;
    private String category;
    private String introduction;
    private String evaluate;
    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public String getISBN() {
        return ISBN;
    }
    public void setISBN(String iSBN) {
        ISBN = iSBN;
    }
    public String getBanname() {
        return banname;
    }
    public void setBanname(String banname) {
        this.banname = banname;
    }
    public String getCategory() {
        return category;
    }
    public void setCategory(String category) {
        this.category = category;
    }
    public String getIntroduction() {
        return introduction;
    }
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
    public String getEvaluate() {
        return evaluate;
    }
    public void setEvaluate(String evaluate) {
        this.evaluate = evaluate;
    }
    public info(String author, String iSBN, String banname, String category, String introduction, String evaluate) {
        super();
        // TODO Auto-generated constructor stub
        this.author = author;
        this.ISBN = iSBN;
        this.banname = banname;
        this.category = category;
        this.introduction = introduction;
        this.evaluate = evaluate;
        
    }
    public info() {
        super();
        // TODO Auto-generated constructor stub
    }
    @Override
    public String toString() {
        return "info [author=" + author + ", ISBN=" + ISBN + ", banname=" + banname
                + ", category=" + category + ", introduction=" + introduction + 
                ", evaluate=" + evaluate+"]";
    }
}

好了,这个系统就开始写了。加油!

posted @ 2020-12-14 22:35  小陈的太阳  阅读(81)  评论(0编辑  收藏  举报