d03990d07630001d1f81bebe3c68a6df

来自「客户关系管理系统主要管理新老客户的一些信息并可以发现潜在客户」· 代码 · 共 157 行

TXT
157
字号
/**
 * 
 */
package com.qrsx.qrsxcrm.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

import com.qrsx.qrsxcrm.model.Client;
import com.qrsx.qrsxcrm.model.Employee;

/**
 * @author Administrator
 *
 */
public class ChanceForm extends ActionForm
{
	private String id;		//主键
	private String motif;		//主题
	private String clientId;		//销售对象客户(一对一)
	private String employeeId;		//负责人(一对一)
	private String self;		//公司优势
	private String rival;		//对手优势
	private String probability;		//成功几率
	private String remark;		//备注
	private String balance;		//预计成交金额
	
//	/**
//	 * FORM表单验证
//	 */
//	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//		
//		ActionErrors errors = new ActionErrors();
//		if((clientId == null)||(clientId.length()<1)){
//			errors.add("clientId",new ActionMessage("sale.chance.clientId"));
//		}
//		if((employeeId == null)||(employeeId.length()<1)){
//			errors.add("employeeId",new ActionMessage("sale.chance.employeeId"));
//		}
//		return errors;
//	}
	
	/**
	 * @return the balance
	 */
	public String getBalance() {
		return balance;
	}
	/**
	 * @param balance the balance to set
	 */
	public void setBalance(String balance) {
		this.balance = balance;
	}
	/**
	 * @return the clientId
	 */
	public String getClientId() {
		return clientId;
	}
	/**
	 * @param clientId the clientId to set
	 */
	public void setClientId(String clientId) {
		this.clientId = clientId;
	}
	/**
	 * @return the employeeId
	 */
	public String getEmployeeId() {
		return employeeId;
	}
	/**
	 * @param employeeId the employeeId to set
	 */
	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the motif
	 */
	public String getMotif() {
		return motif;
	}
	/**
	 * @param motif the motif to set
	 */
	public void setMotif(String motif) {
		this.motif = motif;
	}
	/**
	 * @return the probability
	 */
	public String getProbability() {
		return probability;
	}
	/**
	 * @param probability the probability to set
	 */
	public void setProbability(String probability) {
		this.probability = probability;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * @return the rival
	 */
	public String getRival() {
		return rival;
	}
	/**
	 * @param rival the rival to set
	 */
	public void setRival(String rival) {
		this.rival = rival;
	}
	/**
	 * @return the self
	 */
	public String getSelf() {
		return self;
	}
	/**
	 * @param self the self to set
	 */
	public void setSelf(String self) {
		this.self = self;
	}

}

⌨️ 快捷键说明

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