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

📄 customerform.java

📁 基于SSH (struts+spring+hibernate)框架设计的 CRM客户关系管理系统
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.csu.crm.customer.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 * MyEclipse Struts Creation date: 09-26-2007
 * 
 * XDoclet definition:
 * 
 * @struts.form name="customerForm"
 */
public class CustomerForm extends ActionForm {
	/*
	 * Generated fields
	 */
	private String customerId;
	/** account property */
	private String account;

	/** property property */
	private String property;

	/** cuState property */
	private String cuState;

	/** addr property */
	private String addr;

	/** legalRepr property */
	private String legalRepr;

	/** fax property */
	private String fax;

	/** cuLev property */
	private String cuLev;

	/** bank property */
	private String bank;

	/** industry property */
	private String industry;

	/** credit property */
	private String credit;

	/** site property */
	private String site;

	/** description property */
	private String description;

	/** enterprise property */
	private String enterprise;

	/** tax property */
	private String tax;

	/** email property */
	private String email;

	/** area property */
	private String area;

	/** tel property */
	private String tel;

	/*
	 * Generated Methods
	 */

	/**
	 * Method validate
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Method reset
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	/**
	 * Returns the account.
	 * 
	 * @return String
	 */
	public String getAccount() {
		return account;
	}

	/**
	 * Set the account.
	 * 
	 * @param account
	 *            The account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	/**
	 * Returns the property.
	 * 
	 * @return String
	 */
	public String getProperty() {
		return property;
	}

	/**
	 * Set the property.
	 * 
	 * @param property
	 *            The property to set
	 */
	public void setProperty(String property) {
		this.property = property;
	}

	/**
	 * Returns the cuState.
	 * 
	 * @return String
	 */
	public String getCuState() {
		return cuState;
	}

	/**
	 * Set the cuState.
	 * 
	 * @param cuState
	 *            The cuState to set
	 */
	public void setCuState(String cuState) {
		this.cuState = cuState;
	}

	/**
	 * Returns the addr.
	 * 
	 * @return String
	 */
	public String getAddr() {
		return addr;
	}

	/**
	 * Set the addr.
	 * 
	 * @param addr
	 *            The addr to set
	 */
	public void setAddr(String addr) {
		this.addr = addr;
	}

	/**
	 * Returns the legalRepr.
	 * 
	 * @return String
	 */
	public String getLegalRepr() {
		return legalRepr;
	}

	/**
	 * Set the legalRepr.
	 * 
	 * @param legalRepr
	 *            The legalRepr to set
	 */
	public void setLegalRepr(String legalRepr) {
		this.legalRepr = legalRepr;
	}

	/**
	 * Returns the fax.
	 * 
	 * @return String
	 */
	public String getFax() {
		return fax;
	}

	/**
	 * Set the fax.
	 * 
	 * @param fax
	 *            The fax to set
	 */
	public void setFax(String fax) {
		this.fax = fax;
	}

	/**
	 * Returns the cuLev.
	 * 
	 * @return String
	 */
	public String getCuLev() {
		return cuLev;
	}

	/**
	 * Set the cuLev.
	 * 
	 * @param cuLev
	 *            The cuLev to set
	 */
	public void setCuLev(String cuLev) {
		this.cuLev = cuLev;
	}

	/**
	 * Returns the bank.
	 * 
	 * @return String
	 */
	public String getBank() {
		return bank;
	}

	/**
	 * Set the bank.
	 * 
	 * @param bank
	 *            The bank to set
	 */
	public void setBank(String bank) {
		this.bank = bank;
	}

	/**
	 * Returns the industry.
	 * 
	 * @return String
	 */
	public String getIndustry() {
		return industry;
	}

	/**
	 * Set the industry.
	 * 
	 * @param industry
	 *            The industry to set
	 */
	public void setIndustry(String industry) {
		this.industry = industry;
	}

	/**
	 * Returns the credit.
	 * 
	 * @return String
	 */
	public String getCredit() {
		return credit;
	}

	/**
	 * Set the credit.
	 * 
	 * @param credit
	 *            The credit to set
	 */
	public void setCredit(String credit) {
		this.credit = credit;
	}

	/**
	 * Returns the site.
	 * 
	 * @return String
	 */
	public String getSite() {
		return site;
	}

	/**
	 * Set the site.
	 * 
	 * @param site
	 *            The site to set
	 */
	public void setSite(String site) {
		this.site = site;
	}

	/**
	 * Returns the description.
	 * 
	 * @return String
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Set the description.
	 * 
	 * @param description
	 *            The description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Returns the enterprise.
	 * 
	 * @return String
	 */
	public String getEnterprise() {
		return enterprise;
	}

	/**
	 * Set the enterprise.
	 * 
	 * @param enterprise
	 *            The enterprise to set
	 */
	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}

	/**
	 * Returns the tax.
	 * 
	 * @return String
	 */
	public String getTax() {
		return tax;
	}

	/**
	 * Set the tax.
	 * 
	 * @param tax
	 *            The tax to set
	 */
	public void setTax(String tax) {
		this.tax = tax;
	}

	/**
	 * Returns the email.
	 * 
	 * @return String
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Set the email.
	 * 
	 * @param email
	 *            The email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * Returns the area.
	 * 
	 * @return String
	 */
	public String getArea() {
		return area;
	}

	/**
	 * Set the area.
	 * 
	 * @param area
	 *            The area to set
	 */
	public void setArea(String area) {
		this.area = area;
	}

	/**
	 * Returns the tel.
	 * 
	 * @return String
	 */
	public String getTel() {
		return tel;
	}

	/**
	 * Set the tel.
	 * 
	 * @param tel
	 *            The tel to set
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}


	public String toString() {
		return this.getAccount() + "--" + this.getAddr() + "--"
				+ this.getArea() + "--" + this.getBank() + "--"
				+ this.getCredit() + "--" + this.getCuLev() + "--"
				+ this.getCuState() + "--" + this.getDescription() + "--"
				+ this.getEmail() + "--" + this.getEnterprise() + "--"
				+ this.getFax() + "--" + this.getIndustry() + "--"
				+ this.getLegalRepr() + "--" + this.getSite() + "--"
				+ this.getTax() + "--" + this.getTel();
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
}

⌨️ 快捷键说明

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