|
|
|
@ -0,0 +1,241 @@
|
|
|
|
|
package top.ezzd.pojo;
|
|
|
|
|
|
|
|
|
|
public class Department {
|
|
|
|
|
private String uname;//<2F>û<EFBFBD><C3BB><EFBFBD>
|
|
|
|
|
private String name;//<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
private String gender;//<2F>Ա<EFBFBD>
|
|
|
|
|
private String age;//<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
private String jointime;
|
|
|
|
|
private String de;//<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
private String phonenum;//<2F>ֻ<EFBFBD><D6BB><EFBFBD>
|
|
|
|
|
private String qqnum;
|
|
|
|
|
private String college;//ѧԺ
|
|
|
|
|
private String collegename;
|
|
|
|
|
private String classno;
|
|
|
|
|
private String job;
|
|
|
|
|
private String grade;
|
|
|
|
|
private String home;
|
|
|
|
|
private String photopath;
|
|
|
|
|
private String email;
|
|
|
|
|
public String getUname() {
|
|
|
|
|
return uname;
|
|
|
|
|
}
|
|
|
|
|
public void setUname(String uname) {
|
|
|
|
|
this.uname = uname;
|
|
|
|
|
}
|
|
|
|
|
public String getName() {
|
|
|
|
|
return name;
|
|
|
|
|
}
|
|
|
|
|
public void setName(String name) {
|
|
|
|
|
this.name = name;
|
|
|
|
|
}
|
|
|
|
|
public String getGender() {
|
|
|
|
|
return gender;
|
|
|
|
|
}
|
|
|
|
|
public void setGender(String gender) {
|
|
|
|
|
this.gender = gender;
|
|
|
|
|
}
|
|
|
|
|
public String getAge() {
|
|
|
|
|
return age;
|
|
|
|
|
}
|
|
|
|
|
public void setAge(String age) {
|
|
|
|
|
this.age = age;
|
|
|
|
|
}
|
|
|
|
|
public String getJointime() {
|
|
|
|
|
return jointime;
|
|
|
|
|
}
|
|
|
|
|
public void setJointime(String jointime) {
|
|
|
|
|
this.jointime = jointime;
|
|
|
|
|
}
|
|
|
|
|
public String getDe() {
|
|
|
|
|
return de;
|
|
|
|
|
}
|
|
|
|
|
public void setDe(String de) {
|
|
|
|
|
this.de = de;
|
|
|
|
|
}
|
|
|
|
|
public String getPhonenum() {
|
|
|
|
|
return phonenum;
|
|
|
|
|
}
|
|
|
|
|
public void setPhonenum(String phonenum) {
|
|
|
|
|
this.phonenum = phonenum;
|
|
|
|
|
}
|
|
|
|
|
public String getQqnum() {
|
|
|
|
|
return qqnum;
|
|
|
|
|
}
|
|
|
|
|
public void setQqnum(String qqnum) {
|
|
|
|
|
this.qqnum = qqnum;
|
|
|
|
|
}
|
|
|
|
|
public String getCollege() {
|
|
|
|
|
return college;
|
|
|
|
|
}
|
|
|
|
|
public void setCollege(String college) {
|
|
|
|
|
this.college = college;
|
|
|
|
|
}
|
|
|
|
|
public String getCollegename() {
|
|
|
|
|
return collegename;
|
|
|
|
|
}
|
|
|
|
|
public void setCollegename(String collegename) {
|
|
|
|
|
this.collegename = collegename;
|
|
|
|
|
}
|
|
|
|
|
public String getClassno() {
|
|
|
|
|
return classno;
|
|
|
|
|
}
|
|
|
|
|
public void setClassno(String classno) {
|
|
|
|
|
this.classno = classno;
|
|
|
|
|
}
|
|
|
|
|
public String getJob() {
|
|
|
|
|
return job;
|
|
|
|
|
}
|
|
|
|
|
public void setJob(String job) {
|
|
|
|
|
this.job = job;
|
|
|
|
|
}
|
|
|
|
|
public String getGrade() {
|
|
|
|
|
return grade;
|
|
|
|
|
}
|
|
|
|
|
public void setGrade(String grade) {
|
|
|
|
|
this.grade = grade;
|
|
|
|
|
}
|
|
|
|
|
public String getHome() {
|
|
|
|
|
return home;
|
|
|
|
|
}
|
|
|
|
|
public void setHome(String home) {
|
|
|
|
|
this.home = home;
|
|
|
|
|
}
|
|
|
|
|
public String getPhotopath() {
|
|
|
|
|
return photopath;
|
|
|
|
|
}
|
|
|
|
|
public void setPhotopath(String photopath) {
|
|
|
|
|
this.photopath = photopath;
|
|
|
|
|
}
|
|
|
|
|
public String getEmail() {
|
|
|
|
|
return email;
|
|
|
|
|
}
|
|
|
|
|
public void setEmail(String email) {
|
|
|
|
|
this.email = email;
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public int hashCode() {
|
|
|
|
|
final int prime = 31;
|
|
|
|
|
int result = 1;
|
|
|
|
|
result = prime * result + ((age == null) ? 0 : age.hashCode());
|
|
|
|
|
result = prime * result + ((classno == null) ? 0 : classno.hashCode());
|
|
|
|
|
result = prime * result + ((college == null) ? 0 : college.hashCode());
|
|
|
|
|
result = prime * result + ((collegename == null) ? 0 : collegename.hashCode());
|
|
|
|
|
result = prime * result + ((de == null) ? 0 : de.hashCode());
|
|
|
|
|
result = prime * result + ((email == null) ? 0 : email.hashCode());
|
|
|
|
|
result = prime * result + ((gender == null) ? 0 : gender.hashCode());
|
|
|
|
|
result = prime * result + ((grade == null) ? 0 : grade.hashCode());
|
|
|
|
|
result = prime * result + ((home == null) ? 0 : home.hashCode());
|
|
|
|
|
result = prime * result + ((job == null) ? 0 : job.hashCode());
|
|
|
|
|
result = prime * result + ((jointime == null) ? 0 : jointime.hashCode());
|
|
|
|
|
result = prime * result + ((name == null) ? 0 : name.hashCode());
|
|
|
|
|
result = prime * result + ((phonenum == null) ? 0 : phonenum.hashCode());
|
|
|
|
|
result = prime * result + ((photopath == null) ? 0 : photopath.hashCode());
|
|
|
|
|
result = prime * result + ((qqnum == null) ? 0 : qqnum.hashCode());
|
|
|
|
|
result = prime * result + ((uname == null) ? 0 : uname.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;
|
|
|
|
|
Department other = (Department) obj;
|
|
|
|
|
if (age == null) {
|
|
|
|
|
if (other.age != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!age.equals(other.age))
|
|
|
|
|
return false;
|
|
|
|
|
if (classno == null) {
|
|
|
|
|
if (other.classno != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!classno.equals(other.classno))
|
|
|
|
|
return false;
|
|
|
|
|
if (college == null) {
|
|
|
|
|
if (other.college != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!college.equals(other.college))
|
|
|
|
|
return false;
|
|
|
|
|
if (collegename == null) {
|
|
|
|
|
if (other.collegename != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!collegename.equals(other.collegename))
|
|
|
|
|
return false;
|
|
|
|
|
if (de == null) {
|
|
|
|
|
if (other.de != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!de.equals(other.de))
|
|
|
|
|
return false;
|
|
|
|
|
if (email == null) {
|
|
|
|
|
if (other.email != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!email.equals(other.email))
|
|
|
|
|
return false;
|
|
|
|
|
if (gender == null) {
|
|
|
|
|
if (other.gender != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!gender.equals(other.gender))
|
|
|
|
|
return false;
|
|
|
|
|
if (grade == null) {
|
|
|
|
|
if (other.grade != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!grade.equals(other.grade))
|
|
|
|
|
return false;
|
|
|
|
|
if (home == null) {
|
|
|
|
|
if (other.home != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!home.equals(other.home))
|
|
|
|
|
return false;
|
|
|
|
|
if (job == null) {
|
|
|
|
|
if (other.job != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!job.equals(other.job))
|
|
|
|
|
return false;
|
|
|
|
|
if (jointime == null) {
|
|
|
|
|
if (other.jointime != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!jointime.equals(other.jointime))
|
|
|
|
|
return false;
|
|
|
|
|
if (name == null) {
|
|
|
|
|
if (other.name != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!name.equals(other.name))
|
|
|
|
|
return false;
|
|
|
|
|
if (phonenum == null) {
|
|
|
|
|
if (other.phonenum != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!phonenum.equals(other.phonenum))
|
|
|
|
|
return false;
|
|
|
|
|
if (photopath == null) {
|
|
|
|
|
if (other.photopath != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!photopath.equals(other.photopath))
|
|
|
|
|
return false;
|
|
|
|
|
if (qqnum == null) {
|
|
|
|
|
if (other.qqnum != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!qqnum.equals(other.qqnum))
|
|
|
|
|
return false;
|
|
|
|
|
if (uname == null) {
|
|
|
|
|
if (other.uname != null)
|
|
|
|
|
return false;
|
|
|
|
|
} else if (!uname.equals(other.uname))
|
|
|
|
|
return false;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return "Department [uname=" + uname + ", name=" + name + ", gender=" + gender + ", age=" + age + ", jointime="
|
|
|
|
|
+ jointime + ", de=" + de + ", phonenum=" + phonenum + ", qqnum=" + qqnum + ", college=" + college
|
|
|
|
|
+ ", collegename=" + collegename + ", classno=" + classno + ", job=" + job + ", grade=" + grade
|
|
|
|
|
+ ", home=" + home + ", photopath=" + photopath + ", email=" + email + "]";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|