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