saleform.java

来自「Java企业级开发项目实践,这是他的附光盘」· Java 代码 · 共 69 行

JAVA
69
字号
//---------------------------------------------------------
// Application: eShop of Network
// Author     : eSingle
// File       : SaleForm.java
//
// Copyright 2002 LandSoft Corp.
//
// Generated at Mon Nov 18 20:15:26 CST 2002
// Created by caoguangxin
// mailto:gxcao@mail.tsinghua.edu.cn
//---------------------------------------------------------

package com.landsoft.eshop.controller;

import org.apache.struts.action.*;
import org.apache.struts.validator.*;

import com.landsoft.eshop.model.*;

public class SaleForm extends ValidatorForm {
  public final static int ADD = 1;
  public final static int EDIT = 2;
  private int strutsAction;
  private String strutsButton = "";
  private String address = "";
  private String phone = "";
  private String mobile = "";
  private String salename = "";

  public int getStrutsAction() {
    return strutsAction;
  }
  public String getStrutsButton() {
    return strutsButton;
  }
  public String getAddress() {
    return address;
  }
  public String getPhone() {
    return phone;
  }
  public String getMobile() {
    return mobile;
  }
  public String getSalename() {
    return salename;
  }

  public void setStrutsAction(int strutsAction) {
    this.strutsAction = strutsAction;
  }
  public void setStrutsButton(String strutsButton) {
    this.strutsButton = strutsButton;
  }
  public void setAddress(String address) {
    this.address = address;
  }
  public void setPhone(String phone) {
    this.phone = phone;
  }
  public void setMobile(String mobile) {
    this.mobile = mobile;
  }
  public void setSalename(String salename) {
    this.salename = salename;
  }

}

⌨️ 快捷键说明

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