package com.landy.gum.base.model;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import com.landy.framework.core.model.BaseModel;
|
|
/**
|
* Model class for ScmHospital
|
*/
|
@Entity
|
@Table(name = "scm_hospital")
|
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
|
public class ScmHospitalModel extends BaseModel {
|
|
//scmhId
|
private Integer scmhId;
|
//医院编码
|
private String scmhSn;
|
//医院名称
|
private String scmhName;
|
//医院简称
|
private String scmhShortName;
|
//上级医院
|
private Integer scmhPid;
|
//医院性质
|
private String scmhFeature;
|
//医院分类
|
private String scmhCategory;
|
//管理员
|
private String scmhAdministrator;
|
//院长
|
private String scmhPresident;
|
//电子邮件
|
private String scmhEmail;
|
//联系电话
|
private String scmhPhone;
|
//传真
|
private String scmhFax;
|
//所在省
|
private String scmhProvince;
|
//市
|
private String scmhCity;
|
//县
|
private String scmhCounty;
|
//详细地址
|
private String scmhAddress;
|
//邮编编码
|
private String scmhPostCode;
|
//网址
|
private String scmhSiteUrl;
|
//开户信息
|
private String scmhBank;
|
//显示顺序
|
private String scmhOrder;
|
//医院状态
|
private String scmhState;
|
//描述
|
private String scmhRemark;
|
//医院图标
|
private String scmhLogo;
|
|
/**
|
* Get scmhId
|
*/
|
@Column(name = "scmh_id")
|
@Id @GeneratedValue(strategy=GenerationType.AUTO)
|
public Integer getScmhId() {
|
return scmhId;
|
}
|
|
/**
|
* Set scmhId
|
*/
|
public void setScmhId(Integer scmhId) {
|
this.scmhId = scmhId;
|
addValidField("scmhId");
|
}
|
|
/**
|
* Get 医院编码
|
*/
|
@Column(name = "scmh_sn")
|
public String getScmhSn() {
|
return scmhSn;
|
}
|
|
/**
|
* Set 医院编码
|
*/
|
public void setScmhSn(String scmhSn) {
|
this.scmhSn = scmhSn;
|
addValidField("scmhSn");
|
}
|
|
/**
|
* Get 医院名称
|
*/
|
@Column(name = "scmh_name")
|
public String getScmhName() {
|
return scmhName;
|
}
|
|
/**
|
* Set 医院名称
|
*/
|
public void setScmhName(String scmhName) {
|
this.scmhName = scmhName;
|
addValidField("scmhName");
|
}
|
|
/**
|
* Get 医院简称
|
*/
|
@Column(name = "scmh_short_name")
|
public String getScmhShortName() {
|
return scmhShortName;
|
}
|
|
/**
|
* Set 医院简称
|
*/
|
public void setScmhShortName(String scmhShortName) {
|
this.scmhShortName = scmhShortName;
|
addValidField("scmhShortName");
|
}
|
|
/**
|
* Get 上级医院
|
*/
|
@Column(name = "scmh_pid")
|
public Integer getScmhPid() {
|
return scmhPid;
|
}
|
|
/**
|
* Set 上级医院
|
*/
|
public void setScmhPid(Integer scmhPid) {
|
this.scmhPid = scmhPid;
|
addValidField("scmhPid");
|
}
|
|
/**
|
* Get 医院性质
|
*/
|
@Column(name = "scmh_feature")
|
public String getScmhFeature() {
|
return scmhFeature;
|
}
|
|
/**
|
* Set 医院性质
|
*/
|
public void setScmhFeature(String scmhFeature) {
|
this.scmhFeature = scmhFeature;
|
addValidField("scmhFeature");
|
}
|
|
/**
|
* Get 医院分类
|
*/
|
@Column(name = "scmh_category")
|
public String getScmhCategory() {
|
return scmhCategory;
|
}
|
|
/**
|
* Set 医院分类
|
*/
|
public void setScmhCategory(String scmhCategory) {
|
this.scmhCategory = scmhCategory;
|
addValidField("scmhCategory");
|
}
|
|
/**
|
* Get 管理员
|
*/
|
@Column(name = "scmh_administrator")
|
public String getScmhAdministrator() {
|
return scmhAdministrator;
|
}
|
|
/**
|
* Set 管理员
|
*/
|
public void setScmhAdministrator(String scmhAdministrator) {
|
this.scmhAdministrator = scmhAdministrator;
|
addValidField("scmhAdministrator");
|
}
|
|
/**
|
* Get 院长
|
*/
|
@Column(name = "scmh_president")
|
public String getScmhPresident() {
|
return scmhPresident;
|
}
|
|
/**
|
* Set 院长
|
*/
|
public void setScmhPresident(String scmhPresident) {
|
this.scmhPresident = scmhPresident;
|
addValidField("scmhPresident");
|
}
|
|
/**
|
* Get 电子邮件
|
*/
|
@Column(name = "scmh_email")
|
public String getScmhEmail() {
|
return scmhEmail;
|
}
|
|
/**
|
* Set 电子邮件
|
*/
|
public void setScmhEmail(String scmhEmail) {
|
this.scmhEmail = scmhEmail;
|
addValidField("scmhEmail");
|
}
|
|
/**
|
* Get 联系电话
|
*/
|
@Column(name = "scmh_phone")
|
public String getScmhPhone() {
|
return scmhPhone;
|
}
|
|
/**
|
* Set 联系电话
|
*/
|
public void setScmhPhone(String scmhPhone) {
|
this.scmhPhone = scmhPhone;
|
addValidField("scmhPhone");
|
}
|
|
/**
|
* Get 传真
|
*/
|
@Column(name = "scmh_fax")
|
public String getScmhFax() {
|
return scmhFax;
|
}
|
|
/**
|
* Set 传真
|
*/
|
public void setScmhFax(String scmhFax) {
|
this.scmhFax = scmhFax;
|
addValidField("scmhFax");
|
}
|
|
/**
|
* Get 所在省
|
*/
|
@Column(name = "scmh_province")
|
public String getScmhProvince() {
|
return scmhProvince;
|
}
|
|
/**
|
* Set 所在省
|
*/
|
public void setScmhProvince(String scmhProvince) {
|
this.scmhProvince = scmhProvince;
|
addValidField("scmhProvince");
|
}
|
|
/**
|
* Get 市
|
*/
|
@Column(name = "scmh_city")
|
public String getScmhCity() {
|
return scmhCity;
|
}
|
|
/**
|
* Set 市
|
*/
|
public void setScmhCity(String scmhCity) {
|
this.scmhCity = scmhCity;
|
addValidField("scmhCity");
|
}
|
|
/**
|
* Get 县
|
*/
|
@Column(name = "scmh_county")
|
public String getScmhCounty() {
|
return scmhCounty;
|
}
|
|
/**
|
* Set 县
|
*/
|
public void setScmhCounty(String scmhCounty) {
|
this.scmhCounty = scmhCounty;
|
addValidField("scmhCounty");
|
}
|
|
/**
|
* Get 详细地址
|
*/
|
@Column(name = "scmh_address")
|
public String getScmhAddress() {
|
return scmhAddress;
|
}
|
|
/**
|
* Set 详细地址
|
*/
|
public void setScmhAddress(String scmhAddress) {
|
this.scmhAddress = scmhAddress;
|
addValidField("scmhAddress");
|
}
|
|
/**
|
* Get 邮编编码
|
*/
|
@Column(name = "scmh_post_code")
|
public String getScmhPostCode() {
|
return scmhPostCode;
|
}
|
|
/**
|
* Set 邮编编码
|
*/
|
public void setScmhPostCode(String scmhPostCode) {
|
this.scmhPostCode = scmhPostCode;
|
addValidField("scmhPostCode");
|
}
|
|
/**
|
* Get 网址
|
*/
|
@Column(name = "scmh_site_url")
|
public String getScmhSiteUrl() {
|
return scmhSiteUrl;
|
}
|
|
/**
|
* Set 网址
|
*/
|
public void setScmhSiteUrl(String scmhSiteUrl) {
|
this.scmhSiteUrl = scmhSiteUrl;
|
addValidField("scmhSiteUrl");
|
}
|
|
/**
|
* Get 开户信息
|
*/
|
@Column(name = "scmh_bank")
|
public String getScmhBank() {
|
return scmhBank;
|
}
|
|
/**
|
* Set 开户信息
|
*/
|
public void setScmhBank(String scmhBank) {
|
this.scmhBank = scmhBank;
|
addValidField("scmhBank");
|
}
|
|
/**
|
* Get 显示顺序
|
*/
|
@Column(name = "scmh_order")
|
public String getScmhOrder() {
|
return scmhOrder;
|
}
|
|
/**
|
* Set 显示顺序
|
*/
|
public void setScmhOrder(String scmhOrder) {
|
this.scmhOrder = scmhOrder;
|
addValidField("scmhOrder");
|
}
|
|
/**
|
* Get 医院状态
|
* 01有效 02停用
|
*/
|
@Column(name = "scmh_state")
|
public String getScmhState() {
|
return scmhState;
|
}
|
|
/**
|
* Set 医院状态
|
* 01有效 02停用
|
*/
|
public void setScmhState(String scmhState) {
|
this.scmhState = scmhState;
|
addValidField("scmhState");
|
}
|
|
/**
|
* Get 描述
|
*/
|
@Column(name = "scmh_remark")
|
public String getScmhRemark() {
|
return scmhRemark;
|
}
|
|
/**
|
* Set 描述
|
*/
|
public void setScmhRemark(String scmhRemark) {
|
this.scmhRemark = scmhRemark;
|
addValidField("scmhRemark");
|
}
|
|
/**
|
* Get 医院图标
|
*/
|
@Column(name = "scmh_logo")
|
public String getScmhLogo() {
|
return scmhLogo;
|
}
|
|
/**
|
* Set 医院图标
|
*/
|
public void setScmhLogo(String scmhLogo) {
|
this.scmhLogo = scmhLogo;
|
addValidField("scmhLogo");
|
}
|
|
}
|