⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 depotinfo.java

📁 Athena酒店小组_Athena酒店管理系统
💻 JAVA
字号:
/*
 * DepotInfo.java
 *
 * Created on 2007年6月4日, 上午12:15
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package jack;
import java.io.Serializable;
import java.util.*;

/**
 *
 * @author zzx
 */
public class DepotInfo implements Serializable{
    private String depotID;                   //仓库编号
    private String depotName;                 //仓库名称
    private String location;                  //仓库位置
    private String principal;                 //仓库负责人
    private String tel;                       //仓库电话
    private String remark;                    //备注
    
    /** Creates a new instance of DepotInfo */
    /**默认无参构造函数*/
    public DepotInfo() {
    }   
    
    /**
     *使用指定的值创建 Depot 的新实例.
     *@param _depotID Depot 的 depotID
     *@param _depotName Depot 的 depotName
     *@param _location Depot 的 location
     */
    public DepotInfo(String _depotID,String _depotName,String _location)
    {
        depotID=_depotID;
        depotName=_depotName;
        location=_location;
    }
    
    /**
     *使用指定的值创建 Depot 的新实例.
     *@param _depotID Depot 的 depotID
     *@param _depotName Depot 的 depotName
     *@param _location Depot 的 location
     *@param _principal Depot 的 principal
     *@param _tel Depot 的 tel
     *@param _remark Depot de remark
     */
    public DepotInfo(String _depotID,String _depotName,String _location,String _principal,String _tel,String _remark)
    {
        depotID=_depotID;
        depotName=_depotName;
        location=_location;
        principal=_principal;
        tel=_tel;
        remark=_remark;
    }
    
    /**
     * 获取此 Depot 的 depotId。
     * @return depotId
     */
    public String getDepotID()
    {
       return this.depotID; 
    }
    
    /**
     * 将此 Depot 的 depotId 设置为指定的值。
     * @param _depotId,新建 depotId
     */
    public void setDepotID(String _depotID)
    {
        this.depotID=_depotID;
    }
    
    /**
     * 获取此 Depot 的 depotName。
     * @return depotName
     */
    public String getDepotName()
    {
       return this.depotName; 
    }
    
    /**
     * 将此 Depot 的 depotName 设置为指定的值。
     * @param _depotName,新建 depotName
     */
    public void setDepotName(String _depotName)
    {
        this.depotName=_depotName;
    }
    
    /**
     * 获取此 Depot 的 location。
     * @return location
     */
    public String getLocation()
    {
       return this.location; 
    }
    
    /**
     * 将此 Depot 的 location 设置为指定的值。
     * @param _location,新建 location
     */
    public void setLocation(String _location)
    {
        this.location=_location;
    }
    
    /**
     * 获取此 Depot 的 principal。
     * @return principal
     */
    public String getPrincipal()
    {
       return this.principal; 
    }
    
    /**
     * 将此 Depot 的 principal 设置为指定的值。
     * @param _principal,新建 principal
     */
    public void setPrincipal(String _principal)
    {
        this.principal=_principal;
    }
    
    /**
     * 获取此 Depot 的 tel。
     * @return tel
     */
    public String geTtel()
    {
       return this.tel; 
    }
    
    /**
     * 将此 Depot 的 tel 设置为指定的值。
     * @param _tel,新建 tel
     */
    public void setTel(String _tel)
    {
        this.tel=_tel;
    }
    
    /**
     * 获取此 Depot 的 remark。
     * @return remark
     */
    public String getRemark()
    {
       return this.remark; 
    }
    
    /**
     * 将此 Depot 的 remark 设置为指定的值。
     * @param _remark,新建 remark
     */
    public void setRemark(String _remark)
    {
        this.remark=_remark;
    }    
}

⌨️ 快捷键说明

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