From 34ff6840782e359ef5a713fb99d7eb74b0bb9682 Mon Sep 17 00:00:00 2001 From: ptxkc5lo2 <2655184359@qq.com> Date: Thu, 30 Jun 2022 10:03:44 +0800 Subject: [PATCH] ADD file via upload --- BookInfo.java | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 BookInfo.java diff --git a/BookInfo.java b/BookInfo.java new file mode 100644 index 0000000..7180c83 --- /dev/null +++ b/BookInfo.java @@ -0,0 +1,99 @@ +package com.yx.po; + +import java.io.Serializable; +import java.util.Date; + +public class BookInfo implements Serializable { + private Integer id; + private String name; + private String author; + private String publish; + private String isbn; + private String introduction; + private String language; + private Double price; + private Date publishDate; + private Integer typeId; + private Integer status; + private TypeInfo typeInfo;//图书类型,在图书馆里中显示什么类型的书 + private Integer counts; + public Integer getCounts() { + return counts; + } + public void setCounts(Integer counts) { + this.counts = counts; + } + public TypeInfo getTypeInfo() { + return typeInfo; + } + public void setTypeInfo(TypeInfo typeInfo) { + this.typeInfo = typeInfo; + } + private static final long serialVersionUID = 1L; + public Integer getId() { + return id; + } + public void setId(Integer id) { + this.id = id; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + public String getAuthor() { + return author; + } + public void setAuthor(String author) { + this.author = author == null ? null : author.trim(); + } + public String getPublish() { + return publish; + } + public void setPublish(String publish) { + this.publish = publish == null ? null : publish.trim(); + } + public String getIsbn() { + return isbn; + } + public void setIsbn(String isbn) { + this.isbn = isbn == null ? null : isbn.trim(); + } + public String getIntroduction() { + return introduction; + } + public void setIntroduction(String introduction) { + this.introduction = introduction == null ? null : introduction.trim(); + } + public String getLanguage() { + return language; + } + public void setLanguage(String language) { + this.language = language == null ? null : language.trim(); + } + public Double getPrice() { + return price; + } + public void setPrice(Double price) { + this.price = price; + } + public Date getPublishDate() { + return publishDate; + } + public void setPublishDate(Date publishDate) { + this.publishDate = publishDate; + } + public Integer getTypeId() { + return typeId; + } + public void setTypeId(Integer typeId) { + this.typeId = typeId; + } + public Integer getStatus() { + return status; + } + public void setStatus(Integer status) { + this.status = status; + } +} \ No newline at end of file