📄 personinfo.java
字号:
package com.gemt.privilege.struts;
import java.io.Serializable;
public class PersonInfo implements Serializable {
private static final long serialVersionUID = 5862434014495567596L;
private long id;
private String ppnm;
private long unid;
private String untdty;
private String offtel;
private String fax;
private String mobile;
private String hmtel;
private String srtno;
private String delst;
private String lddscd;
private String sex;
private String educ;
private String birth;
private int hasit;
public String getBirth() {
return birth;
}
public void setBirth(String birth) {
this.birth = birth;
}
public String getDelst() {
return delst;
}
public void setDelst(String delst) {
this.delst = delst;
}
public String getEduc() {
return educ;
}
public void setEduc(String educ) {
this.educ = educ;
}
public String getFax() {
return fax;
}
public void setFax(String fax) {
this.fax = fax;
}
public int getHasit() {
return hasit;
}
public void setHasit(int hasit) {
this.hasit = hasit;
}
public String getHmtel() {
return hmtel;
}
public void setHmtel(String hmtel) {
this.hmtel = hmtel;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getLddscd() {
return lddscd;
}
public void setLddscd(String lddscd) {
this.lddscd = lddscd;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getOfftel() {
return offtel;
}
public void setOfftel(String offtel) {
this.offtel = offtel;
}
public String getPpnm() {
return ppnm;
}
public void setPpnm(String ppnm) {
this.ppnm = ppnm;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getSrtno() {
return srtno;
}
public void setSrtno(String srtno) {
this.srtno = srtno;
}
public long getUnid() {
return unid;
}
public void setUnid(long unid) {
this.unid = unid;
}
public String getUntdty() {
return untdty;
}
public void setUntdty(String untdty) {
this.untdty = untdty;
}
@Override
public int hashCode() {
final int PRIME = 31;
int result = 1;
result = PRIME * result + ((birth == null) ? 0 : birth.hashCode());
result = PRIME * result + ((delst == null) ? 0 : delst.hashCode());
result = PRIME * result + ((educ == null) ? 0 : educ.hashCode());
result = PRIME * result + ((fax == null) ? 0 : fax.hashCode());
result = PRIME * result + hasit;
result = PRIME * result + ((hmtel == null) ? 0 : hmtel.hashCode());
result = PRIME * result + (int) (id ^ (id >>> 32));
result = PRIME * result + ((lddscd == null) ? 0 : lddscd.hashCode());
result = PRIME * result + ((mobile == null) ? 0 : mobile.hashCode());
result = PRIME * result + ((offtel == null) ? 0 : offtel.hashCode());
result = PRIME * result + ((ppnm == null) ? 0 : ppnm.hashCode());
result = PRIME * result + ((sex == null) ? 0 : sex.hashCode());
result = PRIME * result + ((srtno == null) ? 0 : srtno.hashCode());
result = PRIME * result + (int) (unid ^ (unid >>> 32));
result = PRIME * result + ((untdty == null) ? 0 : untdty.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final PersonInfo other = (PersonInfo) obj;
if (birth == null) {
if (other.birth != null)
return false;
} else if (!birth.equals(other.birth))
return false;
if (delst == null) {
if (other.delst != null)
return false;
} else if (!delst.equals(other.delst))
return false;
if (educ == null) {
if (other.educ != null)
return false;
} else if (!educ.equals(other.educ))
return false;
if (fax == null) {
if (other.fax != null)
return false;
} else if (!fax.equals(other.fax))
return false;
if (hasit != other.hasit)
return false;
if (hmtel == null) {
if (other.hmtel != null)
return false;
} else if (!hmtel.equals(other.hmtel))
return false;
if (id != other.id)
return false;
if (lddscd == null) {
if (other.lddscd != null)
return false;
} else if (!lddscd.equals(other.lddscd))
return false;
if (mobile == null) {
if (other.mobile != null)
return false;
} else if (!mobile.equals(other.mobile))
return false;
if (offtel == null) {
if (other.offtel != null)
return false;
} else if (!offtel.equals(other.offtel))
return false;
if (ppnm == null) {
if (other.ppnm != null)
return false;
} else if (!ppnm.equals(other.ppnm))
return false;
if (sex == null) {
if (other.sex != null)
return false;
} else if (!sex.equals(other.sex))
return false;
if (srtno == null) {
if (other.srtno != null)
return false;
} else if (!srtno.equals(other.srtno))
return false;
if (unid != other.unid)
return false;
if (untdty == null) {
if (other.untdty != null)
return false;
} else if (!untdty.equals(other.untdty))
return false;
return true;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -