📄 abstractview用户信息表id.java
字号:
package hospital.Model;
/**
* AbstractView用户信息表Id generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractView用户信息表Id implements java.io.Serializable {
// Fields
private Integer 用户编号;
private String 用户名称;
private String 角色名称;
private String 真实姓名;
private String 家庭住址;
// Constructors
/** default constructor */
public AbstractView用户信息表Id() {
}
/** minimal constructor */
public AbstractView用户信息表Id(Integer 用户编号, String 用户名称) {
this.用户编号 = 用户编号;
this.用户名称 = 用户名称;
}
/** full constructor */
public AbstractView用户信息表Id(Integer 用户编号, String 用户名称, String 角色名称, String 真实姓名, String 家庭住址) {
this.用户编号 = 用户编号;
this.用户名称 = 用户名称;
this.角色名称 = 角色名称;
this.真实姓名 = 真实姓名;
this.家庭住址 = 家庭住址;
}
// Property accessors
public Integer get用户编号() {
return this.用户编号;
}
public void set用户编号(Integer 用户编号) {
this.用户编号 = 用户编号;
}
public String get用户名称() {
return this.用户名称;
}
public void set用户名称(String 用户名称) {
this.用户名称 = 用户名称;
}
public String get角色名称() {
return this.角色名称;
}
public void set角色名称(String 角色名称) {
this.角色名称 = 角色名称;
}
public String get真实姓名() {
return this.真实姓名;
}
public void set真实姓名(String 真实姓名) {
this.真实姓名 = 真实姓名;
}
public String get家庭住址() {
return this.家庭住址;
}
public void set家庭住址(String 家庭住址) {
this.家庭住址 = 家庭住址;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof AbstractView用户信息表Id) ) return false;
AbstractView用户信息表Id castOther = ( AbstractView用户信息表Id ) other;
return ( (this.get用户编号()==castOther.get用户编号()) || ( this.get用户编号()!=null && castOther.get用户编号()!=null && this.get用户编号().equals(castOther.get用户编号()) ) ) && ( (this.get用户名称()==castOther.get用户名称()) || ( this.get用户名称()!=null && castOther.get用户名称()!=null && this.get用户名称().equals(castOther.get用户名称()) ) ) && ( (this.get角色名称()==castOther.get角色名称()) || ( this.get角色名称()!=null && castOther.get角色名称()!=null && this.get角色名称().equals(castOther.get角色名称()) ) ) && ( (this.get真实姓名()==castOther.get真实姓名()) || ( this.get真实姓名()!=null && castOther.get真实姓名()!=null && this.get真实姓名().equals(castOther.get真实姓名()) ) ) && ( (this.get家庭住址()==castOther.get家庭住址()) || ( this.get家庭住址()!=null && castOther.get家庭住址()!=null && this.get家庭住址().equals(castOther.get家庭住址()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( get用户编号() == null ? 0 : this.get用户编号().hashCode() );
result = 37 * result + ( get用户名称() == null ? 0 : this.get用户名称().hashCode() );
result = 37 * result + ( get角色名称() == null ? 0 : this.get角色名称().hashCode() );
result = 37 * result + ( get真实姓名() == null ? 0 : this.get真实姓名().hashCode() );
result = 37 * result + ( get家庭住址() == null ? 0 : this.get家庭住址().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -