contactform.java
来自「Java企业级开发项目实践,这是他的附光盘」· Java 代码 · 共 83 行
JAVA
83 行
//---------------------------------------------------------
// Application: Crm of Enterprice
// Author : eSingle
// File : ContactForm.java
//
// Copyright 2002 LandSoft Corp.
//
// Generated at Mon Nov 18 22:41:11 CST 2002
// Created by caoguangxin
// mailto:gxcao@mail.tsinghua.edu.cn
//---------------------------------------------------------
package com.landsoft.crm.controller;
import org.apache.struts.action.*;
import org.apache.struts.validator.*;
import com.landsoft.crm.model.*;
public class ContactForm extends ValidatorForm {
public final static int ADD = 1;
public final static int EDIT = 2;
private int strutsAction;
private String strutsButton = "";
private String sex = "";
private String phone = "";
private String mobile = "";
private String address = "";
private String contactname = "";
private String clientname = "";
public int getStrutsAction() {
return strutsAction;
}
public String getStrutsButton() {
return strutsButton;
}
public String getSex() {
return sex;
}
public String getPhone() {
return phone;
}
public String getMobile() {
return mobile;
}
public String getAddress() {
return address;
}
public String getContactname() {
return contactname;
}
public String getClientname() {
return clientname;
}
public void setStrutsAction(int strutsAction) {
this.strutsAction = strutsAction;
}
public void setStrutsButton(String strutsButton) {
this.strutsButton = strutsButton;
}
public void setSex(String sex) {
this.sex = sex;
}
public void setPhone(String phone) {
this.phone = phone;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public void setAddress(String address) {
this.address = address;
}
public void setContactname(String contactname) {
this.contactname = contactname;
}
public void setClientname(String clientname) {
this.clientname = clientname;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?