【Java开源代码栏目提醒】:网学会员--在 Java开源代码编辑为广大网友搜集整理了:AbstractHotel.java绩等信息,祝愿广大网友取得需要的信息,参考学习。
package com.kemp.video.hotel;
import java.util.HashSet;
import java.util.Set;
/**
* AbstractHotel generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractHotel implements java.io.Serializable {
// Fields
private Integer hotelId;
private String hotelName;
private String city;
private String position;
private String fax;
private String email;
private String linkMan;
private String place;
private String telephone;
private String memo;
private Set adBanners = new HashSet(0);
// Constructors
/** default constructor */
public AbstractHotel() {
}
/** full constructor */
public AbstractHotel(String hotelName, String city, String position, String fax, String email, String linkMan, String place, String telephone, String memo, Set adBanners) {
this.hotelName = hotelName;
this.city = city;
this.position = position;
this.fax = fax;
this.email = email;
this.linkMan = linkMan;
this.place = place;
this.telephone = telephone;
this.memo = memo;
this.adBanners = adBanners;
}
// Property accessors
public Integer getHotelId() {
return this.hotelId;
}
public void setHotelId(Integer hotelId) {
this.hotelId = hotelId;
}
public String getHotelName() {
return this.hotelName;
}
public void setHotelName(String hotelName) {
this.hotelName = hotelName;
}
public String getCity() {
return this.city;
}
public void setCity(String city) {
this.city = city;
}
public String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
public String getFax() {
return this.fax;
}
public void setFax(String fax) {
this.fax = fax;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getLinkMan() {
return this.linkMan;
}
public void setLinkMan(String linkMan) {
this.linkMan = linkMan;
}
public String getPlace() {
return this.place;
}
public void setPlace(String place) {
this.place = place;
}
public String getTelephone() {
return this.telephone;
}
public void setTelephone(String telephone) {
this.telephone = telephone;
}
public String getMemo() {
return this.memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public Set getAdBanners() {
return this.adBanners;
}
public void setAdBanners(Set adBanners) {
this.adBanners = adBanners;
}
}
上一篇:
AbstractHandler.java
下一篇:
谈初中数学“一元二次方程”的几种常见题型