📄 contactform.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-28-2007
*
* XDoclet definition:
* @struts.form name="contactForm"
*/
public class ContactForm extends ActionForm {
/*
* Generated fields
*/
private String contactId;
private String employee;
private String enterprise;
/** sex property */
private String sex;
/** contact property */
private String contact;
/** mobile property */
private String mobile;
/** position property */
private String position;
/** birth property */
private String birth;
/** description property */
private String description;
/** intro property */
private String intro;
/** customer property */
private String customer;
/** email property */
private String email;
/** tel property */
private String tel;
/*
* Generated Methods
*/
public String getEnterprise() {
return enterprise;
}
public void setEnterprise(String enterprise) {
this.enterprise = enterprise;
}
/**
* 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 sex.
* @return String
*/
public String getSex() {
return sex;
}
/**
* Set the sex.
* @param sex The sex to set
*/
public void setSex(String sex) {
this.sex = sex;
}
/**
* Returns the contact.
* @return String
*/
public String getContact() {
return contact;
}
/**
* Set the contact.
* @param contact The contact to set
*/
public void setContact(String contact) {
this.contact = contact;
}
/**
* Returns the mobile.
* @return String
*/
public String getMobile() {
return mobile;
}
/**
* Set the mobile.
* @param mobile The mobile to set
*/
public void setMobile(String mobile) {
this.mobile = mobile;
}
/**
* Returns the position.
* @return String
*/
public String getPosition() {
return position;
}
/**
* Set the position.
* @param position The position to set
*/
public void setPosition(String position) {
this.position = position;
}
/**
* Returns the birth.
* @return String
*/
public String getBirth() {
return birth;
}
/**
* Set the birth.
* @param birth The birth to set
*/
public void setBirth(String birth) {
this.birth = birth;
}
/**
* 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 intro.
* @return String
*/
public String getIntro() {
return intro;
}
/**
* Set the intro.
* @param intro The intro to set
*/
public void setIntro(String intro) {
this.intro = intro;
}
/**
* Returns the customer.
* @return String
*/
public String getCustomer() {
return customer;
}
/**
* Set the customer.
* @param customer The customer to set
*/
public void setCustomer(String customer) {
this.customer = customer;
}
/**
* 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 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 getContactId() {
return contactId;
}
public void setContactId(String contactId) {
this.contactId = contactId;
}
public String getEmployee() {
return employee;
}
public void setEmployee(String employee) {
this.employee = employee;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -