package com.derys.crm.dto;
import java.io.Serializable;
public class ContactDTO
implements Serializable {
private Integer objid;
private String firstName;
private String lastName;
private String phone;
private String faxNumber;
private String eMail;
private String title;
private String salutation;
private String address1;
private String address2;
private String city;
private String state;
private String zipcode;
private String country;
private Integer status;
private String updateStamp;
public Integer getObjid() {
return objid;
}
public void setObjid(Integer objid) {
this.objid = objid;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getFaxNumber() {
return faxNumber;
}
public void setFaxNumber(String faxNumber) {
this.faxNumber = faxNumber;
}
public String getEMail() {
return eMail;
}
public void setEMail(String eMail) {
this.eMail = eMail;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getSalutation() {
return salutation;
}
public void setSalutation(String salutation) {
this.salutation = salutation;
}
public String getAddress1() {
return address1;
}
public void setAddress1(String address1) {
this.address1 = address1;
}
public String getAddress2() {
return address2;
}
public void setAddress2(String address2) {
this.address2 = address2;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getZipcode() {
return zipcode;
}
public void setZipcode(String zipcode) {
this.zipcode = zipcode;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getUpdateStamp() {
return updateStamp;
}
public void setUpdateStamp(String updateStamp) {
this.updateStamp = updateStamp;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (! (obj instanceof ContactDTO)) {
return false;
}
ContactDTO that = (ContactDTO) obj;
if (! (that.objid == null ? this.objid == null :
that.objid.equals(this.objid))) {
return false;
}
if (! (that.firstName == null ? this.firstName == null :
that.firstName.equals(this.firstName))) {
return false;
}
if (! (that.lastName == null ? this.lastName == null :
that.lastName.equals(this.lastName))) {
return false;
}
if (! (that.phone == null ? this.phone == null :
that.phone.equals(this.phone))) {
return false;
}
if (! (that.faxNumber == null ? this.faxNumber == null :
that.faxNumber.equals(this.faxNumber))) {
return false;
}
if (! (that.eMail == null ? this.eMail == null :
that.eMail.equals(this.eMail))) {
return false;
}
if (! (that.title == null ? this.title == null :
that.title.equals(this.title))) {
return false;
}
if (! (that.salutation == null ? this.salutation == null :
that.salutation.equals(this.salutation))) {
return false;
}
if (! (that.address1 == null ? this.address1 == null :
that.address1.equals(this.address1))) {
return false;
}
if (! (that.address2 == null ? this.address2 == null :
that.address2.equals(this.address2))) {
return false;
}
if (! (that.city == null ? this.city == null : that.city.equals(this.city))) {
return false;
}
if (! (that.state == null ? this.state == null :
that.state.equals(this.state))) {
return false;
}
if (! (that.zipcode == null ? this.zipcode == null :
that.zipcode.equals(this.zipcode))) {
return false;
}
if (! (that.country == null ? this.country == null :
that.country.equals(this.country))) {
return false;
}
if (! (that.status == null ? this.status == null :
that.status.equals(this.status))) {
return false;
}
if (! (that.updateStamp == null ? this.updateStamp == null :
that.updateStamp.equals(this.updateStamp))) {
return false;
}
return true;
}
public int hashCode() {
int result = 17;
result = 37 * result + this.objid.hashCode();
result = 37 * result + this.firstName.hashCode();
result = 37 * result + this.lastName.hashCode();
result = 37 * result + this.phone.hashCode();
result = 37 * result + this.faxNumber.hashCode();
result = 37 * result + this.eMail.hashCode();
result = 37 * result + this.title.hashCode();
result = 37 * result + this.salutation.hashCode();
result = 37 * result + this.address1.hashCode();
result = 37 * result + this.address2.hashCode();
result = 37 * result + this.city.hashCode();
result = 37 * result + this.state.hashCode();
result = 37 * result + this.zipcode.hashCode();
result = 37 * result + this.country.hashCode();
result = 37 * result + this.status.hashCode();
result = 37 * result + this.updateStamp.hashCode();
return result;
}
public String toString() {
String returnString = "";
returnString += objid;
returnString += ", " + firstName;
returnString += ", " + lastName;
returnString += ", " + phone;
returnString += ", " + faxNumber;
returnString += ", " + eMail;
returnString += ", " + title;
returnString += ", " + salutation;
returnString += ", " + address1;
returnString += ", " + address2;
returnString += ", " + city;
returnString += ", " + state;
returnString += ", " + zipcode;
returnString += ", " + country;
returnString += ", " + status;
returnString += ", " + updateStamp;
return returnString;
}
}
EJB-Struts
需积分: 0 201 浏览量
2008-07-04
19:41:19
上传
评论
收藏 6.61MB RAR 举报
ivanbf
- 粉丝: 4
- 资源: 1
最新资源
- (大赛作品)STM32实现的F072RB NUCLEO智能家居控制.zip
- STM32实现的数字示波器源码+数字信号处理教程、配套实例.zip
- 【cookie续续】【cookie续续】【cookie续续】
- 低功耗STM32实现的F411开发板(原理图+PCB源文件+官方例程+驱动等).zip
- 基于stm32实现的 nucleo-L476的智能灯(操作说明+源码).zip
- 基于STM32实现的 NUCLEO板设计彩色LED照明灯(纯cubeMX开发).zip
- 基于STM32实现的 的联合调试侦听设备解决方案(原理图、PCB源文件、调试工具、视频).zip
- 基于STM32实现的 人群定位、调速智能风扇设计(程序、设计报告、视频演示).zip
- 哔哩下载姬(DownKyi)
- 千纬认字app再次更新,增加部首、笔画动画功能
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0