?? 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 + -