warehousevo.java

来自「这是一个java编写的程序」· Java 代码 · 共 66 行

JAVA
66
字号
package com.taursys.examples.simpleweb.delegate;import java.io.Serializable;/** * Value Object * @author Marty Phelan * @version 1.0 */public class WarehouseVO implements Serializable {  private int warehouseID;  private String description;  /**   * Constructs a new WarehouseVO with default values.   */  public WarehouseVO() {  }  /**   * Constructs a new WarehouseVO with given values.   * @param warehouseID the unique identifier for this warehouse.   * @param description the description for this warehouse.   */  public WarehouseVO(      int warehouseID      ,String description      ) {    this.warehouseID = warehouseID;    this.description = description;  }  /**   * Set the unique identifier for this warehouse.   * @param warehouseID the unique identifier for this warehouse.   */  public void setWarehouseID(int warehouseID) {    this.warehouseID = warehouseID;  }  /**   * Get the unique identifier for this warehouse.   * @return the unique identifier for this warehouse.   */  public int getWarehouseID() {    return warehouseID;  }  /**   * Set the description for this warehouse.   * @param description the description for this warehouse.   */  public void setDescription(String description) {    this.description = description;  }  /**   * Get the description for this warehouse.   * @return the description for this warehouse.   */  public String getDescription() {    return description;  }}

⌨️ 快捷键说明

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