orderto.java

来自「struts的一些用的书籍」· Java 代码 · 共 43 行

JAVA
43
字号
package app19a.to;

import java.util.Date;

public class OrderTO implements java.io.Serializable {
  private int productId;
  private String customer;
  private int quantity;
  private float price;
  private Date orderDate;
  
  public int getProductId() {
    return productId;
  }
  public void setProductId(int productId) {
    this.productId = productId;
  }
  public String getCustomer() {
    return customer;
  }
  public void setCustomer(String customer) {
    this.customer = customer;
  }
  public int getQuantity() {
    return quantity;
  }
  public void setQuantity(int quantity) {
    this.quantity = quantity;
  }
  public float getPrice() {
      return price;
  }
  public void setPrice(float price) {
      this.price = price;
  }  
  public Date getOrderDate() {
      return orderDate;
	}
  public void setOrderDate(Date orderDate) {
      this.orderDate = orderDate;
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?