?? abstractview專家號登記表id.java
字號:
package hospital.Model;
import java.util.Date;
/**
* AbstractView專家號登記表Id generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractView專家號登記表Id implements java.io.Serializable {
// Fields
private Integer 出診編號;
private Date 出診日期;
private String 出診時間;
private String 科室編號;
private String 科室名稱;
private String 醫生編號;
private String 專家姓名;
private Integer 剩余掛號量;
private Integer 掛號價格;
private String 備注;
// Constructors
/** default constructor */
public AbstractView專家號登記表Id() {
}
/** minimal constructor */
public AbstractView專家號登記表Id(Integer 出診編號, Date 出診日期, String 出診時間, String 科室編號, String 科室名稱, String 醫生編號, String 專家姓名, Integer 剩余掛號量, Integer 掛號價格) {
this.出診編號 = 出診編號;
this.出診日期 = 出診日期;
this.出診時間 = 出診時間;
this.科室編號 = 科室編號;
this.科室名稱 = 科室名稱;
this.醫生編號 = 醫生編號;
this.專家姓名 = 專家姓名;
this.剩余掛號量 = 剩余掛號量;
this.掛號價格 = 掛號價格;
}
/** full constructor */
public AbstractView專家號登記表Id(Integer 出診編號, Date 出診日期, String 出診時間, String 科室編號, String 科室名稱, String 醫生編號, String 專家姓名, Integer 剩余掛號量, Integer 掛號價格, String 備注) {
this.出診編號 = 出診編號;
this.出診日期 = 出診日期;
this.出診時間 = 出診時間;
this.科室編號 = 科室編號;
this.科室名稱 = 科室名稱;
this.醫生編號 = 醫生編號;
this.專家姓名 = 專家姓名;
this.剩余掛號量 = 剩余掛號量;
this.掛號價格 = 掛號價格;
this.備注 = 備注;
}
// Property accessors
public Integer get出診編號() {
return this.出診編號;
}
public void set出診編號(Integer 出診編號) {
this.出診編號 = 出診編號;
}
public Date get出診日期() {
return this.出診日期;
}
public void set出診日期(Date 出診日期) {
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 String get專家姓名() {
return this.專家姓名;
}
public void set專家姓名(String 專家姓名) {
this.專家姓名 = 專家姓名;
}
public Integer get剩余掛號量() {
return this.剩余掛號量;
}
public void set剩余掛號量(Integer 剩余掛號量) {
this.剩余掛號量 = 剩余掛號量;
}
public Integer get掛號價格() {
return this.掛號價格;
}
public void set掛號價格(Integer 掛號價格) {
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科室名稱()) ) ) && ( (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() );
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 + -