borrowbookform.java
来自「图书管理系统。JSP+Struts(MVC框架)sql2000数据库」· Java 代码 · 共 129 行
JAVA
129 行
package com.actionForm;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;
public class BorrowBookForm extends ActionForm {
//借阅管理属性
private String bookAuthor="";
private String bookName="";
private String bookPunbilc="";
private String overTime="";
private String readerCard="";
private String startTime="";
private int booklink=0;
private Integer id;
private float bookPrice=0;
private float lendPrice=0;
private String lend="";
private String operation="";
public String getBookAuthor() {
return bookAuthor;
}
public void setBookAuthor(String bookAuthor) {
this.bookAuthor = bookAuthor;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public void setReaderCard(String readerCard) {
this.readerCard = readerCard;
}
public void setOverTime(String overTime) {
this.overTime = overTime;
}
public void setBookPunbilc(String bookPunbilc) {
this.bookPunbilc = bookPunbilc;
}
public void setBookName(String bookName) {
this.bookName = bookName;
}
public void setBooklink(int booklink) {
this.booklink = booklink;
}
public void setId(Integer id) {
this.id = id;
}
public void setBookPrice(float bookPrice) {
this.bookPrice = bookPrice;
}
public void setLendPrice(float lendPrice) {
this.lendPrice = lendPrice;
}
public void setLend(String lend) {
this.lend = lend;
}
public void setOperation(String operation) {
this.operation = operation;
}
public String getBookName() {
return bookName;
}
public String getBookPunbilc() {
return bookPunbilc;
}
public String getOverTime() {
return overTime;
}
public String getReaderCard() {
return readerCard;
}
public String getStartTime() {
return startTime;
}
public int getBooklink() {
return booklink;
}
public Integer getId() {
return id;
}
public float getBookPrice() {
return bookPrice;
}
public float getLendPrice() {
return lendPrice;
}
public String getLend() {
return lend;
}
public String getOperation() {
return operation;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
/** @todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest servletRequest) {
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?