|
@ -1,6 +1,7 @@
|
|
package com.yihu.jw.entity.base.org;
|
|
package com.yihu.jw.entity.base.org;
|
|
|
|
|
|
import com.yihu.jw.entity.UuidIdentityEntityWithOperator;
|
|
import com.yihu.jw.entity.UuidIdentityEntityWithOperator;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Table;
|
|
import javax.persistence.Table;
|
|
@ -8,263 +9,280 @@ import java.util.Date;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构信息实体
|
|
|
|
*
|
|
|
|
* @author litaohong on 2018年08月31日
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
* 机构信息实体
|
|
|
|
*
|
|
|
|
* @author litaohong on 2018年08月31日
|
|
|
|
*/
|
|
@Entity
|
|
@Entity
|
|
@Table(name = "base_org")
|
|
@Table(name = "base_org")
|
|
public class BaseOrgDO extends UuidIdentityEntityWithOperator {
|
|
public class BaseOrgDO extends UuidIdentityEntityWithOperator {
|
|
|
|
|
|
/**
|
|
/**
|
|
* saas化配置
|
|
|
|
*/
|
|
|
|
|
|
* saas化配置
|
|
|
|
*/
|
|
private String saasid;
|
|
private String saasid;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 省份标识
|
|
|
|
*/
|
|
|
|
|
|
* 省份标识
|
|
|
|
*/
|
|
private String provinceCode;
|
|
private String provinceCode;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 城市标识
|
|
|
|
*/
|
|
|
|
|
|
* 城市标识
|
|
|
|
*/
|
|
private String cityCode;
|
|
private String cityCode;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 区县标识
|
|
|
|
*/
|
|
|
|
|
|
* 区县标识
|
|
|
|
*/
|
|
private String townCode;
|
|
private String townCode;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构名称
|
|
|
|
*/
|
|
|
|
|
|
* 机构名称
|
|
|
|
*/
|
|
private String name;
|
|
private String name;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构别名
|
|
|
|
*/
|
|
|
|
|
|
* 机构别名
|
|
|
|
*/
|
|
private String alias;
|
|
private String alias;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构名称拼音首字母
|
|
|
|
*/
|
|
|
|
|
|
* 机构名称拼音首字母
|
|
|
|
*/
|
|
private String spell;
|
|
private String spell;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构类型: 1. 医疗机构2. 企事业单位3. 政府机关4. 社会团体 5.药店 0. 部门 6.单位或者独立子公司7.基层机构 8.专业公共机构
|
|
|
|
*/
|
|
|
|
|
|
* 机构类型: 1. 医疗机构2. 企事业单位3. 政府机关4. 社会团体 5.药店 0. 部门 6.单位或者独立子公司7.基层机构 8.专业公共机构
|
|
|
|
*/
|
|
private String type;
|
|
private String type;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构简介
|
|
|
|
*/
|
|
|
|
|
|
* 机构简介
|
|
|
|
*/
|
|
private String brief;
|
|
private String brief;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构详细地址
|
|
|
|
*/
|
|
|
|
|
|
* 机构详细地址
|
|
|
|
*/
|
|
private String address;
|
|
private String address;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构图片
|
|
|
|
*/
|
|
|
|
|
|
* 机构图片
|
|
|
|
*/
|
|
private String photo;
|
|
private String photo;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 经度
|
|
|
|
*/
|
|
|
|
|
|
* 经度
|
|
|
|
*/
|
|
private String longitude;
|
|
private String longitude;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 纬度
|
|
|
|
*/
|
|
|
|
|
|
* 纬度
|
|
|
|
*/
|
|
private String latitude;
|
|
private String latitude;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 法人
|
|
|
|
*/
|
|
|
|
|
|
* 法人
|
|
|
|
*/
|
|
private String legalperson;
|
|
private String legalperson;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构管理员
|
|
|
|
*/
|
|
|
|
|
|
* 机构管理员
|
|
|
|
*/
|
|
private String orgAdmin;
|
|
private String orgAdmin;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构网址
|
|
|
|
*/
|
|
|
|
|
|
* 机构网址
|
|
|
|
*/
|
|
private String orgUrl;
|
|
private String orgUrl;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构简介
|
|
|
|
*/
|
|
|
|
|
|
* 机构简介
|
|
|
|
*/
|
|
private String intro;
|
|
private String intro;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 机构二维码
|
|
|
|
*/
|
|
|
|
|
|
* 机构二维码
|
|
|
|
*/
|
|
private String qrcode;
|
|
private String qrcode;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 作废标识,1正常,0作废
|
|
|
|
*/
|
|
|
|
|
|
* 作废标识,1正常,0作废
|
|
|
|
*/
|
|
private String del;
|
|
private String del;
|
|
|
|
|
|
|
|
|
|
@Column(name = "saasid")
|
|
|
|
|
|
@Column(name = "saasid")
|
|
public String getSaasid() {
|
|
public String getSaasid() {
|
|
return saasid;
|
|
return saasid;
|
|
}
|
|
}
|
|
|
|
|
|
public void setSaasid(String saasid) {
|
|
public void setSaasid(String saasid) {
|
|
this.saasid = saasid;
|
|
this.saasid = saasid;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "province_code")
|
|
|
|
|
|
@Column(name = "province_code")
|
|
public String getProvinceCode() {
|
|
public String getProvinceCode() {
|
|
return provinceCode;
|
|
return provinceCode;
|
|
}
|
|
}
|
|
|
|
|
|
public void setProvinceCode(String provinceCode) {
|
|
public void setProvinceCode(String provinceCode) {
|
|
this.provinceCode = provinceCode;
|
|
this.provinceCode = provinceCode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "city_code")
|
|
|
|
|
|
@Column(name = "city_code")
|
|
public String getCityCode() {
|
|
public String getCityCode() {
|
|
return cityCode;
|
|
return cityCode;
|
|
}
|
|
}
|
|
|
|
|
|
public void setCityCode(String cityCode) {
|
|
public void setCityCode(String cityCode) {
|
|
this.cityCode = cityCode;
|
|
this.cityCode = cityCode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "town_code")
|
|
|
|
|
|
@Column(name = "town_code")
|
|
public String getTownCode() {
|
|
public String getTownCode() {
|
|
return townCode;
|
|
return townCode;
|
|
}
|
|
}
|
|
|
|
|
|
public void setTownCode(String townCode) {
|
|
public void setTownCode(String townCode) {
|
|
this.townCode = townCode;
|
|
this.townCode = townCode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "name")
|
|
|
|
|
|
@Column(name = "name")
|
|
public String getName() {
|
|
public String getName() {
|
|
return name;
|
|
return name;
|
|
}
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
this.name = name;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "alias")
|
|
|
|
|
|
@Column(name = "alias")
|
|
public String getAlias() {
|
|
public String getAlias() {
|
|
return alias;
|
|
return alias;
|
|
}
|
|
}
|
|
|
|
|
|
public void setAlias(String alias) {
|
|
public void setAlias(String alias) {
|
|
this.alias = alias;
|
|
this.alias = alias;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "spell")
|
|
|
|
|
|
@Column(name = "spell")
|
|
public String getSpell() {
|
|
public String getSpell() {
|
|
return spell;
|
|
return spell;
|
|
}
|
|
}
|
|
|
|
|
|
public void setSpell(String spell) {
|
|
public void setSpell(String spell) {
|
|
this.spell = spell;
|
|
this.spell = spell;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "type")
|
|
|
|
|
|
@Column(name = "type")
|
|
public String getType() {
|
|
public String getType() {
|
|
return type;
|
|
return type;
|
|
}
|
|
}
|
|
|
|
|
|
public void setType(String type) {
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
this.type = type;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "brief")
|
|
|
|
|
|
@Column(name = "brief")
|
|
public String getBrief() {
|
|
public String getBrief() {
|
|
return brief;
|
|
return brief;
|
|
}
|
|
}
|
|
|
|
|
|
public void setBrief(String brief) {
|
|
public void setBrief(String brief) {
|
|
this.brief = brief;
|
|
this.brief = brief;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "address")
|
|
|
|
|
|
@Column(name = "address")
|
|
public String getAddress() {
|
|
public String getAddress() {
|
|
return address;
|
|
return address;
|
|
}
|
|
}
|
|
|
|
|
|
public void setAddress(String address) {
|
|
public void setAddress(String address) {
|
|
this.address = address;
|
|
this.address = address;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "photo")
|
|
|
|
|
|
@Column(name = "photo")
|
|
public String getPhoto() {
|
|
public String getPhoto() {
|
|
return photo;
|
|
return photo;
|
|
}
|
|
}
|
|
|
|
|
|
public void setPhoto(String photo) {
|
|
public void setPhoto(String photo) {
|
|
this.photo = photo;
|
|
this.photo = photo;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "longitude")
|
|
|
|
|
|
@Column(name = "longitude")
|
|
public String getLongitude() {
|
|
public String getLongitude() {
|
|
return longitude;
|
|
return longitude;
|
|
}
|
|
}
|
|
|
|
|
|
public void setLongitude(String longitude) {
|
|
public void setLongitude(String longitude) {
|
|
this.longitude = longitude;
|
|
this.longitude = longitude;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "latitude")
|
|
|
|
|
|
@Column(name = "latitude")
|
|
public String getLatitude() {
|
|
public String getLatitude() {
|
|
return latitude;
|
|
return latitude;
|
|
}
|
|
}
|
|
|
|
|
|
public void setLatitude(String latitude) {
|
|
public void setLatitude(String latitude) {
|
|
this.latitude = latitude;
|
|
this.latitude = latitude;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "legalperson")
|
|
|
|
|
|
@Column(name = "legalperson")
|
|
public String getLegalperson() {
|
|
public String getLegalperson() {
|
|
return legalperson;
|
|
return legalperson;
|
|
}
|
|
}
|
|
|
|
|
|
public void setLegalperson(String legalperson) {
|
|
public void setLegalperson(String legalperson) {
|
|
this.legalperson = legalperson;
|
|
this.legalperson = legalperson;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "org_admin")
|
|
|
|
|
|
@Column(name = "org_admin")
|
|
public String getOrgAdmin() {
|
|
public String getOrgAdmin() {
|
|
return orgAdmin;
|
|
return orgAdmin;
|
|
}
|
|
}
|
|
|
|
|
|
public void setOrgAdmin(String orgAdmin) {
|
|
public void setOrgAdmin(String orgAdmin) {
|
|
this.orgAdmin = orgAdmin;
|
|
this.orgAdmin = orgAdmin;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "org_url")
|
|
|
|
|
|
@Column(name = "org_url")
|
|
public String getOrgUrl() {
|
|
public String getOrgUrl() {
|
|
return orgUrl;
|
|
return orgUrl;
|
|
}
|
|
}
|
|
|
|
|
|
public void setOrgUrl(String orgUrl) {
|
|
public void setOrgUrl(String orgUrl) {
|
|
this.orgUrl = orgUrl;
|
|
this.orgUrl = orgUrl;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "intro")
|
|
|
|
|
|
@Column(name = "intro")
|
|
public String getIntro() {
|
|
public String getIntro() {
|
|
return intro;
|
|
return intro;
|
|
}
|
|
}
|
|
|
|
|
|
public void setIntro(String intro) {
|
|
public void setIntro(String intro) {
|
|
this.intro = intro;
|
|
this.intro = intro;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "qrcode")
|
|
|
|
|
|
@Column(name = "qrcode")
|
|
public String getQrcode() {
|
|
public String getQrcode() {
|
|
return qrcode;
|
|
return qrcode;
|
|
}
|
|
}
|
|
|
|
|
|
public void setQrcode(String qrcode) {
|
|
public void setQrcode(String qrcode) {
|
|
this.qrcode = qrcode;
|
|
this.qrcode = qrcode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "del")
|
|
|
|
|
|
@Column(name = "del")
|
|
public String getDel() {
|
|
public String getDel() {
|
|
return del;
|
|
return del;
|
|
}
|
|
}
|
|
|
|
|
|
public void setDel(String del) {
|
|
public void setDel(String del) {
|
|
this.del = del;
|
|
this.del = del;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|