chenweida 7 år sedan
förälder
incheckning
7cd03251b7
100 ändrade filer med 0 tillägg och 11826 borttagningar
  1. 0 81
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/Versions.java
  2. 0 57
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/City.java
  3. 0 68
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Country.java
  4. 0 47
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Province.java
  5. 0 77
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Street.java
  6. 0 77
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Town.java
  7. 0 116
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/advert/Advert.java
  8. 0 280
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/charge/WlyyCharge.java
  9. 0 145
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/Consult.java
  10. 0 169
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultCommunication.java
  11. 0 117
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultCommunicationReply.java
  12. 0 283
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultMoVi.java
  13. 0 166
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultMoViReferral.java
  14. 0 180
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultPublic.java
  15. 0 127
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultPublicReply.java
  16. 0 328
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultTeam.java
  17. 0 100
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultTeamDoctor.java
  18. 0 125
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultTeamLog.java
  19. 0 77
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/Evaluate.java
  20. 0 57
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/EvaluateLabel.java
  21. 0 56
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/EvaluateScore.java
  22. 0 914
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/demographic/DemographicInfo.java
  23. 0 299
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/demographic/FamilyInfo.java
  24. 0 349
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/demographic/ResidenceInfo.java
  25. 0 109
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/Device.java
  26. 0 57
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/DeviceCategory.java
  27. 0 226
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/PatientBloodSugger.java
  28. 0 152
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/PatientDevice.java
  29. 0 248
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/PatientHealthTime.java
  30. 0 46
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/Disease.java
  31. 0 52
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/DmDrugsGroup.java
  32. 0 97
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/DmDrugsGroupItem.java
  33. 0 130
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/DmExpressagePriceEntity.java
  34. 0 165
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/FoundationMedicalSystemParam.java
  35. 0 106
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/HealthProblemDict.java
  36. 0 60
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/HpIcd10Relation.java
  37. 0 114
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/Icd10Dict.java
  38. 0 55
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/Medicines.java
  39. 0 102
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/SystemDict.java
  40. 0 148
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/SystemDictList.java
  41. 0 116
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/discussion/WlyyTalkGroup.java
  42. 0 80
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/discussion/WlyyTalkGroupMember.java
  43. 0 70
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/OperatorLog.java
  44. 0 68
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/emr/DoctorMedicalRecordsPart.java
  45. 0 85
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/emr/DoctorMedicalRecordsPartItem.java
  46. 0 80
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/observer/DoctorObserver.java
  47. 0 435
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/Doctor.java
  48. 0 117
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorComment.java
  49. 0 58
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorRole.java
  50. 0 39
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorRoleRealm.java
  51. 0 93
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorService.java
  52. 0 44
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/JobTitle.java
  53. 0 60
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/WlyyUserRole.java
  54. 0 62
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/reply/DoctorQuickReply.java
  55. 0 44
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/DoctorFamousConsultTimesRemain.java
  56. 0 108
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/DoctorScheduling.java
  57. 0 75
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/DoctorSchedulingTimes.java
  58. 0 115
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/WlyyDoctorWorkTime.java
  59. 0 72
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/WlyyDoctorWorkWeek.java
  60. 0 123
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/Survey.java
  61. 0 88
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyAnswers.java
  62. 0 54
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyDimension.java
  63. 0 98
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyDimensionDetail.java
  64. 0 54
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyFilter.java
  65. 0 65
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyLabelInfo.java
  66. 0 110
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyOptionAnswers.java
  67. 0 165
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestionnaire.java
  68. 0 120
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestionnaireOptions.java
  69. 0 138
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestions.java
  70. 0 103
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestionsOptions.java
  71. 0 143
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyStatistics.java
  72. 0 132
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyTemplateOptions.java
  73. 0 176
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyTemplateQuestions.java
  74. 0 100
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyTemplates.java
  75. 0 90
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyUser.java
  76. 0 76
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeam.java
  77. 0 76
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamFunction.java
  78. 0 60
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamMember.java
  79. 0 47
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamMemberAuthority.java
  80. 0 47
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamMemberRole.java
  81. 0 76
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamRole.java
  82. 0 149
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorPatient.java
  83. 0 72
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorPatientGroup.java
  84. 0 129
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorPatientGroupInfo.java
  85. 0 69
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorTeam.java
  86. 0 77
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorTeamInfo.java
  87. 0 130
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorTeamMember.java
  88. 0 85
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignLabel.java
  89. 0 96
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignPatientLabel.java
  90. 0 79
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignPatientLabelInfo.java
  91. 0 69
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignPatientLabelLog.java
  92. 0 84
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/FoodComp.java
  93. 0 97
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticle.java
  94. 0 88
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticleDoctor.java
  95. 0 64
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticleLabel.java
  96. 0 84
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticleOpHistory.java
  97. 0 191
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticlePatient.java
  98. 0 86
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthNews.java
  99. 0 53
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/Sports.java
  100. 0 0
      patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/SportsType.java

+ 0 - 81
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/Versions.java

@ -1,81 +0,0 @@
package com.yihu.wlyy.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 版本号
 * @author George
 */
@Entity
@Table(name = "wlyy_version")
public class Versions extends IdEntity {
	private static final long serialVersionUID = 7549164317186300400L;
	private String code;// 版本编码
	private String name;// 版本名称
	private Double versionInt;// 数字版本号
	private String versionStr;// 字符串版本号
	private String url;// 更新链接地址
	private String info;// 版本信息描述
	private Double size;// 版本包大小,单位M
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name = "version_int")
	public Double getVersionInt() {
		return versionInt;
	}
	public void setVersionInt(Double versionInt) {
		this.versionInt = versionInt;
	}
	@Column(name = "version_str")
	public String getVersionStr() {
		return versionStr;
	}
	public void setVersionStr(String versionStr) {
		this.versionStr = versionStr;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public Double getSize() {
		return size;
	}
	public void setSize(Double size) {
		this.size = size;
	}
}

+ 0 - 57
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/City.java

@ -1,57 +0,0 @@
package com.yihu.wlyy.entity.address;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 城市信息對象
 *
 * @author George
 */
@Entity
@Table(name = "dm_city")
public class City extends IdEntity {
    /**
     *
     */
    private static final long serialVersionUID = 366338400555505599L;
    // 省編碼
    private String province;
    // 城市編碼
    private String code;
    // 城市名稱
    private String name;
    public City() {
    }
    public String getProvince() {
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}

+ 0 - 68
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Country.java

@ -1,68 +0,0 @@
package com.yihu.wlyy.entity.address;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * Created by Trick on 2017/7/20.
 */
@Entity
@Table(name = "dm_country")
public class Country extends IdEntity {
    private String  province;
    private String  city;
    private String  town;
    private String  street ;
    private String  code;
    private String  name;
    public String getProvince() {
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getTown() {
        return town;
    }
    public void setTown(String town) {
        this.town = town;
    }
    public String getStreet() {
        return street;
    }
    public void setStreet(String street) {
        this.street = street;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
}

+ 0 - 47
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Province.java

@ -1,47 +0,0 @@
package com.yihu.wlyy.entity.address;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 省份信息對象
 * @author George
 *
 */
@Entity
@Table(name = "dm_province")
public class Province extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1126538739936773663L;
	
	// 省編碼
	private String code;
	// 省名稱
	private String name;
	public Province() {
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}

+ 0 - 77
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Street.java

@ -1,77 +0,0 @@
package com.yihu.wlyy.entity.address;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 街道信息对象
 * @author George
 *
 */
@Entity
@Table(name = "dm_street")
public class Street extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2307784886255268677L;
	
	// 省編碼
	private String province;
	// 城市編碼
	private String city;
	// 区县编码
	private String town;
	// 區縣編碼
	private String code;
	// 區縣名稱
	private String name;
	public Street() {
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getTown() {
		return town;
	}
	public void setTown(String town) {
		this.town = town;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}

+ 0 - 77
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/address/Town.java

@ -1,77 +0,0 @@
package com.yihu.wlyy.entity.address;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 區縣信息對象
 * @author George
 *
 */
@Entity
@Table(name = "dm_town")
public class Town extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3851597133734507811L;
	
	// 省編碼
	private String province;
	// 城市編碼
	private String city;
	// 區縣編碼
	private String code;
	// 區縣名稱
	private String name;
	private String photo;
	public Town() {
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
}

+ 0 - 116
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/advert/Advert.java

@ -1,116 +0,0 @@
package com.yihu.wlyy.entity.advert;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 广告对象
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_advert")
public class Advert extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5977709740868451783L;
	
	// 广告标题
	private String title;
	// 广告来源
	private String from;
	// 广告图片
	private String photo;
	// 广告链接地址
	private String url;
	// 广告显示顺序
	private Integer seq;
	// 广告类型(如主页广告)
	private Integer type;
	// 发布时间
	private Date czrq;
	// 是否作废,1正常,0作废
	private String del;
	// 操作员
	private String czy;
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
	public String getCzy() {
		return czy;
	}
	public void setCzy(String czy) {
		this.czy = czy;
	}
}

+ 0 - 280
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/charge/WlyyCharge.java

@ -1,280 +0,0 @@
package com.yihu.wlyy.entity.charge;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 扣费记录
 * @author hzp
 */
@Entity
@Table(name = "wlyy_charge")
public class WlyyCharge extends IdEntity {
	private String code;   //  接入应用支付业务流水号
	private String chargeType;   //交易类型  1签约 2续签
	private String chargeRelation;   //交易关联代码
	private Date createTime;   //  接入应用内支付时间
	private String patient;   //  用户
	private String openid;   //  用戶微信openid
	private String ssc;   // 医保卡号
	private String name;   //  姓名
	private String idType;   //  证件类型
	private String idNo;   //  证件号码
	private String hospital;   //  机构代码
	private String hospitalName;   //  机构名称
	private Integer totalAmount;   //  交易总金额
	private Integer selfpayAmount;   //  自费金额
	private Integer insuranceAmount;   //  医保支付金额
	private String needUpload;// 是否需要上传 0否(已上传) 1是(未上传) 2重复失败(上传失败)
	private String uploadLog;// 上传日志
	private String miRegisterNo;// 医保签约号(支付成功时由易联众返回)
	private String feeDetail;   //  费用明细
	private String channel;   //  医保支付渠道
	private String merchName;   //  收款单位名称
	private String subject;   //  订单名称
	private String tradeStatus;   //  交易状态0 成功 1 失败 2 已退款
	private String chargeNo;   //  流水号
	private String chargeTime;   // 扣费时间YYYYMMDDHHMMSS
	private String medOrgNo;   //  医疗机构编码
	private String medOrgName;   //  医疗机构名称
	private String billNo;   //  待结算费用单据号
	private Date updateTime;//修改时间
	public String getChargeType() {
		return chargeType;
	}
	public void setChargeType(String chargeType) {
		this.chargeType = chargeType;
	}
	public String getChargeRelation() {
		return chargeRelation;
	}
	public void setChargeRelation(String chargeRelation) {
		this.chargeRelation = chargeRelation;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getSsc() {
		return ssc;
	}
	public void setSsc(String ssc) {
		this.ssc = ssc;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIdType() {
		return idType;
	}
	public void setIdType(String idType) {
		this.idType = idType;
	}
	public String getIdNo() {
		return idNo;
	}
	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}
	public String getHospital() {
		return hospital;
	}
	public void setHospital(String hospital) {
		this.hospital = hospital;
	}
	public String getHospitalName() {
		return hospitalName;
	}
	public void setHospitalName(String hospitalName) {
		this.hospitalName = hospitalName;
	}
	public Integer getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(Integer totalAmount) {
		this.totalAmount = totalAmount;
	}
	public Integer getSelfpayAmount() {
		return selfpayAmount;
	}
	public void setSelfpayAmount(Integer selfpayAmount) {
		this.selfpayAmount = selfpayAmount;
	}
	public Integer getInsuranceAmount() {
		return insuranceAmount;
	}
	public void setInsuranceAmount(Integer insuranceAmount) {
		this.insuranceAmount = insuranceAmount;
	}
	public String getNeedUpload() {
		return needUpload;
	}
	public void setNeedUpload(String needUpload) {
		this.needUpload = needUpload;
	}
	public String getUploadLog() {
		return uploadLog;
	}
	public void setUploadLog(String uploadLog) {
		this.uploadLog = uploadLog;
	}
    public String getMiRegisterNo() {
        return miRegisterNo;
    }
    public void setMiRegisterNo(String miRegisterNo) {
        this.miRegisterNo = miRegisterNo;
    }
    public String getFeeDetail() {
		return feeDetail;
	}
	public void setFeeDetail(String feeDetail) {
		this.feeDetail = feeDetail;
	}
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getMerchName() {
		return merchName;
	}
	public void setMerchName(String merchName) {
		this.merchName = merchName;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getTradeStatus() {
		return tradeStatus;
	}
	public void setTradeStatus(String tradeStatus) {
		this.tradeStatus = tradeStatus;
	}
	public String getChargeNo() {
		return chargeNo;
	}
	public void setChargeNo(String chargeNo) {
		this.chargeNo = chargeNo;
	}
	public String getChargeTime() {
		return chargeTime;
	}
	public void setChargeTime(String chargeTime) {
		this.chargeTime = chargeTime;
	}
	public String getMedOrgNo() {
		return medOrgNo;
	}
	public void setMedOrgNo(String medOrgNo) {
		this.medOrgNo = medOrgNo;
	}
	public String getMedOrgName() {
		return medOrgName;
	}
	public void setMedOrgName(String medOrgName) {
		this.medOrgName = medOrgName;
	}
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}

+ 0 - 145
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/Consult.java

@ -1,145 +0,0 @@
package com.yihu.wlyy.entity.consult;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 患者视频、三师、公共、病友等咨询记录
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult")
public class Consult extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1619584376832854189L;
	// 咨询标识
	private String code;
	// 患者标识
	private String patient;
	// 咨询类型:1三师咨询,2视频咨询,3图文咨询,4公共咨询,5病友圈 6、患者名医咨询 7医生名医咨询 8续方咨询 10医生发起的求助
	private Integer type;
	// 咨询标题/主诉
	private String title;
	// 主诉
	private String symptoms;
	// 咨询图片URL,多图以逗号分隔
	private String images;
	// 关联指导
	private Long guidance;
	// 咨询时间
	private Date czrq;
	// 作废标识,1正常,0作废
	private String del;
	// 结束时间
	private Date endTime;
	//签约表Code
	private String signCode;
	private String relationCode;//关联业务表的code
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSymptoms() {
		return symptoms;
	}
	public void setSymptoms(String symptoms) {
		this.symptoms = symptoms;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
	public Long getGuidance() {
		return guidance;
	}
	public void setGuidance(Long guidance) {
		this.guidance = guidance;
	}
	public String getSignCode() {
		return signCode;
	}
	public void setSignCode(String signCode) {
		this.signCode = signCode;
	}
	public String getRelationCode() {
		return relationCode;
	}
	public void setRelationCode(String relationCode) {
		this.relationCode = relationCode;
	}
}

+ 0 - 169
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultCommunication.java

@ -1,169 +0,0 @@
package com.yihu.wlyy.entity.consult;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 病友圈
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_communication")
public class ConsultCommunication extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2631720251475612892L;
	// 咨询标识
	private String consult;
	// 咨询患者标识
	private String patient;
	// 患者姓名
	private String name;
	// 性别:1男,2女
//	private int sex;
	// 患者头像
	private String photo;
	// 问题标题
	private String title;
	// 问题描述
	private String content;
	// 图片URL,多图以逗号分隔
	private String images;
	// 疾病类型,关联wlyy_disease表code
	private String disease;
	// 疾病类型名称
	private String diseaseName;
	// 回复数量
	private Integer amount;
	// 未读数量
	private Integer unread;
	// 咨询时间
	private Date czrq;
	// 作废标识:1正常,0作废
	private String del;
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
//	public int getSex() {
//		return sex;
//	}
//
//	public void setSex(int sex) {
//		this.sex = sex;
//	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	public String getDisease() {
		return disease;
	}
	public void setDisease(String disease) {
		this.disease = disease;
	}
	@Column(name = "disease_name")
	public String getDiseaseName() {
		return diseaseName;
	}
	public void setDiseaseName(String diseaseName) {
		this.diseaseName = diseaseName;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getUnread() {
		return unread;
	}
	public void setUnread(Integer unread) {
		this.unread = unread;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 117
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultCommunicationReply.java

@ -1,117 +0,0 @@
package com.yihu.wlyy.entity.consult;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 病友圈回复信息
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_communication_reply")
public class ConsultCommunicationReply extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8719071445963445644L;
	// 咨询标识
	private String consult;
	// 回复患者标识
	private String patient;
	// 回复者姓名
	private String name;
	// 性别:1男,2女
//	private int sex;
	// 回复者头像
	private String photo;
	// 回复内容
	private String content;
	// 回复图片URL地址,多图以逗号分隔
	private String images;
	// 咨询时间
	private Date czrq;
	// 作废标识:1正常,0作废
	private String del;
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
//	public int getSex() {
//		return sex;
//	}
//
//	public void setSex(int sex) {
//		this.sex = sex;
//	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 283
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultMoVi.java

@ -1,283 +0,0 @@
package com.yihu.wlyy.entity.consult;
import java.sql.Time;
import java.util.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.doctor.profile.DoctorComment;
import com.yihu.wlyy.entity.IdEntity;
import io.swagger.annotations.Api;
/**
 * 电话视频咨询信息對象
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_movi")
@Api(description = "电视咨询")
public class ConsultMoVi extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8996800633072164852L;
	// 咨询标识
	private String consult;
	// 医生标识
	private String doctor;
	// 医生姓名
	private String doctorName;
	// 三师团队
	private String team;
	// 三师团队名称
	private String teamName;
	// 预约类型:1指定医生,2三师预约
	private Integer target;
	// 患者标识
	private String patient;
	// 家人标识
	private String family;
	// 患者姓名
	private String name;
	// 患者性别
	private Integer sex;
	// 患者生日
	private Date birthday;
	// 患者头像
	private String photo;
	// 预约内容说明
	private String content;
	// 咨询类型,1电话咨询,2视频咨询
	private Integer type;
	// 排班标识
	private String scheduling;
	// 预约日期
	private Date appoDate;
	// 预约星期
	private Integer appoWeek;
	// 预约开始时间
	private Time hourBegin;
	// 预约结束时间
	private Time hourEnd;
	// 图片URL,多图逗号分隔
	private String images;
	// 咨询状态:0待医生同意,-1医生拒绝,1医生同意,2咨询完成
	private Integer status;
	// 评价标识,为空说明未评价
	private DoctorComment comment;
	// 咨询时间
	private Date czrq;
	// 作废标识,1正常,0作废
	private String del;
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	@Column(name = "doctor_name")
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	public String getTeam() {
		return team;
	}
	public void setTeam(String team) {
		this.team = team;
	}
	@Column(name = "team_name")
	public String getTeamName() {
		return teamName;
	}
	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	public Integer getTarget() {
		return target;
	}
	public void setTarget(Integer target) {
		this.target = target;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getFamily() {
		return family;
	}
	public void setFamily(String family) {
		this.family = family;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getScheduling() {
		return scheduling;
	}
	public void setScheduling(String scheduling) {
		this.scheduling = scheduling;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getAppoDate() {
		return appoDate;
	}
	public void setAppoDate(Date appoDate) {
		this.appoDate = appoDate;
	}
	public Integer getAppoWeek() {
		return appoWeek;
	}
	public void setAppoWeek(Integer appoWeek) {
		this.appoWeek = appoWeek;
	}
	@Column(name = "hour_begin")
	public Time getHourBegin() {
		return hourBegin;
	}
	public void setHourBegin(Time hourBegin) {
		this.hourBegin = hourBegin;
	}
	@Column(name = "hour_end")
	public Time getHourEnd() {
		return hourEnd;
	}
	public void setHourEnd(Time hourEnd) {
		this.hourEnd = hourEnd;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	@ManyToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY, targetEntity = DoctorComment.class, optional = true)
	@JoinColumn(name = "comment", referencedColumnName = "code", insertable = true)
	public DoctorComment getComment() {
		return comment;
	}
	public void setComment(DoctorComment comment) {
		this.comment = comment;
	}
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 166
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultMoViReferral.java

@ -1,166 +0,0 @@
package com.yihu.wlyy.entity.consult;
import java.sql.Time;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 视频咨询转诊记录表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_movi_referral")
public class ConsultMoViReferral extends IdEntity {
	/**
	 *
	 */
	private static final long serialVersionUID = -544301814870032058L;
	// 视频咨询标识
	private String consult;
	// 转出医生标识
	private String from;
	// 转出医生姓名
	private String fromName;
	// 转入医生标识
	private String to;
	// 排班标识
	private String scheduling;
	// 预约日期
	private Date appoDate;
	// 预约星期
	private Integer appoWeek;
	// 预约开始时间
	private Time hourBegin;
	// 预约结束时间
	private Time hourEnd;
	// 转诊说明
	private String content;
	// 通话时长:分钟
	private Integer talkTime;
	// 是否已转诊:1是,0否
	private Integer flag;
	// 转诊时间
	private Date czrq;
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	@Column(name = "form_doctor")
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	@Column(name = "form_doctor_name")
	public String getFromName() {
		return fromName;
	}
	public void setFromName(String fromName) {
		this.fromName = fromName;
	}
	@Column(name = "to_doctor")
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getScheduling() {
		return scheduling;
	}
	public void setScheduling(String scheduling) {
		this.scheduling = scheduling;
	}
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
	public Date getAppoDate() {
		return appoDate;
	}
	public void setAppoDate(Date appoDate) {
		this.appoDate = appoDate;
	}
	public Integer getAppoWeek() {
		return appoWeek;
	}
	public void setAppoWeek(Integer appoWeek) {
		this.appoWeek = appoWeek;
	}
	@Column(name = "hour_begin")
	public Time getHourBegin() {
		return hourBegin;
	}
	public void setHourBegin(Time hourBegin) {
		this.hourBegin = hourBegin;
	}
	@Column(name = "hour_end")
	public Time getHourEnd() {
		return hourEnd;
	}
	public void setHourEnd(Time hourEnd) {
		this.hourEnd = hourEnd;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Column(name = "talk_time")
	public Integer getTalkTime() {
		return talkTime;
	}
	public void setTalkTime(Integer talkTime) {
		this.talkTime = talkTime;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 0 - 180
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultPublic.java

@ -1,180 +0,0 @@
package com.yihu.wlyy.entity.consult;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 公共咨询
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_public")
public class ConsultPublic extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 959839737694203009L;
	// 咨询标识
	private String consult;
	// 咨询患者标识
	private String patient;
	// 患者姓名
	private String name;
	// 性别:1男,2女
	private Integer sex;
	// 患者头像
	private String photo;
	// 发病时间(如:1小时前)
	private String when;
	// 问题标题
	private String title;
	// 问题描述
	private String content;
	// 图片URL,多图以逗号分隔
	private String images;
	// 疾病类型,关联wlyy_disease表code
	private String disease;
	// 疾病类型名称
	private String diseaseName;
	// 回复数量
	private Integer amount;
	// 未读数量
	private Integer unread;
	// 咨询时间
	private Date czrq;
	// 作废标识:1正常,0作废
	private String del;
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	@Column(name = "fbsj")
	public String getWhen() {
		return when;
	}
	public void setWhen(String when) {
		this.when = when;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	public String getDisease() {
		return disease;
	}
	public void setDisease(String disease) {
		this.disease = disease;
	}
	@Column(name = "disease_name")
	public String getDiseaseName() {
		return diseaseName;
	}
	public void setDiseaseName(String diseaseName) {
		this.diseaseName = diseaseName;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getUnread() {
		return unread;
	}
	public void setUnread(Integer unread) {
		this.unread = unread;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 127
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultPublicReply.java

@ -1,127 +0,0 @@
package com.yihu.wlyy.entity.consult;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 公共咨询回复信息
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_public_reply")
public class ConsultPublicReply extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 959839737694203009L;
	// 咨询标识
	private String consult;
	// 回复患者标识
	private String patient;
	// 回复医生标识
	private String doctor;
	// 回复者姓名
	private String name;
	// 性别:1男,2女
	private Integer sex;
	// 回复者头像
	private String photo;
	// 回复内容
	private String content;
	// 回复图片URL地址,多图以逗号分隔
	private String images;
	// 咨询时间
	private Date czrq;
	// 作废标识:1正常,0作废
	private String del;
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 328
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultTeam.java

@ -1,328 +0,0 @@
package com.yihu.wlyy.entity.consult;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
/**
 * 三师咨询
 * @author George
 */
@Entity
@Table(name = "wlyy_consult_team")
public class ConsultTeam extends IdEntity {
	private static final long serialVersionUID = -7644448339473861513L;
	private String consult;         // 咨询标识
	private String doctor;          // 医生标识
	private String team;            // 三师团队标识
	private Integer type;           //  1、三师咨询,2、家庭医生咨询,6、患者名医咨询 7医生名医咨询 8续方咨询
	private String patient;         // 提问者标识
	private String name;            // 患者姓名
	private Integer sex;            // 患者性别
	private Date birthday;          // 患者生日
	private String photo;           // 患者头像
	private String when;            // 发病日期
	private String symptoms;        // 主要症状
	private Integer status;         // 咨询状态(0进行中,1已完成,-1患者取消,-2超时未响应自动关闭)
	private String images;          // 咨询图片URL,多图以逗号分隔
	private String voice;           // 咨询语音URL
	private String comment;         // 用户评价标识
	private String commentContent;  // 用户评价内容
	private Integer commentStar;    // 用户评价星级
	private Integer doctorRead;     // 医生未读数量
	private Integer patientRead;    // 患者未读数量
	private Date czrq;              // 咨询时间
	private String del;             // 作废标识,1正常,0作废
	private Long adminTeamId;//行政团队ID
	private Long guidance;   //关联指导
	private String doctorName;//醫生名字
	//起始消息id
	private String startMsgId;
	//结束消息id
	private String endMsgId;
	// 结束人
	private String endOperator;
	// 结束人类型
	private Integer endType;
	// 结束时间
	private Date endTime;
	//是否评价 1、已评价 0、未评价'
	private Integer evaluate;
	//评价时间
	private Date evaluateTime;
	private String relationCode;//关联业务表的code
	public Integer getEvaluate() {
		return evaluate;
	}
	public void setEvaluate(Integer evaluate) {
		this.evaluate = evaluate;
	}
	public Date getEvaluateTime() {
		return evaluateTime;
	}
	public void setEvaluateTime(Date evaluateTime) {
		this.evaluateTime = evaluateTime;
	}
	@Column(name = "admin_team_code")
	public Long getAdminTeamId() {
		return adminTeamId;
	}
	public void setAdminTeamId(Long adminTeamId) {
		this.adminTeamId = adminTeamId;
	}
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	public ConsultTeam() {
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getTeam() {
		return team;
	}
	public void setTeam(String team) {
		this.team = team;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	@Column(name = "fbsj")
	public String getWhen() {
		return when;
	}
	public void setWhen(String when) {
		this.when = when;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	public String getVoice() {
		return voice;
	}
	public void setVoice(String voice) {
		this.voice = voice;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	@Column(name = "comment_content")
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	@Column(name = "comment_star")
	public Integer getCommentStar() {
		return commentStar;
	}
	public void setCommentStar(Integer commentStar) {
		this.commentStar = commentStar;
	}
	@Column(name = "doctor_read")
	public Integer getDoctorRead() {
		return doctorRead;
	}
	public void setDoctorRead(Integer doctorRead) {
		this.doctorRead = doctorRead;
	}
	@Column(name = "patient_read")
	public Integer getPatientRead() {
		return patientRead;
	}
	public void setPatientRead(Integer patientRead) {
		this.patientRead = patientRead;
	}
	// 设定JSON序列化时的日期格式
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	// 设定JSON序列化时的日期格式
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getSymptoms() {
		return symptoms;
	}
	public void setSymptoms(String symptoms) {
		this.symptoms = symptoms;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	@Transient
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	public Long getGuidance() {
		return guidance;
	}
	public void setGuidance(Long guidance) {
		this.guidance = guidance;
	}
	public String getStartMsgId() {
		return startMsgId;
	}
	public void setStartMsgId(String startMsgId) {
		this.startMsgId = startMsgId;
	}
	public String getEndMsgId() {
		return endMsgId;
	}
	public void setEndMsgId(String endMsgId) {
		this.endMsgId = endMsgId;
	}
	public String getEndOperator() {
		return endOperator;
	}
	public void setEndOperator(String endOperator) {
		this.endOperator = endOperator;
	}
	public Integer getEndType() {
		return endType;
	}
	public void setEndType(Integer endType) {
		this.endType = endType;
	}
	public String getRelationCode() {
		return relationCode;
	}
	public void setRelationCode(String relationCode) {
		this.relationCode = relationCode;
	}
}

+ 0 - 100
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultTeamDoctor.java

@ -1,100 +0,0 @@
package com.yihu.wlyy.entity.consult;
import com.yihu.wlyy.entity.IdEntity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 三师咨询转接给的医生记录对象
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_team_doctor")
public class ConsultTeamDoctor extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7967961374207943953L;
	// 三师咨询标识
	private String consult;
	// 医生标
	private String from;
	// 转出医生姓名
	private String fromName;
	// 替回答的医生标识
	private String to;
	// 是否有回复过
	private int reply;
	// 咨询时间
	private Date czrq;
	// 作废标识,1正常,0作废
	private String del;
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	@Column(name = "form_doctor")
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	@Column(name = "form_doctor_name")
	public String getFromName() {
		return fromName;
	}
	public void setFromName(String fromName) {
		this.fromName = fromName;
	}
	@Column(name = "to_doctor")
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public int getReply() {
		return reply;
	}
	public void setReply(int reply) {
		this.reply = reply;
	}
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 125
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/ConsultTeamLog.java

@ -1,125 +0,0 @@
package com.yihu.wlyy.entity.consult;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 三师咨询日志表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_consult_team_log")
public class ConsultTeamLog extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3678031205910236039L;
	// 咨询标识
	private String consult;
	// 回复医生标识
	private String doctor;
	// 回复医生姓名
	private String doctorName;
	// 回复人头像
	private String photo;
	// 回复内容/追问内容
	private String content;
	// 类型,0问,1回复,2追问,3评价
	private Integer type;
	// 记录类型:1文字,2图片,3语音
	private Integer chatType;
	// 操作时间
	private Date czrq;
	// 作废标识,1正常,0作废
	private String del;
	public ConsultTeamLog() {
	}
	public String getConsult() {
		return consult;
	}
	public void setConsult(String consult) {
		this.consult = consult;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	@Column(name = "chat_type")
	public Integer getChatType() {
		return chatType;
	}
	public void setChatType(Integer chatType) {
		this.chatType = chatType;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	@Column(name = "doctor_name")
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 77
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/Evaluate.java

@ -1,77 +0,0 @@
package com.yihu.wlyy.entity.consult;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * Created by 卓 on 2017/5/10.
 */
@Entity
@Table(name = "wlyy_evaluate")
public class Evaluate extends IdEntity {
    private static final long serialVersionUID = -161924234234189L;
    private String doctor;//被评价的医生
    private String consult;//咨询
    private String patient;//评价人
    private Integer score;//分数
    private Integer type;//1、实名,2、匿名
    private Integer evaluateType;//评价种类0、实名评价, 1、专业能力,2、服务态度,3、回复速度
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public String getConsult() {
        return consult;
    }
    public void setConsult(String consult) {
        this.consult = consult;
    }
    public Integer getScore() {
        return score;
    }
    public void setScore(Integer score) {
        this.score = score;
    }
    public Integer getType() {
        return type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getEvaluateType() {
        return evaluateType;
    }
    public void setEvaluateType(Integer evaluateType) {
        this.evaluateType = evaluateType;
    }
}

+ 0 - 57
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/EvaluateLabel.java

@ -1,57 +0,0 @@
package com.yihu.wlyy.entity.consult;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * Created by 卓 on 2017/5/10.
 */
@Entity
@Table(name = "wlyy_evaluate_label")
public class EvaluateLabel extends IdEntity {
    private static final long serialVersionUID = -161943424234234189L;
    private String doctor; //被评价的医生
    private String patient; //被评价的患者
    private String consult; //咨询code
    private String content;//标签内容
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public String getConsult() {
        return consult;
    }
    public void setConsult(String consult) {
        this.consult = consult;
    }
}

+ 0 - 56
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/consult/EvaluateScore.java

@ -1,56 +0,0 @@
package com.yihu.wlyy.entity.consult;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * Created by 卓 on 2017/5/10.
 */
@Entity
@Table(name = "wlyy_evaluate_score")
public class EvaluateScore extends IdEntity {
    private static final long serialVersionUID = -16123422342334189L;
    private String doctor;//被评价的医生
    private String consult;//咨询
    private Double score;//分数
    private String remark;//备注
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getConsult() {
        return consult;
    }
    public void setConsult(String consult) {
        this.consult = consult;
    }
    public Double getScore() {
        return score;
    }
    public void setScore(Double score) {
        this.score = score;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
}

+ 0 - 914
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/demographic/DemographicInfo.java

@ -1,914 +0,0 @@
package com.yihu.wlyy.entity.demographic;
import java.sql.Timestamp;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
/**
 * 人口学信息。所有数据均从基卫数据库导出,数据库的表名与基卫一致。
 */
@Entity
@Table(name = "tbl_basic")
public class DemographicInfo implements java.io.Serializable {
	private Integer personid;//人员编码
	private String persontype;//人员类型c2n(Persontype)
	private String name;//姓名
	private String oldname;//曾用名
	private String aliasname;//别名
	private String sex;//性别c2n(sex)
	private Timestamp birth;//出生年月
	private Timestamp doorbirth;//公安户籍出生年月
	private String cardid;//身份证号码  18
	private String nation;//民族c2n(Nation)
	private String edudegree;//文化程度c2n(Edudegree)
	private String work;//职业c2n(Work)
	private String party;//政治面貌c2n(Party)
	private String doorprop;//户口性质c2n(Whouse)
	private String farmer;//是否农户c2n(Whether)
	private String aviso;//是否重点通报对象
	private String publicize;//是否宣传访视重点
	private String hortation;//是否应奖励对象
	private String checktype;//是否三查对象
	private String single;//是否独生子女
	private Integer workid;//工作单位编码
	private String dooraddress;//户籍地编码
	private String dooraddressinfo;//户籍地详细地址
	private String nowaddress;//现居住地编码
	private String nowaddressinfo;//现居住地详细地址
	private String doortel;//户籍地电话
	private String marrytype;//当前婚姻状况c2n(Marriage)
	private Timestamp marrychangedate;//婚姻变动日期
	private Integer mateid;//'配偶ID
	private String matename;//配偶姓名
	private String matecardid;//配偶身份证号码
	private Timestamp matebrith;//配偶出生年月
	private Integer fatherid;//父亲ID
	private String fathername;//父亲姓名
	private Integer materid;//母亲ID
	private String matername;//母亲姓名
	private Integer girlcount;//现有女孩数
	private Integer boycount;//现有男孩数
	private Integer operatorid;//登记操作员
	private String checkunit;//登记单位
	private Timestamp checkdate;//登记日期
	private Integer uoperatorid;//'修改操作员
	private String updateunit;//修改单位
	private Timestamp updatedate;//修改日期
	private Timestamp indate;//入库日期
	private Integer cancel;//注销表ID(迁出的时候写随机写一个数进去'
	private String memo;//备注
	private String persontel;//人员联系电话
	private Timestamp arrivedate;//来厦日期
	private Timestamp leavedate;//离籍日期
	private String conclass;//避孕方法c2n(ConClass)
	private String munitid;//主管单位id (当人员迁出或死亡的时候置为空)
	private String state;//是否有效1为有效,2为迁出,3为死亡,4为重复人口
	private String health;//健康状态
	private String relaparents;//与父母关系 Relaparents',
	private String matebwork;//配偶职业 Work
	private String workaddress;//配偶工作单位
	private String mateaddtel;//配偶户籍联系电话
	private Integer nowchilden;//现有孩数
	private Timestamp schildbirth;//最小孩子出生日期
	private Timestamp singlenodate;//领独子证时间
	private String isviolate;//是否违纪 Whether (0否,1是)
	private String ismatefarmer;// '配偶是否农户c2n(Whether)'
	private String workaddressid;//'配偶工作单位编码
	private String workname;//工作单位名称
	private Timestamp condate;//避孕日期
	private String contramemo;//避孕备注c2n(Contramemo)
	private String matedooradd;//配偶户籍地编码
	private String matedooraddinfo;//配偶户籍地详细地址
	private Timestamp fmarrydate;//初婚日期
	private String unitname;//配偶工作单位名称
	private String addtype;//人口增加类型(2出生,1迁入)
	private String zjlxdm;//
	private String qtzjhm;//
	private String fathercode;//
	private String gjdm;//
	private Timestamp dbdate;//
	private String mothercode;//
	private String familyhtype;//
	public DemographicInfo() {
	}
	public DemographicInfo(String persontype, String name, String oldname,
						   String aliasname, String sex, Timestamp birth, Timestamp doorbirth,
						   String cardid, String nation, String edudegree, String work,
						   String party, String doorprop, String farmer, String aviso,
						   String publicize, String hortation, String checktype,
						   String single, Integer workid, String dooraddress,
						   String dooraddressinfo, String nowaddress, String nowaddressinfo,
						   String doortel, String marrytype, Timestamp marrychangedate,
						   Integer mateid, String matename, String matecardid,
						   Timestamp matebrith, Integer fatherid, String fathername,
						   Integer materid, String matername, Integer girlcount,
						   Integer boycount, Integer operatorid, String checkunit,
						   Timestamp checkdate, Integer uoperatorid, String updateunit,
						   Timestamp updatedate, Timestamp indate, Integer cancel,
						   String memo, String persontel, Timestamp arrivedate,
						   Timestamp leavedate, String conclass, String munitid, String state,
						   String health, String relaparents, String matebwork,
						   String workaddress, String mateaddtel, Integer nowchilden,
						   Timestamp schildbirth, Timestamp singlenodate, String isviolate,
						   String ismatefarmer, String workaddressid, String workname,
						   Timestamp condate, String contramemo, String matedooradd,
						   String matedooraddinfo, Timestamp fmarrydate, String unitname,
						   String addtype, String zjlxdm, String qtzjhm, String fathercode,
						   String gjdm, Timestamp dbdate, String mothercode, String familyhtype) {
		this.persontype = persontype;
		this.name = name;
		this.oldname = oldname;
		this.aliasname = aliasname;
		this.sex = sex;
		this.birth = birth;
		this.doorbirth = doorbirth;
		this.cardid = cardid;
		this.nation = nation;
		this.edudegree = edudegree;
		this.work = work;
		this.party = party;
		this.doorprop = doorprop;
		this.farmer = farmer;
		this.aviso = aviso;
		this.publicize = publicize;
		this.hortation = hortation;
		this.checktype = checktype;
		this.single = single;
		this.workid = workid;
		this.dooraddress = dooraddress;
		this.dooraddressinfo = dooraddressinfo;
		this.nowaddress = nowaddress;
		this.nowaddressinfo = nowaddressinfo;
		this.doortel = doortel;
		this.marrytype = marrytype;
		this.marrychangedate = marrychangedate;
		this.mateid = mateid;
		this.matename = matename;
		this.matecardid = matecardid;
		this.matebrith = matebrith;
		this.fatherid = fatherid;
		this.fathername = fathername;
		this.materid = materid;
		this.matername = matername;
		this.girlcount = girlcount;
		this.boycount = boycount;
		this.operatorid = operatorid;
		this.checkunit = checkunit;
		this.checkdate = checkdate;
		this.uoperatorid = uoperatorid;
		this.updateunit = updateunit;
		this.updatedate = updatedate;
		this.indate = indate;
		this.cancel = cancel;
		this.memo = memo;
		this.persontel = persontel;
		this.arrivedate = arrivedate;
		this.leavedate = leavedate;
		this.conclass = conclass;
		this.munitid = munitid;
		this.state = state;
		this.health = health;
		this.relaparents = relaparents;
		this.matebwork = matebwork;
		this.workaddress = workaddress;
		this.mateaddtel = mateaddtel;
		this.nowchilden = nowchilden;
		this.schildbirth = schildbirth;
		this.singlenodate = singlenodate;
		this.isviolate = isviolate;
		this.ismatefarmer = ismatefarmer;
		this.workaddressid = workaddressid;
		this.workname = workname;
		this.condate = condate;
		this.contramemo = contramemo;
		this.matedooradd = matedooradd;
		this.matedooraddinfo = matedooraddinfo;
		this.fmarrydate = fmarrydate;
		this.unitname = unitname;
		this.addtype = addtype;
		this.zjlxdm = zjlxdm;
		this.qtzjhm = qtzjhm;
		this.fathercode = fathercode;
		this.gjdm = gjdm;
		this.dbdate = dbdate;
		this.mothercode = mothercode;
		this.familyhtype = familyhtype;
	}
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "PERSONID", unique = true, nullable = false)
	public Integer getPersonid() {
		return this.personid;
	}
	public void setPersonid(Integer personid) {
		this.personid = personid;
	}
	@Column(name = "PERSONTYPE", length = 1)
	public String getPersontype() {
		return this.persontype;
	}
	public void setPersontype(String persontype) {
		this.persontype = persontype;
	}
	@Column(name = "NAME", length = 20)
	public String getName() {
		return this.name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name = "OLDNAME", length = 20)
	public String getOldname() {
		return this.oldname;
	}
	public void setOldname(String oldname) {
		this.oldname = oldname;
	}
	@Column(name = "ALIASNAME", length = 20)
	public String getAliasname() {
		return this.aliasname;
	}
	public void setAliasname(String aliasname) {
		this.aliasname = aliasname;
	}
	@Column(name = "SEX", length = 1)
	public String getSex() {
		return this.sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	@Column(name = "BIRTH", length = 0)
	public Timestamp getBirth() {
		return this.birth;
	}
	public void setBirth(Timestamp birth) {
		this.birth = birth;
	}
	@Column(name = "DOORBIRTH", length = 0)
	public Timestamp getDoorbirth() {
		return this.doorbirth;
	}
	public void setDoorbirth(Timestamp doorbirth) {
		this.doorbirth = doorbirth;
	}
	@Column(name = "CARDID", length = 18)
	public String getCardid() {
		return this.cardid;
	}
	public void setCardid(String cardid) {
		this.cardid = cardid;
	}
	@Column(name = "NATION", length = 2)
	public String getNation() {
		return this.nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	@Column(name = "EDUDEGREE", length = 2)
	public String getEdudegree() {
		return this.edudegree;
	}
	public void setEdudegree(String edudegree) {
		this.edudegree = edudegree;
	}
	@Column(name = "WORK", length = 3)
	public String getWork() {
		return this.work;
	}
	public void setWork(String work) {
		this.work = work;
	}
	@Column(name = "PARTY", length = 2)
	public String getParty() {
		return this.party;
	}
	public void setParty(String party) {
		this.party = party;
	}
	@Column(name = "DOORPROP", length = 2)
	public String getDoorprop() {
		return this.doorprop;
	}
	public void setDoorprop(String doorprop) {
		this.doorprop = doorprop;
	}
	@Column(name = "FARMER", length = 1)
	public String getFarmer() {
		return this.farmer;
	}
	public void setFarmer(String farmer) {
		this.farmer = farmer;
	}
	@Column(name = "AVISO", length = 1)
	public String getAviso() {
		return this.aviso;
	}
	public void setAviso(String aviso) {
		this.aviso = aviso;
	}
	@Column(name = "PUBLICIZE", length = 1)
	public String getPublicize() {
		return this.publicize;
	}
	public void setPublicize(String publicize) {
		this.publicize = publicize;
	}
	@Column(name = "HORTATION", length = 1)
	public String getHortation() {
		return this.hortation;
	}
	public void setHortation(String hortation) {
		this.hortation = hortation;
	}
	@Column(name = "CHECKTYPE", length = 1)
	public String getChecktype() {
		return this.checktype;
	}
	public void setChecktype(String checktype) {
		this.checktype = checktype;
	}
	@Column(name = "SINGLE", length = 1)
	public String getSingle() {
		return this.single;
	}
	public void setSingle(String single) {
		this.single = single;
	}
	@Column(name = "WORKID")
	public Integer getWorkid() {
		return this.workid;
	}
	public void setWorkid(Integer workid) {
		this.workid = workid;
	}
	@Column(name = "DOORADDRESS", length = 12)
	public String getDooraddress() {
		return this.dooraddress;
	}
	public void setDooraddress(String dooraddress) {
		this.dooraddress = dooraddress;
	}
	@Column(name = "DOORADDRESSINFO", length = 100)
	public String getDooraddressinfo() {
		return this.dooraddressinfo;
	}
	public void setDooraddressinfo(String dooraddressinfo) {
		this.dooraddressinfo = dooraddressinfo;
	}
	@Column(name = "NOWADDRESS", length = 12)
	public String getNowaddress() {
		return this.nowaddress;
	}
	public void setNowaddress(String nowaddress) {
		this.nowaddress = nowaddress;
	}
	@Column(name = "NOWADDRESSINFO", length = 100)
	public String getNowaddressinfo() {
		return this.nowaddressinfo;
	}
	public void setNowaddressinfo(String nowaddressinfo) {
		this.nowaddressinfo = nowaddressinfo;
	}
	@Column(name = "DOORTEL", length = 60)
	public String getDoortel() {
		return this.doortel;
	}
	public void setDoortel(String doortel) {
		this.doortel = doortel;
	}
	@Column(name = "MARRYTYPE", length = 2)
	public String getMarrytype() {
		return this.marrytype;
	}
	public void setMarrytype(String marrytype) {
		this.marrytype = marrytype;
	}
	@Column(name = "MARRYCHANGEDATE", length = 0)
	public Timestamp getMarrychangedate() {
		return this.marrychangedate;
	}
	public void setMarrychangedate(Timestamp marrychangedate) {
		this.marrychangedate = marrychangedate;
	}
	@Column(name = "MATEID")
	public Integer getMateid() {
		return this.mateid;
	}
	public void setMateid(Integer mateid) {
		this.mateid = mateid;
	}
	@Column(name = "MATENAME", length = 30)
	public String getMatename() {
		return this.matename;
	}
	public void setMatename(String matename) {
		this.matename = matename;
	}
	@Column(name = "MATECARDID", length = 18)
	public String getMatecardid() {
		return this.matecardid;
	}
	public void setMatecardid(String matecardid) {
		this.matecardid = matecardid;
	}
	@Column(name = "MATEBRITH", length = 0)
	public Timestamp getMatebrith() {
		return this.matebrith;
	}
	public void setMatebrith(Timestamp matebrith) {
		this.matebrith = matebrith;
	}
	@Column(name = "FATHERID")
	public Integer getFatherid() {
		return this.fatherid;
	}
	public void setFatherid(Integer fatherid) {
		this.fatherid = fatherid;
	}
	@Column(name = "FATHERNAME", length = 20)
	public String getFathername() {
		return this.fathername;
	}
	public void setFathername(String fathername) {
		this.fathername = fathername;
	}
	@Column(name = "MATERID")
	public Integer getMaterid() {
		return this.materid;
	}
	public void setMaterid(Integer materid) {
		this.materid = materid;
	}
	@Column(name = "MATERNAME", length = 20)
	public String getMatername() {
		return this.matername;
	}
	public void setMatername(String matername) {
		this.matername = matername;
	}
	@Column(name = "GIRLCOUNT")
	public Integer getGirlcount() {
		return this.girlcount;
	}
	public void setGirlcount(Integer girlcount) {
		this.girlcount = girlcount;
	}
	@Column(name = "BOYCOUNT")
	public Integer getBoycount() {
		return this.boycount;
	}
	public void setBoycount(Integer boycount) {
		this.boycount = boycount;
	}
	@Column(name = "OPERATORID")
	public Integer getOperatorid() {
		return this.operatorid;
	}
	public void setOperatorid(Integer operatorid) {
		this.operatorid = operatorid;
	}
	@Column(name = "CHECKUNIT", length = 12)
	public String getCheckunit() {
		return this.checkunit;
	}
	public void setCheckunit(String checkunit) {
		this.checkunit = checkunit;
	}
	@Column(name = "CHECKDATE", length = 0)
	public Timestamp getCheckdate() {
		return this.checkdate;
	}
	public void setCheckdate(Timestamp checkdate) {
		this.checkdate = checkdate;
	}
	@Column(name = "UOPERATORID")
	public Integer getUoperatorid() {
		return this.uoperatorid;
	}
	public void setUoperatorid(Integer uoperatorid) {
		this.uoperatorid = uoperatorid;
	}
	@Column(name = "UPDATEUNIT", length = 12)
	public String getUpdateunit() {
		return this.updateunit;
	}
	public void setUpdateunit(String updateunit) {
		this.updateunit = updateunit;
	}
	@Column(name = "UPDATEDATE", length = 0)
	public Timestamp getUpdatedate() {
		return this.updatedate;
	}
	public void setUpdatedate(Timestamp updatedate) {
		this.updatedate = updatedate;
	}
	@Column(name = "INDATE", length = 0)
	public Timestamp getIndate() {
		return this.indate;
	}
	public void setIndate(Timestamp indate) {
		this.indate = indate;
	}
	@Column(name = "CANCEL")
	public Integer getCancel() {
		return this.cancel;
	}
	public void setCancel(Integer cancel) {
		this.cancel = cancel;
	}
	@Column(name = "MEMO", length = 210)
	public String getMemo() {
		return this.memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	@Column(name = "PERSONTEL", length = 60)
	public String getPersontel() {
		return this.persontel;
	}
	public void setPersontel(String persontel) {
		this.persontel = persontel;
	}
	@Column(name = "ARRIVEDATE", length = 0)
	public Timestamp getArrivedate() {
		return this.arrivedate;
	}
	public void setArrivedate(Timestamp arrivedate) {
		this.arrivedate = arrivedate;
	}
	@Column(name = "LEAVEDATE", length = 0)
	public Timestamp getLeavedate() {
		return this.leavedate;
	}
	public void setLeavedate(Timestamp leavedate) {
		this.leavedate = leavedate;
	}
	@Column(name = "CONCLASS", length = 3)
	public String getConclass() {
		return this.conclass;
	}
	public void setConclass(String conclass) {
		this.conclass = conclass;
	}
	@Column(name = "MUNITID", length = 12)
	public String getMunitid() {
		return this.munitid;
	}
	public void setMunitid(String munitid) {
		this.munitid = munitid;
	}
	@Column(name = "STATE", length = 1)
	public String getState() {
		return this.state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@Column(name = "HEALTH", length = 2)
	public String getHealth() {
		return this.health;
	}
	public void setHealth(String health) {
		this.health = health;
	}
	@Column(name = "RELAPARENTS", length = 2)
	public String getRelaparents() {
		return this.relaparents;
	}
	public void setRelaparents(String relaparents) {
		this.relaparents = relaparents;
	}
	@Column(name = "MATEBWORK", length = 3)
	public String getMatebwork() {
		return this.matebwork;
	}
	public void setMatebwork(String matebwork) {
		this.matebwork = matebwork;
	}
	@Column(name = "WORKADDRESS", length = 100)
	public String getWorkaddress() {
		return this.workaddress;
	}
	public void setWorkaddress(String workaddress) {
		this.workaddress = workaddress;
	}
	@Column(name = "MATEADDTEL", length = 60)
	public String getMateaddtel() {
		return this.mateaddtel;
	}
	public void setMateaddtel(String mateaddtel) {
		this.mateaddtel = mateaddtel;
	}
	@Column(name = "NOWCHILDEN")
	public Integer getNowchilden() {
		return this.nowchilden;
	}
	public void setNowchilden(Integer nowchilden) {
		this.nowchilden = nowchilden;
	}
	@Column(name = "SCHILDBIRTH", length = 0)
	public Timestamp getSchildbirth() {
		return this.schildbirth;
	}
	public void setSchildbirth(Timestamp schildbirth) {
		this.schildbirth = schildbirth;
	}
	@Column(name = "SINGLENODATE", length = 0)
	public Timestamp getSinglenodate() {
		return this.singlenodate;
	}
	public void setSinglenodate(Timestamp singlenodate) {
		this.singlenodate = singlenodate;
	}
	@Column(name = "ISVIOLATE", length = 1)
	public String getIsviolate() {
		return this.isviolate;
	}
	public void setIsviolate(String isviolate) {
		this.isviolate = isviolate;
	}
	@Column(name = "ISMATEFARMER", length = 2)
	public String getIsmatefarmer() {
		return this.ismatefarmer;
	}
	public void setIsmatefarmer(String ismatefarmer) {
		this.ismatefarmer = ismatefarmer;
	}
	@Column(name = "WORKADDRESSID", length = 12)
	public String getWorkaddressid() {
		return this.workaddressid;
	}
	public void setWorkaddressid(String workaddressid) {
		this.workaddressid = workaddressid;
	}
	@Column(name = "WORKNAME", length = 100)
	public String getWorkname() {
		return this.workname;
	}
	public void setWorkname(String workname) {
		this.workname = workname;
	}
	@Column(name = "CONDATE", length = 0)
	public Timestamp getCondate() {
		return this.condate;
	}
	public void setCondate(Timestamp condate) {
		this.condate = condate;
	}
	@Column(name = "CONTRAMEMO", length = 3)
	public String getContramemo() {
		return this.contramemo;
	}
	public void setContramemo(String contramemo) {
		this.contramemo = contramemo;
	}
	@Column(name = "MATEDOORADD", length = 12)
	public String getMatedooradd() {
		return this.matedooradd;
	}
	public void setMatedooradd(String matedooradd) {
		this.matedooradd = matedooradd;
	}
	@Column(name = "MATEDOORADDINFO", length = 100)
	public String getMatedooraddinfo() {
		return this.matedooraddinfo;
	}
	public void setMatedooraddinfo(String matedooraddinfo) {
		this.matedooraddinfo = matedooraddinfo;
	}
	@Column(name = "FMARRYDATE", length = 0)
	public Timestamp getFmarrydate() {
		return this.fmarrydate;
	}
	public void setFmarrydate(Timestamp fmarrydate) {
		this.fmarrydate = fmarrydate;
	}
	@Column(name = "UNITNAME", length = 100)
	public String getUnitname() {
		return this.unitname;
	}
	public void setUnitname(String unitname) {
		this.unitname = unitname;
	}
	@Column(name = "ADDTYPE", length = 1)
	public String getAddtype() {
		return this.addtype;
	}
	public void setAddtype(String addtype) {
		this.addtype = addtype;
	}
	@Column(name = "ZJLXDM", length = 3)
	public String getZjlxdm() {
		return this.zjlxdm;
	}
	public void setZjlxdm(String zjlxdm) {
		this.zjlxdm = zjlxdm;
	}
	@Column(name = "QTZJHM", length = 20)
	public String getQtzjhm() {
		return this.qtzjhm;
	}
	public void setQtzjhm(String qtzjhm) {
		this.qtzjhm = qtzjhm;
	}
	@Column(name = "FATHERCODE", length = 18)
	public String getFathercode() {
		return this.fathercode;
	}
	public void setFathercode(String fathercode) {
		this.fathercode = fathercode;
	}
	@Column(name = "GJDM", length = 3)
	public String getGjdm() {
		return this.gjdm;
	}
	public void setGjdm(String gjdm) {
		this.gjdm = gjdm;
	}
	@Column(name = "DBDATE", length = 0)
	public Timestamp getDbdate() {
		return this.dbdate;
	}
	public void setDbdate(Timestamp dbdate) {
		this.dbdate = dbdate;
	}
	@Column(name = "MOTHERCODE", length = 18)
	public String getMothercode() {
		return this.mothercode;
	}
	public void setMothercode(String mothercode) {
		this.mothercode = mothercode;
	}
	@Column(name = "FAMILYHTYPE", length = 2)
	public String getFamilyhtype() {
		return this.familyhtype;
	}
	public void setFamilyhtype(String familyhtype) {
		this.familyhtype = familyhtype;
	}
}

+ 0 - 299
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/demographic/FamilyInfo.java

@ -1,299 +0,0 @@
package com.yihu.wlyy.entity.demographic;
import javax.persistence.*;
import java.sql.Timestamp;
/**
 * 人口学之家庭信息。此信息从基卫导出,表名与基卫一致。
 */
@Entity
@Table(name = "tbl_family")
public class FamilyInfo implements java.io.Serializable {
    private Integer id;//记录编码
    private String village;//居委会编码
    private String team;//组编码
    private String familyno;//家庭编号
    private String doornumb;//分户编号
    private String familyadd;//家庭地址
    private String doorno;//门牌号
    private String zipcode;//家庭邮编
    private String doorman;//房东姓名
    private String doormantel;//房东联系电话
    private Integer operatorid;//录入操作员
    private String checkunit;//登记单位
    private Timestamp checkdate;//登记日期
    private Timestamp intime;//入库时间
    private String cancelcau;//注销原因
    private Timestamp canceldate;//注销日期
    private String memo;//备注
    private Timestamp lastmodifydate;//末次修改时间
    private String ftype;//住房类型
    private Timestamp updatedate;//
    private Integer upoperater;//
    private String doorcardid;//房东身份证
    private Integer doorpersonid;//房东关联id
    private String persontype;//人口类型
    private String mzdzm;
    public FamilyInfo(String village, String team, String familyno,
                      String doornumb, String familyadd, String doorno, String zipcode,
                      String doorman, String doormantel, Integer operatorid,
                      String checkunit, Timestamp checkdate, Timestamp intime,
                      String cancelcau, Timestamp canceldate, String memo,
                      Timestamp lastmodifydate, String ftype, Timestamp updatedate,
                      Integer upoperater, String doorcardid, Integer doorpersonid,
                      String persontype, String mzdzm) {
        this.village = village;
        this.team = team;
        this.familyno = familyno;
        this.doornumb = doornumb;
        this.familyadd = familyadd;
        this.doorno = doorno;
        this.zipcode = zipcode;
        this.doorman = doorman;
        this.doormantel = doormantel;
        this.operatorid = operatorid;
        this.checkunit = checkunit;
        this.checkdate = checkdate;
        this.intime = intime;
        this.cancelcau = cancelcau;
        this.canceldate = canceldate;
        this.memo = memo;
        this.lastmodifydate = lastmodifydate;
        this.ftype = ftype;
        this.updatedate = updatedate;
        this.upoperater = upoperater;
        this.doorcardid = doorcardid;
        this.doorpersonid = doorpersonid;
        this.persontype = persontype;
        this.mzdzm = mzdzm;
    }
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID", unique = true, nullable = false)
    public Integer getId() {
        return this.id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    @Column(name = "VILLAGE", length = 12)
    public String getVillage() {
        return this.village;
    }
    public void setVillage(String village) {
        this.village = village;
    }
    @Column(name = "TEAM", length = 4)
    public String getTeam() {
        return this.team;
    }
    public void setTeam(String team) {
        this.team = team;
    }
    @Column(name = "FAMILYNO", length = 6)
    public String getFamilyno() {
        return this.familyno;
    }
    public void setFamilyno(String familyno) {
        this.familyno = familyno;
    }
    @Column(name = "DOORNUMB", length = 4)
    public String getDoornumb() {
        return this.doornumb;
    }
    public void setDoornumb(String doornumb) {
        this.doornumb = doornumb;
    }
    @Column(name = "FAMILYADD", length = 80)
    public String getFamilyadd() {
        return this.familyadd;
    }
    public void setFamilyadd(String familyadd) {
        this.familyadd = familyadd;
    }
    @Column(name = "DOORNO", length = 20)
    public String getDoorno() {
        return this.doorno;
    }
    public void setDoorno(String doorno) {
        this.doorno = doorno;
    }
    @Column(name = "ZIPCODE", length = 6)
    public String getZipcode() {
        return this.zipcode;
    }
    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }
    @Column(name = "DOORMAN", length = 50)
    public String getDoorman() {
        return this.doorman;
    }
    public void setDoorman(String doorman) {
        this.doorman = doorman;
    }
    @Column(name = "DOORMANTEL", length = 60)
    public String getDoormantel() {
        return this.doormantel;
    }
    public void setDoormantel(String doormantel) {
        this.doormantel = doormantel;
    }
    @Column(name = "OPERATORID")
    public Integer getOperatorid() {
        return this.operatorid;
    }
    public void setOperatorid(Integer operatorid) {
        this.operatorid = operatorid;
    }
    @Column(name = "CHECKUNIT", length = 12)
    public String getCheckunit() {
        return this.checkunit;
    }
    public void setCheckunit(String checkunit) {
        this.checkunit = checkunit;
    }
    @Column(name = "CHECKDATE", length = 0)
    public Timestamp getCheckdate() {
        return this.checkdate;
    }
    public void setCheckdate(Timestamp checkdate) {
        this.checkdate = checkdate;
    }
    @Column(name = "INTIME", length = 0)
    public Timestamp getIntime() {
        return this.intime;
    }
    public void setIntime(Timestamp intime) {
        this.intime = intime;
    }
    @Column(name = "CANCELCAU", length = 1)
    public String getCancelcau() {
        return this.cancelcau;
    }
    public void setCancelcau(String cancelcau) {
        this.cancelcau = cancelcau;
    }
    @Column(name = "CANCELDATE", length = 0)
    public Timestamp getCanceldate() {
        return this.canceldate;
    }
    public void setCanceldate(Timestamp canceldate) {
        this.canceldate = canceldate;
    }
    @Column(name = "MEMO", length = 210)
    public String getMemo() {
        return this.memo;
    }
    public void setMemo(String memo) {
        this.memo = memo;
    }
    @Column(name = "LASTMODIFYDATE", length = 0)
    public Timestamp getLastmodifydate() {
        return this.lastmodifydate;
    }
    public void setLastmodifydate(Timestamp lastmodifydate) {
        this.lastmodifydate = lastmodifydate;
    }
    @Column(name = "FTYPE", length = 1)
    public String getFtype() {
        return this.ftype;
    }
    public void setFtype(String ftype) {
        this.ftype = ftype;
    }
    @Column(name = "UPDATEDATE", length = 0)
    public Timestamp getUpdatedate() {
        return this.updatedate;
    }
    public void setUpdatedate(Timestamp updatedate) {
        this.updatedate = updatedate;
    }
    @Column(name = "UPOPERATER")
    public Integer getUpoperater() {
        return this.upoperater;
    }
    public void setUpoperater(Integer upoperater) {
        this.upoperater = upoperater;
    }
    @Column(name = "DOORCARDID", length = 18)
    public String getDoorcardid() {
        return this.doorcardid;
    }
    public void setDoorcardid(String doorcardid) {
        this.doorcardid = doorcardid;
    }
    @Column(name = "DOORPERSONID")
    public Integer getDoorpersonid() {
        return this.doorpersonid;
    }
    public void setDoorpersonid(Integer doorpersonid) {
        this.doorpersonid = doorpersonid;
    }
    @Column(name = "PERSONTYPE", length = 1)
    public String getPersontype() {
        return this.persontype;
    }
    public void setPersontype(String persontype) {
        this.persontype = persontype;
    }
    @Column(name = "MZDZM", length = 12)
    public String getMzdzm() {
        return this.mzdzm;
    }
    public void setMzdzm(String mzdzm) {
        this.mzdzm = mzdzm;
    }
}

+ 0 - 349
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/demographic/ResidenceInfo.java

@ -1,349 +0,0 @@
package com.yihu.wlyy.entity.demographic;
import java.sql.Timestamp;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
/**
 * 户口信息。数据来自基卫,表名与基卫一致。
 */
@Entity
@Table(name = "tbl_personjoinfamilymid")
public class ResidenceInfo implements java.io.Serializable {
	private Integer id;//记录编码
	private Integer familystateid;//家庭户对应id
	private Integer personid;//人员编码
	private String property;//住户性质
	private String relaholder;//与户主关系
	private String personstate;//人户状态
	private Integer operatorid;//录入操作员
	private String checkunit;//登记单位
	private Timestamp checkdate;//登记时间
	private String leavecau;//出户原因
	private Timestamp canceldate;//出户日期
	private String memo;//备注
	private Integer familyinfoid;//户信息id对应表familystate
	private Timestamp indate;//入户日期
	private String state;//1为激活,2为未激活
	private String sn;//序号
	private String team;//组编码
	private String familyno;//家庭编号
	private String doornumb;//分户编号
	private String addno;//地址码(来源于:TEAM+FAMILYNO+DOORNUMB)
	private String persontype;//对应TBL_BASIC表的人员类型
	private String munittype;//管理单位类型(0为主管单位,1为协管单位
	private Integer manid;//对应TBLSYS_MANAGE表的记录ID
	private Timestamp startdate;//开始管理日期
	private Timestamp enddate;//结束管理日期
	private Integer jionid;//入户ID对应tblreg_move或tblhis_children表
	private String jiontype;//入户类型(01对应迁入,02对应出生)
	private Integer cancelid;//出户ID对应tblreg_move或tblreg_cancel表
	private String canceltype;//出户类型(03对应死亡,04对应迁出)
	public ResidenceInfo() {
	}
	public ResidenceInfo(Integer familystateid, Integer personid,
						 String property, String relaholder, String personstate,
						 Integer operatorid, String checkunit, Timestamp checkdate,
						 String leavecau, Timestamp canceldate, String memo,
						 Integer familyinfoid, Timestamp indate, String state, String sn,
						 String team, String familyno, String doornumb, String addno,
						 String persontype, String munittype, Integer manid,
						 Timestamp startdate, Timestamp enddate, Integer jionid,
						 String jiontype, Integer cancelid, String canceltype) {
		this.familystateid = familystateid;
		this.personid = personid;
		this.property = property;
		this.relaholder = relaholder;
		this.personstate = personstate;
		this.operatorid = operatorid;
		this.checkunit = checkunit;
		this.checkdate = checkdate;
		this.leavecau = leavecau;
		this.canceldate = canceldate;
		this.memo = memo;
		this.familyinfoid = familyinfoid;
		this.indate = indate;
		this.state = state;
		this.sn = sn;
		this.team = team;
		this.familyno = familyno;
		this.doornumb = doornumb;
		this.addno = addno;
		this.persontype = persontype;
		this.munittype = munittype;
		this.manid = manid;
		this.startdate = startdate;
		this.enddate = enddate;
		this.jionid = jionid;
		this.jiontype = jiontype;
		this.cancelid = cancelid;
		this.canceltype = canceltype;
	}
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "FAMILYSTATEID")
	public Integer getFamilystateid() {
		return this.familystateid;
	}
	public void setFamilystateid(Integer familystateid) {
		this.familystateid = familystateid;
	}
	@Column(name = "PERSONID")
	public Integer getPersonid() {
		return this.personid;
	}
	public void setPersonid(Integer personid) {
		this.personid = personid;
	}
	@Column(name = "PROPERTY", length = 1)
	public String getProperty() {
		return this.property;
	}
	public void setProperty(String property) {
		this.property = property;
	}
	@Column(name = "RELAHOLDER", length = 2)
	public String getRelaholder() {
		return this.relaholder;
	}
	public void setRelaholder(String relaholder) {
		this.relaholder = relaholder;
	}
	@Column(name = "PERSONSTATE", length = 1)
	public String getPersonstate() {
		return this.personstate;
	}
	public void setPersonstate(String personstate) {
		this.personstate = personstate;
	}
	@Column(name = "OPERATORID")
	public Integer getOperatorid() {
		return this.operatorid;
	}
	public void setOperatorid(Integer operatorid) {
		this.operatorid = operatorid;
	}
	@Column(name = "CHECKUNIT", length = 12)
	public String getCheckunit() {
		return this.checkunit;
	}
	public void setCheckunit(String checkunit) {
		this.checkunit = checkunit;
	}
	@Column(name = "CHECKDATE", length = 0)
	public Timestamp getCheckdate() {
		return this.checkdate;
	}
	public void setCheckdate(Timestamp checkdate) {
		this.checkdate = checkdate;
	}
	@Column(name = "LEAVECAU", length = 1)
	public String getLeavecau() {
		return this.leavecau;
	}
	public void setLeavecau(String leavecau) {
		this.leavecau = leavecau;
	}
	@Column(name = "CANCELDATE", length = 0)
	public Timestamp getCanceldate() {
		return this.canceldate;
	}
	public void setCanceldate(Timestamp canceldate) {
		this.canceldate = canceldate;
	}
	@Column(name = "MEMO", length = 210)
	public String getMemo() {
		return this.memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	@Column(name = "FAMILYINFOID")
	public Integer getFamilyinfoid() {
		return this.familyinfoid;
	}
	public void setFamilyinfoid(Integer familyinfoid) {
		this.familyinfoid = familyinfoid;
	}
	@Column(name = "INDATE", length = 0)
	public Timestamp getIndate() {
		return this.indate;
	}
	public void setIndate(Timestamp indate) {
		this.indate = indate;
	}
	@Column(name = "STATE", length = 1)
	public String getState() {
		return this.state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@Column(name = "SN", length = 4)
	public String getSn() {
		return this.sn;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	@Column(name = "TEAM", length = 4)
	public String getTeam() {
		return this.team;
	}
	public void setTeam(String team) {
		this.team = team;
	}
	@Column(name = "FAMILYNO", length = 6)
	public String getFamilyno() {
		return this.familyno;
	}
	public void setFamilyno(String familyno) {
		this.familyno = familyno;
	}
	@Column(name = "DOORNUMB", length = 4)
	public String getDoornumb() {
		return this.doornumb;
	}
	public void setDoornumb(String doornumb) {
		this.doornumb = doornumb;
	}
	@Column(name = "ADDNO", length = 14)
	public String getAddno() {
		return this.addno;
	}
	public void setAddno(String addno) {
		this.addno = addno;
	}
	@Column(name = "PERSONTYPE", length = 1)
	public String getPersontype() {
		return this.persontype;
	}
	public void setPersontype(String persontype) {
		this.persontype = persontype;
	}
	@Column(name = "MUNITTYPE", length = 1)
	public String getMunittype() {
		return this.munittype;
	}
	public void setMunittype(String munittype) {
		this.munittype = munittype;
	}
	@Column(name = "MANID")
	public Integer getManid() {
		return this.manid;
	}
	public void setManid(Integer manid) {
		this.manid = manid;
	}
	@Column(name = "STARTDATE", length = 0)
	public Timestamp getStartdate() {
		return this.startdate;
	}
	public void setStartdate(Timestamp startdate) {
		this.startdate = startdate;
	}
	@Column(name = "ENDDATE", length = 0)
	public Timestamp getEnddate() {
		return this.enddate;
	}
	public void setEnddate(Timestamp enddate) {
		this.enddate = enddate;
	}
	@Column(name = "JIONID")
	public Integer getJionid() {
		return this.jionid;
	}
	public void setJionid(Integer jionid) {
		this.jionid = jionid;
	}
	@Column(name = "JIONTYPE", length = 2)
	public String getJiontype() {
		return this.jiontype;
	}
	public void setJiontype(String jiontype) {
		this.jiontype = jiontype;
	}
	@Column(name = "CANCELID")
	public Integer getCancelid() {
		return this.cancelid;
	}
	public void setCancelid(Integer cancelid) {
		this.cancelid = cancelid;
	}
	@Column(name = "CANCELTYPE", length = 2)
	public String getCanceltype() {
		return this.canceltype;
	}
	public void setCanceltype(String canceltype) {
		this.canceltype = canceltype;
	}
}

+ 0 - 109
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/Device.java

@ -1,109 +0,0 @@
package com.yihu.wlyy.entity.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 设备列表
 */
@Entity
@Table(name = "dm_device")
public class Device extends IdEntity {
	private String categoryCode;
	private String photo;
	private String brands;
	private String model;
	private String isMultiUser;
	private String multiUser;
	private String name;
	private Date czrq;
	private String del;
	@Column(name="category_code")
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	@Column(name="photo")
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	@Column(name="brands")
	public String getBrands() {
		return brands;
	}
	public void setBrands(String brands) {
		this.brands = brands;
	}
	@Column(name="model")
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	@Column(name="is_multi_user")
	public String getIsMultiUser() {
		return isMultiUser;
	}
	public void setIsMultiUser(String isMultiUser) {
		this.isMultiUser = isMultiUser;
	}
	@Column(name="multi_user")
	public String getMultiUser() {
		return multiUser;
	}
	public void setMultiUser(String multiUser) {
		this.multiUser = multiUser;
	}
	@Column(name="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
	@Column(name="czrq")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	@Column(name="del")
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 57
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/DeviceCategory.java

@ -1,57 +0,0 @@
package com.yihu.wlyy.entity.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 设备分类表
 */
@Entity
@Table(name = "dm_device_category")
public class DeviceCategory extends IdEntity {
	// 设备类型标识
	private String code;
	// 设备类型名称
	private String name;
	// 操作时间
	private Date czrq;
	private String del;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 226
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/PatientBloodSugger.java

@ -1,226 +0,0 @@
package com.yihu.wlyy.entity.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import com.yihu.wlyy.health.entity.DevicePatientHealthIndex;
import javax.persistence.*;
import java.util.Date;
/**
 * Created by Reece on 2017/5/11.
 */
@Entity
@Table(name = "wlyy_patient_blood_sugger")
public class PatientBloodSugger extends IdEntity {
    //    早餐前开始时间
    private String fastingStart;
    //    '早餐前截止时间'
    private String fastingEnd;
    //    '早餐后开始时间'
    private String afterBreakfastStart;
    //    '早餐后截止时间'
    private String afterBreakfastEnd;
    //    '午餐前开始时间'
    private String beforeLunchStart;
    //    '午餐前截止时间'
    private String beforeLunchEnd;
    //    '午餐后开始时间'
    private String afterLunchStart;
    //    '午餐后截止时间'
    private String afterLunchEnd;
    //    '晚餐前开始时间'
    private String beforeDinnerStart;
    //    '晚餐前截止时间'
    private String beforeDinnerEnd;
    //    '晚餐后开始时间'
    private String afterDinnerStart;
    //    '晚餐后截止时间'
    private String afterDinnerEnd;
    //    '睡前开始时间'
    private String beforeSleepStart;
    //    '睡前截止时间'
    private String beforeSleepEnd;
    //    '添加时间'
    private Date czrq;
    //    是否作废,1正常,0作废
    private int del;
    public PatientBloodSugger() {
    }
    @Column(name = "fasting_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingStart() {
        return fastingStart;
    }
    public void setFastingStart(String fastingStart) {
        this.fastingStart = fastingStart;
    }
    @Column(name = "fasting_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingEnd() {
        return fastingEnd;
    }
    public void setFastingEnd(String fastingEnd) {
        this.fastingEnd = fastingEnd;
    }
    @Column(name = "after_breakfast_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastStart() {
        return afterBreakfastStart;
    }
    public void setAfterBreakfastStart(String afterBreakfastStart) {
        this.afterBreakfastStart = afterBreakfastStart;
    }
    @Column(name = "after_breakfast_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastEnd() {
        return afterBreakfastEnd;
    }
    public void setAfterBreakfastEnd(String afterBreakfastEnd) {
        this.afterBreakfastEnd = afterBreakfastEnd;
    }
    @Column(name = "before_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchStart() {
        return beforeLunchStart;
    }
    public void setBeforeLunchStart(String beforeLunchStart) {
        this.beforeLunchStart = beforeLunchStart;
    }
    @Column(name = "before_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchEnd() {
        return beforeLunchEnd;
    }
    public void setBeforeLunchEnd(String beforeLunchEnd) {
        this.beforeLunchEnd = beforeLunchEnd;
    }
    @Column(name = "after_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchStart() {
        return afterLunchStart;
    }
    public void setAfterLunchStart(String afterLunchStart) {
        this.afterLunchStart = afterLunchStart;
    }
    @Column(name = "after_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchEnd() {
        return afterLunchEnd;
    }
    public void setAfterLunchEnd(String afterLunchEnd) {
        this.afterLunchEnd = afterLunchEnd;
    }
    @Column(name = "before_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerStart() {
        return beforeDinnerStart;
    }
    public void setBeforeDinnerStart(String beforeDinnerStart) {
        this.beforeDinnerStart = beforeDinnerStart;
    }
    @Column(name = "before_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerEnd() {
        return beforeDinnerEnd;
    }
    public void setBeforeDinnerEnd(String beforeDinnerEnd) {
        this.beforeDinnerEnd = beforeDinnerEnd;
    }
    @Column(name = "after_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerStart() {
        return afterDinnerStart;
    }
    public void setAfterDinnerStart(String afterDinnerStart) {
        this.afterDinnerStart = afterDinnerStart;
    }
    @Column(name = "after_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerEnd() {
        return afterDinnerEnd;
    }
    public void setAfterDinnerEnd(String afterDinnerEnd) {
        this.afterDinnerEnd = afterDinnerEnd;
    }
    @Column(name = "before_sleep_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepStart() {
        return beforeSleepStart;
    }
    public void setBeforeSleepStart(String beforeSleepStart) {
        this.beforeSleepStart = beforeSleepStart;
    }
    @Column(name = "before_sleep_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepEnd() {
        return beforeSleepEnd;
    }
    public void setBeforeSleepEnd(String beforeSleepEnd) {
        this.beforeSleepEnd = beforeSleepEnd;
    }
    @Column(name = "czrq")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    public int getDel() {
        return del;
    }
    public void setDel(int del) {
        this.del = del;
    }
}

+ 0 - 152
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/PatientDevice.java

@ -1,152 +0,0 @@
package com.yihu.wlyy.entity.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
@Entity
@Table(name = "wlyy_patient_device")
public class PatientDevice extends IdEntity {
	// 设备ID
	private Long deviceId;
	// 设备标识
	private String deviceSn;
	// 设备名称
	private String deviceName;
	// 用户code
	private String user;
	// 设备类型标识
	private String categoryCode;
	// 用户类型标准 -1代表单用户
	private String userType;
	// 用户身份证
	private String userIdcard;
	// 操作医生代码
	private String doctor;
	private String agent;//代绑人代码(家人)
	// 操作时间
	private Date czrq;
	///**
	// * 是否有效
	// * 1-已删除绑定
	// * 0-正常绑定
	// */
	//private int del;
	///**
	// * 删除人CODE
	// */
	//private String delUser;
    //
	//@Column(name="del_user")
	//public String getDelUser() {
	//	return delUser;
	//}
    //
	//public void setDelUser(String delUser) {
	//	this.delUser = delUser;
	//}
    //
	//public int getDel() {
	//	return del;
	//}
    //
	//public void setDel(int del) {
	//	this.del = del;
	//}
	@Column(name="device_id")
	public Long getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}
	@Column(name="device_sn")
	public String getDeviceSn() {
		return deviceSn;
	}
	public void setDeviceSn(String deviceSn) {
		this.deviceSn = deviceSn;
	}
	@Column(name="device_name")
	public String getDeviceName() {
		return deviceName;
	}
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	@Column(name="user")
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	@Column(name="category_code")
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	@Column(name="user_type")
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	@Column(name="user_idcard")
	public String getUserIdcard() {
		return userIdcard;
	}
	public void setUserIdcard(String userIdcard) {
		this.userIdcard = userIdcard;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	@Column(name="czrq")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	@Column(name="doctor")
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	@Column(name="agent")
	public String getAgent() {
		return agent;
	}
	public void setAgent(String agent) {
		this.agent = agent;
	}
}

+ 0 - 248
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/device/PatientHealthTime.java

@ -1,248 +0,0 @@
package com.yihu.wlyy.entity.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import com.yihu.wlyy.health.entity.DevicePatientHealthIndex;
import javax.persistence.*;
import java.util.Date;
/**
 * Created by Reece on 2017/5/11.
 */
@Entity
@Table(name = "wlyy_patient_health_time")
public class PatientHealthTime extends IdEntity {
    //    居民
    private String user;
    //    设备sn码
    private String deviceSN;
    //    早餐前开始时间
    private String fastingStart;
    //    '早餐前截止时间'
    private String fastingEnd;
    //    '早餐后开始时间'
    private String afterBreakfastStart;
    //    '早餐后截止时间'
    private String afterBreakfastEnd;
    //    '午餐前开始时间'
    private String beforeLunchStart;
    //    '午餐前截止时间'
    private String beforeLunchEnd;
    //    '午餐后开始时间'
    private String afterLunchStart;
    //    '午餐后截止时间'
    private String afterLunchEnd;
    //    '晚餐前开始时间'
    private String beforeDinnerStart;
    //    '晚餐前截止时间'
    private String beforeDinnerEnd;
    //    '晚餐后开始时间'
    private String afterDinnerStart;
    //    '晚餐后截止时间'
    private String afterDinnerEnd;
    //    '睡前开始时间'
    private String beforeSleepStart;
    //    '睡前截止时间'
    private String beforeSleepEnd;
    //    '添加时间'
    private Date czrq;
    //    是否作废,1正常,0作废
    private int del;
    public PatientHealthTime() {
    }
    @Column(name = "user")
    public String getUser() {
        return user;
    }
    public void setUser(String user) {
        this.user = user;
    }
    @Column(name = "device_sn")
    public String getDeviceSN() {
        return deviceSN;
    }
    public void setDeviceSN(String deviceSN) {
        this.deviceSN = deviceSN;
    }
    @Column(name = "fasting_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingStart() {
        return fastingStart;
    }
    public void setFastingStart(String fastingStart) {
        this.fastingStart = fastingStart;
    }
    @Column(name = "fasting_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingEnd() {
        return fastingEnd;
    }
    public void setFastingEnd(String fastingEnd) {
        this.fastingEnd = fastingEnd;
    }
    @Column(name = "after_breakfast_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastStart() {
        return afterBreakfastStart;
    }
    public void setAfterBreakfastStart(String afterBreakfastStart) {
        this.afterBreakfastStart = afterBreakfastStart;
    }
    @Column(name = "after_breakfast_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastEnd() {
        return afterBreakfastEnd;
    }
    public void setAfterBreakfastEnd(String afterBreakfastEnd) {
        this.afterBreakfastEnd = afterBreakfastEnd;
    }
    @Column(name = "before_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchStart() {
        return beforeLunchStart;
    }
    public void setBeforeLunchStart(String beforeLunchStart) {
        this.beforeLunchStart = beforeLunchStart;
    }
    @Column(name = "before_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchEnd() {
        return beforeLunchEnd;
    }
    public void setBeforeLunchEnd(String beforeLunchEnd) {
        this.beforeLunchEnd = beforeLunchEnd;
    }
    @Column(name = "after_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchStart() {
        return afterLunchStart;
    }
    public void setAfterLunchStart(String afterLunchStart) {
        this.afterLunchStart = afterLunchStart;
    }
    @Column(name = "after_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchEnd() {
        return afterLunchEnd;
    }
    public void setAfterLunchEnd(String afterLunchEnd) {
        this.afterLunchEnd = afterLunchEnd;
    }
    @Column(name = "before_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerStart() {
        return beforeDinnerStart;
    }
    public void setBeforeDinnerStart(String beforeDinnerStart) {
        this.beforeDinnerStart = beforeDinnerStart;
    }
    @Column(name = "before_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerEnd() {
        return beforeDinnerEnd;
    }
    public void setBeforeDinnerEnd(String beforeDinnerEnd) {
        this.beforeDinnerEnd = beforeDinnerEnd;
    }
    @Column(name = "after_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerStart() {
        return afterDinnerStart;
    }
    public void setAfterDinnerStart(String afterDinnerStart) {
        this.afterDinnerStart = afterDinnerStart;
    }
    @Column(name = "after_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerEnd() {
        return afterDinnerEnd;
    }
    public void setAfterDinnerEnd(String afterDinnerEnd) {
        this.afterDinnerEnd = afterDinnerEnd;
    }
    @Column(name = "before_sleep_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepStart() {
        return beforeSleepStart;
    }
    public void setBeforeSleepStart(String beforeSleepStart) {
        this.beforeSleepStart = beforeSleepStart;
    }
    @Column(name = "before_sleep_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepEnd() {
        return beforeSleepEnd;
    }
    public void setBeforeSleepEnd(String beforeSleepEnd) {
        this.beforeSleepEnd = beforeSleepEnd;
    }
    @Column(name = "czrq")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    public int getDel() {
        return del;
    }
    public void setDel(int del) {
        this.del = del;
    }
}

+ 0 - 46
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/Disease.java

@ -1,46 +0,0 @@
package com.yihu.wlyy.entity.dict;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 疾病字典项
 *
 * @author George
 */
@Entity
@Table(name = "wlyy_disease")
public class Disease extends IdEntity {
	private static final long serialVersionUID = 7011816488798083794L;
	private String code;// 疾病标识
	private String name;// 疾病名称
	private String del;// 作废标识,1正常,0删除
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 52
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/DmDrugsGroup.java

@ -1,52 +0,0 @@
package com.yihu.wlyy.entity.dict;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 药品分组
 * hzp add 20161207
 */
@Entity
@Table(name = "dm_drugs_group")
public class DmDrugsGroup extends IdEntity {
	private String groupCode;// 分组代码
	private String groupName;// 分组名称
	private Integer order; //排序
	private String status;// 是否有效
	public String getGroupCode() {
		return groupCode;
	}
	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public Integer getOrder() {
		return order;
	}
	public void setOrder(Integer order) {
		this.order = order;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}

+ 0 - 97
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/DmDrugsGroupItem.java

@ -1,97 +0,0 @@
package com.yihu.wlyy.entity.dict;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 药品分组管理
 * hzp add 20161207
 */
@Entity
@Table(name = "dm_drugs_group_item")
public class DmDrugsGroupItem extends IdEntity {
	private String groupCode;// 分组代码
	private String groupName;// 分组名称
	private String drugsCode;// 药品代码
	private String drugsName;// 药品名称
	private String drugsUnit;// 用药单位【字典MEASURE_UNIT_DICT】
	private String drugsQpy;// 药品名称全拼
	private String drugsSpy;// 药品名称首拼
	private Integer order; //排序
	private String status;// 是否有效
	public String getGroupCode() {
		return groupCode;
	}
	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getDrugsCode() {
		return drugsCode;
	}
	public void setDrugsCode(String drugsCode) {
		this.drugsCode = drugsCode;
	}
	public String getDrugsName() {
		return drugsName;
	}
	public void setDrugsName(String drugsName) {
		this.drugsName = drugsName;
	}
	public String getDrugsUnit() {
		return drugsUnit;
	}
	public void setDrugsUnit(String drugsUnit) {
		this.drugsUnit = drugsUnit;
	}
	public String getDrugsQpy() {
		return drugsQpy;
	}
	public void setDrugsQpy(String drugsQpy) {
		this.drugsQpy = drugsQpy;
	}
	public String getDrugsSpy() {
		return drugsSpy;
	}
	public void setDrugsSpy(String drugsSpy) {
		this.drugsSpy = drugsSpy;
	}
	public Integer getOrder() {
		return order;
	}
	public void setOrder(Integer order) {
		this.order = order;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}

+ 0 - 130
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/DmExpressagePriceEntity.java

@ -1,130 +0,0 @@
package com.yihu.wlyy.entity.dict;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 快递价目表
 */
@Entity
@Table(name = "dm_expressage_price", schema = "wlyy", catalog = "")
public class DmExpressagePriceEntity extends IdEntity {
    private String code;
    private String startAddressName;
    private String endAddressName;
    private Integer firstWeight;
    private Integer firstWeightPrice;
    private Integer continueWeight;
    private Integer continueWeightPrice;
    @Basic
    @Column(name = "code")
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    @Basic
    @Column(name = "start_address_name")
    public String getStartAddressName() {
        return startAddressName;
    }
    public void setStartAddressName(String startAddressName) {
        this.startAddressName = startAddressName;
    }
    @Basic
    @Column(name = "end_address_name")
    public String getEndAddressName() {
        return endAddressName;
    }
    public void setEndAddressName(String endAddressName) {
        this.endAddressName = endAddressName;
    }
    @Basic
    @Column(name = "first_weight")
    public Integer getFirstWeight() {
        return firstWeight;
    }
    public void setFirstWeight(Integer firstWeight) {
        this.firstWeight = firstWeight;
    }
    @Basic
    @Column(name = "first_weight_price")
    public Integer getFirstWeightPrice() {
        return firstWeightPrice;
    }
    public void setFirstWeightPrice(Integer firstWeightPrice) {
        this.firstWeightPrice = firstWeightPrice;
    }
    @Basic
    @Column(name = "continue_weight")
    public Integer getContinueWeight() {
        return continueWeight;
    }
    public void setContinueWeight(Integer continueWeight) {
        this.continueWeight = continueWeight;
    }
    @Basic
    @Column(name = "continue_weight_price")
    public Integer getContinueWeightPrice() {
        return continueWeightPrice;
    }
    public void setContinueWeightPrice(Integer continueWeightPrice) {
        this.continueWeightPrice = continueWeightPrice;
    }
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DmExpressagePriceEntity that = (DmExpressagePriceEntity) o;
        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        if (code != null ? !code.equals(that.code) : that.code != null) return false;
        if (startAddressName != null ? !startAddressName.equals(that.startAddressName) : that.startAddressName != null)
            return false;
        if (endAddressName != null ? !endAddressName.equals(that.endAddressName) : that.endAddressName != null)
            return false;
        if (firstWeight != null ? !firstWeight.equals(that.firstWeight) : that.firstWeight != null) return false;
        if (firstWeightPrice != null ? !firstWeightPrice.equals(that.firstWeightPrice) : that.firstWeightPrice != null)
            return false;
        if (continueWeight != null ? !continueWeight.equals(that.continueWeight) : that.continueWeight != null)
            return false;
        if (continueWeightPrice != null ? !continueWeightPrice.equals(that.continueWeightPrice) : that.continueWeightPrice != null)
            return false;
        return true;
    }
    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (code != null ? code.hashCode() : 0);
        result = 31 * result + (startAddressName != null ? startAddressName.hashCode() : 0);
        result = 31 * result + (endAddressName != null ? endAddressName.hashCode() : 0);
        result = 31 * result + (firstWeight != null ? firstWeight.hashCode() : 0);
        result = 31 * result + (firstWeightPrice != null ? firstWeightPrice.hashCode() : 0);
        result = 31 * result + (continueWeight != null ? continueWeight.hashCode() : 0);
        result = 31 * result + (continueWeightPrice != null ? continueWeightPrice.hashCode() : 0);
        return result;
    }
}

+ 0 - 165
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/FoundationMedicalSystemParam.java

@ -1,165 +0,0 @@
package com.yihu.wlyy.entity.dict;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
/**
 * 基卫字典与系统参数,数据取自基卫
 */
@Entity
@Table(name = "tblsys_param")
public class FoundationMedicalSystemParam implements java.io.Serializable {
	private Integer codeid; //参数自动编码
	private String paramname;//参数英文名称
	private String code;//代码
	private Integer ord;//顺序号
	private String paramchina;//参数中文名称
	private String namespell;//拼音
	private String iscustom;//是否允许自定义自定义
	private String cancel;//注销
	private String paramdesc;
	private String canceldate;//注销时间
	private String classname;//分类名称
	private String bmlevel;//表码级别(1国家,2省,3市,4自定义)
	private String description;//描述
    public FoundationMedicalSystemParam(){}
	public FoundationMedicalSystemParam(String paramname, String code, Integer ord,
                                        String paramchina, String namespell, String iscustom,
                                        String cancel, String paramdesc, String canceldate,
                                        String classname, String bmlevel, String description) {
		this.paramname = paramname;
		this.code = code;
		this.ord = ord;
		this.paramchina = paramchina;
		this.namespell = namespell;
		this.iscustom = iscustom;
		this.cancel = cancel;
		this.paramdesc = paramdesc;
		this.canceldate = canceldate;
		this.classname = classname;
		this.bmlevel = bmlevel;
		this.description = description;
	}
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "CODEID", unique = true, nullable = false)
	public Integer getCodeid() {
		return this.codeid;
	}
	public void setCodeid(Integer codeid) {
		this.codeid = codeid;
	}
	@Column(name = "PARAMNAME", length = 20)
	public String getParamname() {
		return this.paramname;
	}
	public void setParamname(String paramname) {
		this.paramname = paramname;
	}
	@Column(name = "CODE", length = 12)
	public String getCode() {
		return this.code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@Column(name = "ORD")
	public Integer getOrd() {
		return this.ord;
	}
	public void setOrd(Integer ord) {
		this.ord = ord;
	}
	@Column(name = "PARAMCHINA", length = 250)
	public String getParamchina() {
		return this.paramchina;
	}
	public void setParamchina(String paramchina) {
		this.paramchina = paramchina;
	}
	@Column(name = "NAMESPELL", length = 20)
	public String getNamespell() {
		return this.namespell;
	}
	public void setNamespell(String namespell) {
		this.namespell = namespell;
	}
	@Column(name = "ISCUSTOM", length = 1)
	public String getIscustom() {
		return this.iscustom;
	}
	public void setIscustom(String iscustom) {
		this.iscustom = iscustom;
	}
	@Column(name = "CANCEL", length = 1)
	public String getCancel() {
		return this.cancel;
	}
	public void setCancel(String cancel) {
		this.cancel = cancel;
	}
	@Column(name = "PARAMDESC", length = 30)
	public String getParamdesc() {
		return this.paramdesc;
	}
	public void setParamdesc(String paramdesc) {
		this.paramdesc = paramdesc;
	}
	@Column(name = "CANCELDATE", length = 8)
	public String getCanceldate() {
		return this.canceldate;
	}
	public void setCanceldate(String canceldate) {
		this.canceldate = canceldate;
	}
	@Column(name = "CLASSNAME", length = 20)
	public String getClassname() {
		return this.classname;
	}
	public void setClassname(String classname) {
		this.classname = classname;
	}
	@Column(name = "BMLEVEL", length = 1)
	public String getBmlevel() {
		return this.bmlevel;
	}
	public void setBmlevel(String bmlevel) {
		this.bmlevel = bmlevel;
	}
	@Column(name = "DESCRIPTION", length = 200)
	public String getDescription() {
		return this.description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}

+ 0 - 106
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/HealthProblemDict.java

@ -1,106 +0,0 @@
package com.yihu.wlyy.entity.dict;
import javax.persistence.*;
import java.util.Date;
/**
 * Created by chenweida on 2017/8/9.
 */
@Entity
@Table(name = "health_problem_dict")
public class HealthProblemDict {
    private Long id;
    private String hpcode;
    private String hpname;
    private String code;//'字典编码'
    private String name;//'字典名称'
    private String description;//'描述'
    private String createUser;
    private Date createDate;
    private String updateUser;
    private Date updateDate;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getCreateUser() {
        return createUser;
    }
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateDate() {
        return createDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public String getUpdateUser() {
        return updateUser;
    }
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateDate() {
        return updateDate;
    }
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
    @Transient
    public String getHpcode() {
        return hpcode;
    }
    public void setHpcode(String hpcode) {
        this.hpcode = hpcode;
    }
    @Transient
    public String getHpname() {
        return hpname;
    }
    public void setHpname(String hpname) {
        this.hpname = hpname;
    }
}

+ 0 - 60
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/HpIcd10Relation.java

@ -1,60 +0,0 @@
package com.yihu.wlyy.entity.dict;
import javax.persistence.*;
import java.util.Date;
/**
 * Created by chenweida on 2017/8/9.
 */
@Entity
@Table(name = "hp_icd10_relation")
public class HpIcd10Relation {
    private Long id;
    private Long hpId;//健康问题字典id
    private Long icd10Id;//icd10字典id
    private String createUser;
    private Date createDate;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getHpId() {
        return hpId;
    }
    public void setHpId(Long hpId) {
        this.hpId = hpId;
    }
    public Long getIcd10Id() {
        return icd10Id;
    }
    public void setIcd10Id(Long icd10Id) {
        this.icd10Id = icd10Id;
    }
    public String getCreateUser() {
        return createUser;
    }
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateDate() {
        return createDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}

+ 0 - 114
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/Icd10Dict.java

@ -1,114 +0,0 @@
package com.yihu.wlyy.entity.dict;
import javax.persistence.*;
import java.util.Date;
/**
 * Created by chenweida on 2017/8/9.
 */
@Entity
@Table(name = "icd10_dict")
public class Icd10Dict {
    private Long id;
    private String code;//'icd10字典编码'
    private String name;//'icd10字典名称'
    private String phoneticCode;//字典名称拼音首字母
    private String chronicFlag;//是否慢病
    private String infectiousFlag;//是否传染病
    private String description;//'描述'
    private String createUser;
    private Date createDate;
    private String updateUser;
    private Date updateDate;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPhoneticCode() {
        return phoneticCode;
    }
    public void setPhoneticCode(String phoneticCode) {
        this.phoneticCode = phoneticCode;
    }
    public String getChronicFlag() {
        return chronicFlag;
    }
    public void setChronicFlag(String chronicFlag) {
        this.chronicFlag = chronicFlag;
    }
    public String getInfectiousFlag() {
        return infectiousFlag;
    }
    public void setInfectiousFlag(String infectiousFlag) {
        this.infectiousFlag = infectiousFlag;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getCreateUser() {
        return createUser;
    }
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateDate() {
        return createDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public String getUpdateUser() {
        return updateUser;
    }
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateDate() {
        return updateDate;
    }
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}

+ 0 - 55
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/Medicines.java

@ -1,55 +0,0 @@
package com.yihu.wlyy.entity.dict;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 药品字典项目
 * @author George
 */
@Entity
@Table(name = "dm_medicines")
public class Medicines extends IdEntity {
	private static final long serialVersionUID = -6408087441099619157L;
	private String code;// 药品标识
	private String name;// 药品名称
	private Integer type;// 药品类型:1健康记录
	private String del;// 作废标识,1正常,0作废
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 102
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/SystemDict.java

@ -1,102 +0,0 @@
package com.yihu.wlyy.entity.dict;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
/**
 * SystemDict entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "system_dict")
public class SystemDict  implements java.io.Serializable {
	// Fields
	private String dictName;
	private String code;
	private String value;
	private String pyCode;
	private Integer sort;
	private Integer id;
	// Constructors
	/** default constructor */
	public SystemDict() {
	}
	/** minimal constructor */
	public SystemDict(String dictName, String code, String value) {
		this.dictName = dictName;
		this.code = code;
		this.value = value;
	}
	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	/** full constructor */
	public SystemDict(String dictName, String code, String value,
			String pyCode, Integer sort) {
		this.dictName = dictName;
		this.code = code;
		this.value = value;
		this.pyCode = pyCode;
		this.sort = sort;
	}
	@Column(name = "dict_name", nullable = false, length = 50)
	public String getDictName() {
		return this.dictName;
	}
	public void setDictName(String dictName) {
		this.dictName = dictName;
	}
	@Column(name = "code", nullable = false, length = 50)
	public String getCode() {
		return this.code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@Column(name = "value", nullable = false, length = 50)
	public String getValue() {
		return this.value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	@Column(name = "py_code", length = 50)
	public String getPyCode() {
		return this.pyCode;
	}
	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}
	@Column(name = "sort")
	public Integer getSort() {
		return this.sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
}

+ 0 - 148
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/dict/SystemDictList.java

@ -1,148 +0,0 @@
package com.yihu.wlyy.entity.dict;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
/**
 * SystemDictList entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "system_dict_list")
public class SystemDictList   implements java.io.Serializable {
	// Fields
	private String dictName;
	private String chineseName;
	private String pyCode;
	private String pid;
	private String remark;
	private String relationTable;
	private String relationColCode;
	private String relationColValue;
	private String relationColExtend;
	private Integer id;
	// Constructors
	/** default constructor */
	public SystemDictList() {
	}
	/** minimal constructor */
	public SystemDictList(String dictName, String chineseName, String pid) {
		this.dictName = dictName;
		this.chineseName = chineseName;
		this.pid = pid;
	}
	/** full constructor */
	public SystemDictList(String dictName, String chineseName, String pyCode,
			String pid, String remark, String relationTable,
			String relationColCode, String relationColValue,
			String relationColExtend) {
		this.dictName = dictName;
		this.chineseName = chineseName;
		this.pyCode = pyCode;
		this.pid = pid;
		this.remark = remark;
		this.relationTable = relationTable;
		this.relationColCode = relationColCode;
		this.relationColValue = relationColValue;
		this.relationColExtend = relationColExtend;
	}
	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "dict_name", nullable = false, length = 50)
	public String getDictName() {
		return this.dictName;
	}
	public void setDictName(String dictName) {
		this.dictName = dictName;
	}
	@Column(name = "chinese_name", nullable = false, length = 50)
	public String getChineseName() {
		return this.chineseName;
	}
	public void setChineseName(String chineseName) {
		this.chineseName = chineseName;
	}
	@Column(name = "py_code", length = 50)
	public String getPyCode() {
		return this.pyCode;
	}
	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}
	@Column(name = "pid", nullable = false, length = 50)
	public String getPid() {
		return this.pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	@Column(name = "remark", length = 200)
	public String getRemark() {
		return this.remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name = "relation_table", length = 50)
	public String getRelationTable() {
		return this.relationTable;
	}
	public void setRelationTable(String relationTable) {
		this.relationTable = relationTable;
	}
	@Column(name = "relation_col_code", length = 50)
	public String getRelationColCode() {
		return this.relationColCode;
	}
	public void setRelationColCode(String relationColCode) {
		this.relationColCode = relationColCode;
	}
	@Column(name = "relation_col_value", length = 50)
	public String getRelationColValue() {
		return this.relationColValue;
	}
	public void setRelationColValue(String relationColValue) {
		this.relationColValue = relationColValue;
	}
	@Column(name = "relation_col_extend", length = 50)
	public String getRelationColExtend() {
		return this.relationColExtend;
	}
	public void setRelationColExtend(String relationColExtend) {
		this.relationColExtend = relationColExtend;
	}
}

+ 0 - 116
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/discussion/WlyyTalkGroup.java

@ -1,116 +0,0 @@
package com.yihu.wlyy.entity.discussion;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
@Entity
@Table(name = "wlyy_talk_group")
public class WlyyTalkGroup  extends IdEntity {
    // 讨论组标识
	private String code;
	// 讨论组名称
	private String name;
	// 讨论组类别 1:咨询 2:求助 3:干预
	private Integer type;
	// 讨论组针对病人
	private String patient;
	// 讨论组针对病人姓名
	private String patientName;
	// 对应咨询标识
	private String consultCode;
	// 医院标识
	private String hospitalCode;
	// 医院名称
	private String hospitalName;
	// 创建者
	private String creator;
	// 创建者姓名
	private String creatorName;
	// 更新时间
	private Date czrq;
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	
	public String getPatientName() {
		return patientName;
	}
	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}
	
	public String getConsultCode() {
		return consultCode;
	}
	public void setConsultCode(String consultCode) {
		this.consultCode = consultCode;
	}
	
	public String getHospitalCode() {
		return hospitalCode;
	}
	public void setHospitalCode(String hospitalCode) {
		this.hospitalCode = hospitalCode;
	}
	
	public String getHospitalName() {
		return hospitalName;
	}
	public void setHospitalName(String hospitalName) {
		this.hospitalName = hospitalName;
	}
	
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	
	public String getCreatorName() {
		return creatorName;
	}
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	
}

+ 0 - 80
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/discussion/WlyyTalkGroupMember.java

@ -1,80 +0,0 @@
package com.yihu.wlyy.entity.discussion;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
@Entity
@Table(name = "wlyy_talk_group_member")
public class WlyyTalkGroupMember extends IdEntity {
    // 成员标识
	private String memberCode;
	// 成员名称
	private String memberName;
	// 成员类型 1:病人 2:健康师 3:全科 4:专科
	private Integer type;
	// 讨论组标识
	private String groupCode;
	// 讨论组名称
	private String groupName;
	// 状态
	private Integer status;
	// 更新时间
	private Date czrq;
	
	public String getMemberCode() {
		return memberCode;
	}
	public void setMemberCode(String memberCode) {
		this.memberCode = memberCode;
	}
	
	public String getMemberName() {
		return memberName;
	}
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	
	public String getGroupCode() {
		return groupCode;
	}
	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}
	
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	
	
}

+ 0 - 70
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/OperatorLog.java

@ -1,70 +0,0 @@
package com.yihu.wlyy.entity.doctor;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Administrator on 2016/11/30.
 * 操作日志
 */
@Entity
@Table(name = "wlyy_operator_log")
public class OperatorLog extends IdEntity {
    private String method;
    private String methodName;
    private String params;
    private String status;
    private String createUser;
    private Date createTime;
    public String getMethod() {
        return method;
    }
    public void setMethod(String method) {
        this.method = method;
    }
    public String getParams() {
        return params;
    }
    public void setParams(String params) {
        this.params = params;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public String getCreateUser() {
        return createUser;
    }
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public String getMethodName() {
        return methodName;
    }
    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}

+ 0 - 68
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/emr/DoctorMedicalRecordsPart.java

@ -1,68 +0,0 @@
package com.yihu.wlyy.entity.doctor.emr;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生病历片段类型表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_medical_records_part")
public class DoctorMedicalRecordsPart extends IdEntity {
	private static final long serialVersionUID = 4626755759476144536L;
	private String code;        // 片段标识
	private String doctor;      // 医生标识,空表示是系统片段
	private String name;        // 片段名称
	private Date czrq;          // 添加时间
	private String del;         // 作废标识:1正常,0作废
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 85
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/emr/DoctorMedicalRecordsPartItem.java

@ -1,85 +0,0 @@
package com.yihu.wlyy.entity.doctor.emr;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生病历片段明细表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_medical_records_part_item")
public class DoctorMedicalRecordsPartItem extends IdEntity {
	private static final long serialVersionUID = 3369050786556456338L;
	// 医生标识
	private String doctor;
	// 片段标识
	private String part;
	// 片段名称
	private String partName;
	// 片段内容
	private String content;
	// 添加时间
	private Date czrq;
	// 作废标识:1正常,0作废
	private String del;
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getPart() {
		return part;
	}
	public void setPart(String part) {
		this.part = part;
	}
	@Column(name = "part_name")
	public String getPartName() {
		return partName;
	}
	public void setPartName(String partName) {
		this.partName = partName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 80
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/observer/DoctorObserver.java

@ -1,80 +0,0 @@
package com.yihu.wlyy.entity.doctor.observer;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Administrator on 2017/1/3.
 */
@Entity
@Table(name = "wlyy_doctor_observer")
public class DoctorObserver extends IdEntity {
    private String observerDoctorCode;//被观察者的医生Code
    private String observerDoctorName;//被观察者的医生name
    private String doctorCode;//观察者的医生code
    private String doctorName;//观察者的医生name
    private Date createTime;//创建时间
    private String createUser;//创建人
    private Integer status;//1有效 0无效
    public String getObserverDoctorCode() {
        return observerDoctorCode;
    }
    public void setObserverDoctorCode(String observerDoctorCode) {
        this.observerDoctorCode = observerDoctorCode;
    }
    public String getObserverDoctorName() {
        return observerDoctorName;
    }
    public void setObserverDoctorName(String observerDoctorName) {
        this.observerDoctorName = observerDoctorName;
    }
    public String getDoctorCode() {
        return doctorCode;
    }
    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }
    public String getDoctorName() {
        return doctorName;
    }
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreateUser() {
        return createUser;
    }
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
}

+ 0 - 435
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/Doctor.java

@ -1,435 +0,0 @@
package com.yihu.wlyy.entity.doctor.profile;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.yihu.wlyy.entity.IdEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 医生信息
 *
 * @author George
 */
@Entity
@Table(name = "wlyy_doctor")
public class Doctor extends IdEntity {
    private static final long serialVersionUID = -6585552029939285364L;
    private String code;        // 业务主键
    private String name;        //姓名
    private Integer sex;        // 性别(1男,2女)
    private Date birthday;      //生日
    private String photo;       //头像http地址
    private String mobile;      //手机号
    private String password;    //密码
    private String salt;        // 密码标识
    private Integer status;     // 状态(1正常,0禁用)
    private String province;    //省code
    private String city;         //市code
    private String town;         //区县code
    private String provinceName;//省名称
    private String cityName;    //市名称
    private String townName;    //区县名称
    private String hospital;        // 医院代码
    private String hospitalName;    //医院名称
    private String dept;            // 科室代码
    private String deptName;        //可是名称
    private String job;             // 职称代码
    private String jobName;         // 职称名
    private String expertise;       // 医生专长
    private String introduce;       // 医生介绍
    private Integer level;          // 类型:1专科医生,2全科医生,3健康管理师
    private Integer iscertified;   // 资格是否认证通过,1是,0否
    private String qrcode;          // 二维码
    private Date czrq;              // 更新时间
    private Integer del;            // 状态(1正常,0删除)
    private String idcard;          //身份证号
    private Integer isFamous;       //是否是名医 1是  0或者空不是
    private String isPasswordPrompt;// 是否提示密码信息 1是 0或者空是否
    private String isHelp;          //是否求助  1已经求助 0未求助
    private Double evaluateScore;//评分
    private String checkPassword;   //审方密码
    private String checkSalt;       //审方密码的盐
    private Date certifiedOvertime; //CA证书过期时间
    private String certificateNum;     //CA证书编号
    public Double getEvaluateScore() {
        return evaluateScore;
    }
    public void setEvaluateScore(Double evaluateScore) {
        this.evaluateScore = evaluateScore;
    }
    public Doctor() {
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public Doctor(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getSex() {
        return sex;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getBirthday() {
        return birthday;
    }
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
    public String getPhoto() {
        return photo;
    }
    public void setPhoto(String photo) {
        this.photo = photo;
    }
    public String getMobile() {
        return mobile;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getSalt() {
        return salt;
    }
    public void setSalt(String salt) {
        this.salt = salt;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getProvince() {
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getTown() {
        return town;
    }
    public void setTown(String town) {
        this.town = town;
    }
    @Column(name = "province_name")
    public String getProvinceName() {
        return provinceName;
    }
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
    @Column(name = "city_name")
    public String getCityName() {
        return cityName;
    }
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
    @Column(name = "town_name")
    public String getTownName() {
        return townName;
    }
    public void setTownName(String townName) {
        this.townName = townName;
    }
    public String getHospitalName() {
        return hospitalName;
    }
    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }
    @Column(name = "dept_name")
    public String getDeptName() {
        return deptName;
    }
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    @Column(name = "job_name")
    public String getJobName() {
        return jobName;
    }
    public void setJobName(String jobName) {
        this.jobName = jobName;
    }
    public String getHospital() {
        return hospital;
    }
    public void setHospital(String hospital) {
        this.hospital = hospital;
    }
    public String getDept() {
        return dept;
    }
    public void setDept(String dept) {
        this.dept = dept;
    }
    public String getJob() {
        return job;
    }
    public void setJob(String job) {
        this.job = job;
    }
    public String getExpertise() {
        return expertise;
    }
    public void setExpertise(String expertise) {
        this.expertise = expertise;
    }
    public String getIntroduce() {
        return introduce;
    }
    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
    public Integer getLevel() {
        return level;
    }
    public void setLevel(Integer level) {
        this.level = level;
    }
    @Column(name = "iscertified")
    public Integer getIscertified() {
        return iscertified;
    }
    public void setIscertified(Integer isCertified) {
        this.iscertified = isCertified;
    }
    public String getQrcode() {
        return qrcode;
    }
    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }
    // 设定JSON序列化时的日期格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
    @Column(name = "del")
    public Integer getDel() {
        return del;
    }
    public void setDel(Integer del) {
        this.del = del;
    }
    public String getIdcard() {
        return idcard;
    }
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
    @Column(name = "is_famous")
    public Integer getIsFamous() {
        return isFamous;
    }
    public void setIsFamous(Integer isFamous) {
        this.isFamous = isFamous;
    }
    /**
     * 是否为专科医生。
     *
     * @return
     */
    @Transient
    public boolean isProfessionalDoctor() {
        if (level != null && level == 1) {
            return true;
        } else {
            return false;
        }
    }
    /**
     * 是否为全科医生。
     *
     * @return
     */
    @Transient
    public boolean isGeneralDoctor() {
        if (level != null && level == 2) {
            return true;
        } else {
            return false;
        }
    }
    /**
     * 是否为健康管理师。
     *
     * @return
     */
    @Transient
    public boolean isHealthDoctor() {
        if (level != null && level == 3) {
            return true;
        } else {
            return false;
        }
    }
    @Transient
    public String getIsHelp() {
        return isHelp;
    }
    public void setIsHelp(String isHelp) {
        this.isHelp = isHelp;
    }
    @Column(name = "is_password_prompt")
    public String getIsPasswordPrompt() {
        return isPasswordPrompt;
    }
    public void setIsPasswordPrompt(String isPasswordPrompt) {
        this.isPasswordPrompt = isPasswordPrompt;
    }
    public String getCheckPassword() {
        return checkPassword;
    }
    public void setCheckPassword(String checkPassword) {
        this.checkPassword = checkPassword;
    }
    public String getCheckSalt() {
        return checkSalt;
    }
    public void setCheckSalt(String checkSalt) {
        this.checkSalt = checkSalt;
    }
    public Date getCertifiedOvertime() {
        return certifiedOvertime;
    }
    public void setCertifiedOvertime(Date certifiedOvertime) {
        this.certifiedOvertime = certifiedOvertime;
    }
    public String getCertificateNum() {
        return certificateNum;
    }
    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }
}

+ 0 - 117
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorComment.java

@ -1,117 +0,0 @@
package com.yihu.wlyy.entity.doctor.profile;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
@Entity
@Table(name = "wlyy_doctor_comment")
public class DoctorComment extends IdEntity {
	private static final long serialVersionUID = -1397356305726645651L;
	private String code;
	// 医生标志
	private String doctor;
	// 医生姓名
	private String dname;
	// 患者标志
	private String user;
	// 评价人姓名
	private String uname;
	// 评价内容
	private String content;
	// 星级
	private Integer star;
	// 评价类型:1视频咨询评价、2三师咨询评价
	private Integer type;
	// 评价时间
	private Date czrq;
	// 是否作废,1正常,0作废
	private String del;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getStar() {
		return star;
	}
	public void setStar(Integer star) {
		this.star = star;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 58
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorRole.java

@ -1,58 +0,0 @@
package com.yihu.wlyy.entity.doctor.profile;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 医生角色
 */
@Entity
@Table(name = "wlyy_role")
public class DoctorRole extends IdEntity {
    private String code;        // 角色编码
    private String name;        // 角色名称
    private String czy;       // 操作员
    private Date czrq;       // 操作日期
    @Column(name = "code")
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    @Column(name = "name")
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    @Column(name = "czy")
    public String getCzy() {
        return czy;
    }
    public void setCzy(String czy) {
        this.czy = czy;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    @Column(name = "czrq")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 39
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorRoleRealm.java

@ -1,39 +0,0 @@
package com.yihu.wlyy.entity.doctor.profile;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 医生角色权限区域
 **/
@Entity
@Table(name = "wlyy_role_area")
public class DoctorRoleRealm extends IdEntity {
    // 角色编码
    private String roleCode;
    // 区域编码
    private String areaCode;
    @Column(name = "role_code")
    public String getRoleCode() {
        return roleCode;
    }
    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }
    @Column(name = "area_code")
    public String getAreaCode() {
        return areaCode;
    }
    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }
}

+ 0 - 93
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/DoctorService.java

@ -1,93 +0,0 @@
package com.yihu.wlyy.entity.doctor.profile;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生服务
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_service")
public class DoctorService extends IdEntity {
	private static final long serialVersionUID = -8214391612459440406L;
	// 服务标识(关联dm_service的code)
	private String service;
	// 医生标识
	private String doctor;
	// 服务LOGO http url
	private String logo;
	// 服务标题
	private String title;
	// 服务介绍
	private String content;
	// 服务访问地址
	private String url;
	// 添加时间
	private Date czrq;
	public String getService() {
		return service;
	}
	public void setService(String service) {
		this.service = service;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 0 - 44
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/JobTitle.java

@ -1,44 +0,0 @@
package com.yihu.wlyy.entity.doctor.profile;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 医生职称
 * @author George
 */
@Entity
@Table(name = "dm_job")
public class JobTitle extends IdEntity {
	private static final long serialVersionUID = 8971105514160586278L;
	private String code;        // 城市編碼
	private String name;	    // 城市名稱
	private String del;         // 城市名稱
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}

+ 0 - 60
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/profile/WlyyUserRole.java

@ -1,60 +0,0 @@
package com.yihu.wlyy.entity.doctor.profile;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.security.Timestamp;
import java.util.Date;
/**
 * 医生角色
 */
@Entity
@Table(name = "wlyy_user_role")
public class WlyyUserRole extends IdEntity {
    private String user;    // 用户编码
    private String role;    // 角色编码
    private String czy;     // 操作员
    private Date czrq;      // 操作日期
    @Column(name = "user")
    public String getUser() {
        return user;
    }
    public void setUser(String user) {
        this.user = user;
    }
    @Column(name = "role")
    public String getRole() {
        return role;
    }
    public void setRole(String role) {
        this.role = role;
    }
    public String getCzy() {
        return czy;
    }
    @Column(name = "czy")
    public void setCzy(String czy) {
        this.czy = czy;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    @Column(name = "czrq")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 62
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/reply/DoctorQuickReply.java

@ -1,62 +0,0 @@
package com.yihu.wlyy.entity.doctor.reply;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by lyr-pc on 2016/12/28.
 */
@Entity
@Table(name = "wlyy_doctor_quick_reply")
public class DoctorQuickReply extends IdEntity {
    // 医生
    private String doctor;
    // 回复内容
    private String content;
    // 排序
    private Integer sort;
    // 更新时间
    private Date updateTime;
    // 状态 1:有效  0:无效
    private Integer status;
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
}

+ 0 - 44
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/DoctorFamousConsultTimesRemain.java

@ -1,44 +0,0 @@
package com.yihu.wlyy.entity.doctor.schedule;
import com.yihu.wlyy.entity.IdEntity;
import org.springframework.data.repository.cdi.Eager;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * Created by JKZL-A on 2016/9/19.
 */
@Entity
@Table(name = "wlyy_doctor_famous_consult_times_remain")
public class DoctorFamousConsultTimesRemain extends IdEntity {
    // 医生代码
    private String doctor;
    // 咨询日期
    private String consultDate;
    // 剩余次数
    private Integer timesRemain;
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getConsultDate() {
        return consultDate;
    }
    public void setConsultDate(String consultDate) {
        this.consultDate = consultDate;
    }
    public Integer getTimesRemain() {
        return timesRemain;
    }
    public void setTimesRemain(Integer timesRemain) {
        this.timesRemain = timesRemain;
    }
}

+ 0 - 108
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/DoctorScheduling.java

@ -1,108 +0,0 @@
package com.yihu.wlyy.entity.doctor.schedule;
import java.sql.Time;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生排班信息
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_scheduling")
public class DoctorScheduling extends IdEntity {
	private static final long serialVersionUID = -5779461632115871369L;
	private String code;        // 排班标识
	private String doctor;      // 医生标识
	private Integer week;       // 星期几(1~7)
	private Time hourBegin;     // 排班开始时间
	private Time hourEnd;       // 排班结束时间
	private Integer times;      // 可预约次数
	private Integer type;       // 排班类型:1视频预约
	private Date czrq;          // 排班操作时间
	private String del;         // 作废标识,1正常,0作废
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public Integer getWeek() {
		return week;
	}
	public void setWeek(Integer week) {
		this.week = week;
	}
	@Column(name = "hour_begin")
	@JsonFormat(pattern = "HH:mm", timezone = "GMT+08:00")
	public Time getHourBegin() {
		return hourBegin;
	}
	public void setHourBegin(Time hourBegin) {
		this.hourBegin = hourBegin;
	}
	@Column(name = "hour_end")
	@JsonFormat(pattern = "HH:mm", timezone = "GMT+08:00")
	public Time getHourEnd() {
		return hourEnd;
	}
	public void setHourEnd(Time hourEnd) {
		this.hourEnd = hourEnd;
	}
	public Integer getTimes() {
		return times;
	}
	public void setTimes(Integer times) {
		this.times = times;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 75
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/DoctorSchedulingTimes.java

@ -1,75 +0,0 @@
package com.yihu.wlyy.entity.doctor.schedule;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生排班信息预约次数表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_scheduling_times")
public class DoctorSchedulingTimes extends IdEntity {
	private static final long serialVersionUID = 3079894901386133515L;
	// 排班标识
	private String scheduling;
	// 医生标识
	private String doctor;
	// 预约日期:如2016-04-23
	private Date appoDate;
	// 预约次数
	private Integer times;
	// 操作时间
	private Date czrq;
	public String getScheduling() {
		return scheduling;
	}
	public void setScheduling(String scheduling) {
		this.scheduling = scheduling;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	@Column(name = "appo_date")
	public Date getAppoDate() {
		return appoDate;
	}
	public void setAppoDate(Date appoDate) {
		this.appoDate = appoDate;
	}
	public Integer getTimes() {
		return times;
	}
	public void setTimes(Integer times) {
		this.times = times;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 0 - 115
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/WlyyDoctorWorkTime.java

@ -1,115 +0,0 @@
package com.yihu.wlyy.entity.doctor.schedule;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.*;
import java.util.Date;
/**
 * Created by lyr on 2016/08/19.
 */
@Entity
@Table(name = "wlyy_doctor_work_time")
public class WlyyDoctorWorkTime extends IdEntity {
    // 医生标识
    private String doctor;
    // 医生姓名
    private String doctorName;
    // 接收咨询 0不接受 1接受
    private String receiveConsult;
    // 名医咨询次数
    private Integer famousConsultTimes;
    // 上午开始时间
    private String morningBegin;
    // 上午结束时间
    private String morningEnd;
    // 下午开始时间
    private String afternoonBegin;
    // 下午结束时间
    private String afternoonEnd;
    // 晚上开始时间
    private String nightBegin;
    // 晚上结束时间
    private String nightEnd;
    // 更新时间
    private Date czrq;
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getDoctorName() {
        return doctorName;
    }
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }
    public String getReceiveConsult() {
        return receiveConsult;
    }
    public void setReceiveConsult(String receiveConsult) {
        this.receiveConsult = receiveConsult;
    }
    public Integer getFamousConsultTimes() {
        return famousConsultTimes;
    }
    public void setFamousConsultTimes(Integer famousConsultTimes) {
        this.famousConsultTimes = famousConsultTimes;
    }
    public String getMorningBegin() {
        return morningBegin;
    }
    public void setMorningBegin(String morningBegin) {
        this.morningBegin = morningBegin;
    }
    public String getMorningEnd() {
        return morningEnd;
    }
    public void setMorningEnd(String morningEnd) {
        this.morningEnd = morningEnd;
    }
    public String getAfternoonBegin() {
        return afternoonBegin;
    }
    public void setAfternoonBegin(String afternoonBegin) {
        this.afternoonBegin = afternoonBegin;
    }
    public String getAfternoonEnd() {
        return afternoonEnd;
    }
    public void setAfternoonEnd(String afternoonEnd) {
        this.afternoonEnd = afternoonEnd;
    }
    public String getNightBegin() {
        return nightBegin;
    }
    public void setNightBegin(String nightBegin) {
        this.nightBegin = nightBegin;
    }
    public String getNightEnd() {
        return nightEnd;
    }
    public void setNightEnd(String nightEnd) {
        this.nightEnd = nightEnd;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 72
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/schedule/WlyyDoctorWorkWeek.java

@ -1,72 +0,0 @@
package com.yihu.wlyy.entity.doctor.schedule;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;
/**
 * Created by lyr on 2016/08/19.
 */
@Entity
public class WlyyDoctorWorkWeek extends IdEntity {
    private String doctor;
    private String doctorName;
    private String week;
    private String morning;
    private String afternoon;
    private String night;
    private Date czrq;
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getDoctorName() {
        return doctorName;
    }
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }
    public String getWeek() {
        return week;
    }
    public void setWeek(String week) {
        this.week = week;
    }
    public String getMorning() {
        return morning;
    }
    public void setMorning(String morning) {
        this.morning = morning;
    }
    public String getAfternoon() {
        return afternoon;
    }
    public void setAfternoon(String afternoon) {
        this.afternoon = afternoon;
    }
    public String getNight() {
        return night;
    }
    public void setNight(String night) {
        this.night = night;
    }
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 123
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/Survey.java

@ -1,123 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by Reece on 2017/3/8.
 */
@Entity
@Table(name = "wlyy_survey")
public class Survey extends IdEntity implements Serializable {
//  问卷编码(使用模板为模板编码)
    private String code;
//  标题
    private String title;
//  说明
    private String surveyComment;
//    创建人(医生编码)
    private String creater;
//    模板编码(使用模板是有值否则为空)
    private String templateCode;
//    调查状态(发送后正常为1 暂停为2)
    private int status;
//    调查对象数量
    private int amount;
//    创建时间
    private Date createTime;
//        修改时间
    private Date updateTime;
    public Survey() {
    }
    public Survey(String code, String title, String surveyComment, String creater, String templateCode, int status, int amount, Date createTime, Date updateTime) {
        this.code = code;
        this.title = title;
        this.surveyComment = surveyComment;
        this.creater = creater;
        this.templateCode = templateCode;
        this.status = status;
        this.amount = amount;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getSurveyComment() {
        return surveyComment;
    }
    public void setSurveyComment(String surveyComment) {
        this.surveyComment = surveyComment;
    }
    public String getCreater() {
        return creater;
    }
    public void setCreater(String creater) {
        this.creater = creater;
    }
    public String getTemplateCode() {
        return templateCode;
    }
    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public int getAmount() {
        return amount;
    }
    public void setAmount(int amount) {
        this.amount = amount;
    }
}

+ 0 - 88
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyAnswers.java

@ -1,88 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by Reece on 2017/3/9.
 */
@Entity
@Table(name = "wlyy_survey_answers")
public class SurveyAnswers extends IdEntity implements Serializable {
    //    问答题答案编码
    private String code;
    //      问卷编码
    private String surveyCode;
    //  患者ID
    private String patient;
    //    	问答题题目编码
    private String questionCode;
    //    问答题答案
    private String content;
//    创建时间
    private Date createTime;
    public SurveyAnswers() {
    }
    public SurveyAnswers(String code, String surveyCode, String patient, String questionCode, String content, Date createTime) {
        this.code = code;
        this.surveyCode = surveyCode;
        this.patient = patient;
        this.questionCode = questionCode;
        this.content = content;
        this.createTime = createTime;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public String getQuestionCode() {
        return questionCode;
    }
    public void setQuestionCode(String questionCode) {
        this.questionCode = questionCode;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
}

+ 0 - 54
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyDimension.java

@ -1,54 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/17.
 */
@Entity
@Table(name = "wlyy_survey_dimension")
public class SurveyDimension  extends IdEntity implements Serializable {
//    	维度编码
    private  String code;
//    	维度名称
    private  String name;
//    	(1性别 2疾病类型 3服务类型 4健康状况)
    private  Integer value;
    public SurveyDimension() {
    }
    public SurveyDimension(String code, String name, Integer value) {
        this.code = code;
        this.name = name;
        this.value = value;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getValue() {
        return value;
    }
    public void setValue(Integer value) {
        this.value = value;
    }
}

+ 0 - 98
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyDimensionDetail.java

@ -1,98 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/17.
 */
@Entity
@Table(name = "wlyy_survey_dimension_detail")
public class SurveyDimensionDetail extends IdEntity implements Serializable {
//      	维度项目编码
    private  String code;
//    维度表编码
    private String dimensionCode;
//    属性名(子维度)
    private String name;
//    属性值(子维度)
    private Integer value;
//    属性名(父维度)
    private  String dimensionName;
//    属性值(父维度)
    private  Integer dimensionValue;
//         	维度项目编码
    private  String surveyCode;
    public SurveyDimensionDetail() {
    }
    public SurveyDimensionDetail(String code, String dimensionCode, String name, Integer value, String dimensionName, Integer dimensionValue, String surveyCode) {
        this.code = code;
        this.dimensionCode = dimensionCode;
        this.name = name;
        this.value = value;
        this.dimensionName = dimensionName;
        this.dimensionValue = dimensionValue;
        this.surveyCode = surveyCode;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getDimensionCode() {
        return dimensionCode;
    }
    public void setDimensionCode(String dimensionCode) {
        this.dimensionCode = dimensionCode;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getValue() {
        return value;
    }
    public void setValue(Integer value) {
        this.value = value;
    }
    public String getDimensionName() {
        return dimensionName;
    }
    public void setDimensionName(String dimensionName) {
        this.dimensionName = dimensionName;
    }
    public Integer getDimensionValue() {
        return dimensionValue;
    }
    public void setDimensionValue(Integer dimensionValue) {
        this.dimensionValue = dimensionValue;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
}

+ 0 - 54
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyFilter.java

@ -1,54 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/9.
 */
@Entity
@Table(name = "wlyy_survey_filter")
public class SurveyFilter extends IdEntity implements Serializable {
//   业务主键
    private  String code;
//    问卷编码
    private String surveyCode;
//    维度项目编码
    private String dimensionDetailCode;
    public SurveyFilter() {
    }
    public SurveyFilter(String code, String surveyCode, String dimensionDetailCode) {
        this.code = code;
        this.surveyCode = surveyCode;
        this.dimensionDetailCode = dimensionDetailCode;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
    public String getDimensionDetailCode() {
        return dimensionDetailCode;
    }
    public void setDimensionDetailCode(String dimensionDetailCode) {
        this.dimensionDetailCode = dimensionDetailCode;
    }
}

+ 0 - 65
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyLabelInfo.java

@ -1,65 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/9.
 */
@Entity
@Table(name = "wlyy_survey_label_info")
public class SurveyLabelInfo extends IdEntity implements Serializable {
    //    业务主键
    private String code;
    //  关联编码
    private String relationCode;
    //被使用场景(0模板 1问卷)
    private Integer useType;
    //    字典中的标签值(1满意度、2糖尿病、3高血压、4生活日常)
    private Integer label;
    public SurveyLabelInfo() {
    }
    public SurveyLabelInfo(String code, String relationCode, Integer useType, Integer label) {
        this.code = code;
        this.relationCode = relationCode;
        this.useType = useType;
        this.label = label;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getRelationCode() {
        return relationCode;
    }
    public void setRelationCode(String relationCode) {
        this.relationCode = relationCode;
    }
    public Integer getUseType() {
        return useType;
    }
    public void setUseType(Integer useType) {
        this.useType = useType;
    }
    public Integer getLabel() {
        return label;
    }
    public void setLabel(Integer label) {
        this.label = label;
    }
}

+ 0 - 110
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyOptionAnswers.java

@ -1,110 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by Reece on 2017/3/9.
 */
@Entity
@Table(name = "wlyy_survey_option_answers")
public class SurveyOptionAnswers extends IdEntity implements Serializable {
//    选择答案编码
    private String code;
//  患者ID
    private  String patient;
//    问卷编码
    private String surveyCode;
//    选择题题目编码
    private String questionCode;
//    选项编码
    private String optionsCode;
//    选项说明(可为null)
    private String optionComment;
//    答案类型(0单选 1多选)
    private  int answerType;
//    创建时间
    private Date createTime;
    public SurveyOptionAnswers() {
    }
    public SurveyOptionAnswers(String code, String patient, String surveyCode, String questionCode, String optionsCode, String optionComment, int answerType, Date createTime) {
        this.code = code;
        this.patient = patient;
        this.surveyCode = surveyCode;
        this.questionCode = questionCode;
        this.optionsCode = optionsCode;
        this.optionComment = optionComment;
        this.answerType = answerType;
        this.createTime = createTime;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
    public String getQuestionCode() {
        return questionCode;
    }
    public void setQuestionCode(String questionCode) {
        this.questionCode = questionCode;
    }
    public String getOptionsCode() {
        return optionsCode;
    }
    public void setOptionsCode(String optionsCode) {
        this.optionsCode = optionsCode;
    }
    public String getOptionComment() {
        return optionComment;
    }
    public void setOptionComment(String optionComment) {
        this.optionComment = optionComment;
    }
    public int getAnswerType() {
        return answerType;
    }
    public void setAnswerType(int answerType) {
        this.answerType = answerType;
    }
}

+ 0 - 165
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestionnaire.java

@ -1,165 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by Reece on 2017/3/10.
 */
@Entity
@Table(name = "wlyy_survey_questionnaire")
public class SurveyQuestionnaire extends IdEntity implements Serializable {
    //    问题编码
    private String code;
    //            问题标题
    private String title;
    //    问题说明(可为null)
    private String questionComment;
    //    问题类型(0单选 1多选 2问答)
    private int questionType;
    //    关联编码(按使用类型分类)
    private String surveyCode;
    //    是否必答(0否 1是)
    private int isRequired;
    //    最小答案个数(多选有效)
    private Integer minNum;
    //    最大答案个数(多选有效)
    private Integer maxNum;
    //            排序
    private int sort;
    //    下一题问题编码(问答题逻辑跳转)
    private String questionCodeNext;
    //    删除标志(1正常,0删除)
    private int del;
//    创建时间
    private Date createTime;
//    修改时间
    private Date updateTime;
    public SurveyQuestionnaire() {
    }
    public SurveyQuestionnaire(String code, String title, String questionComment, int questionType, String surveyCode, int isRequired, Integer minNum, Integer maxNum, int sort, String questionCodeNext, int del, Date createTime, Date updateTime) {
        this.code = code;
        this.title = title;
        this.questionComment = questionComment;
        this.questionType = questionType;
        this.surveyCode = surveyCode;
        this.isRequired = isRequired;
        this.minNum = minNum;
        this.maxNum = maxNum;
        this.sort = sort;
        this.questionCodeNext = questionCodeNext;
        this.del = del;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getQuestionComment() {
        return questionComment;
    }
    public void setQuestionComment(String questionComment) {
        this.questionComment = questionComment;
    }
    public int getQuestionType() {
        return questionType;
    }
    public void setQuestionType(int questionType) {
        this.questionType = questionType;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
    public int getIsRequired() {
        return isRequired;
    }
    public void setIsRequired(int isRequired) {
        this.isRequired = isRequired;
    }
    public Integer getMinNum() {
        return minNum;
    }
    public void setMinNum(Integer minNum) {
        this.minNum = minNum;
    }
    public Integer getMaxNum() {
        return maxNum;
    }
    public void setMaxNum(Integer maxNum) {
        this.maxNum = maxNum;
    }
    public int getSort() {
        return sort;
    }
    public void setSort(int sort) {
        this.sort = sort;
    }
    public String getQuestionCodeNext() {
        return questionCodeNext;
    }
    public void setQuestionCodeNext(String questionCodeNext) {
        this.questionCodeNext = questionCodeNext;
    }
    public int getDel() {
        return del;
    }
    public void setDel(int del) {
        this.del = del;
    }
}

+ 0 - 120
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestionnaireOptions.java

@ -1,120 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/10.
 */
@Entity
@Table(name = "wlyy_survey_questionnaire_options")
public class SurveyQuestionnaireOptions extends IdEntity implements Serializable {
    //选项编码
    private String code;
    //    是否有选项说明(0没有 1有)
    private int haveComment;
    //    	所属问题编码
    private String questionnaireCode;
    //    选项内容
    private String content;
    //        问卷编码
    private String surveyCode;
    //    下一题问题编码(逻辑跳转)
    private String questionCodeNext;
    //    选项说明是否必填(0否 1是)
    private int isRequired;
    //    单题内排序
    private int sort;
    //    删除标志(1正常,0删除)
    private int del;
    public SurveyQuestionnaireOptions() {
    }
    public SurveyQuestionnaireOptions(String code, int haveComment, String questionnaireCode, String content, String surveyCode, String questionCodeNext, int isRequired, int sort, int del) {
        this.code = code;
        this.haveComment = haveComment;
        this.questionnaireCode = questionnaireCode;
        this.content = content;
        this.surveyCode = surveyCode;
        this.questionCodeNext = questionCodeNext;
        this.isRequired = isRequired;
        this.sort = sort;
        this.del = del;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public int getHaveComment() {
        return haveComment;
    }
    public void setHaveComment(int haveComment) {
        this.haveComment = haveComment;
    }
    public String getQuestionnaireCode() {
        return questionnaireCode;
    }
    public void setQuestionnaireCode(String questionnaireCode) {
        this.questionnaireCode = questionnaireCode;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
    public String getQuestionCodeNext() {
        return questionCodeNext;
    }
    public void setQuestionCodeNext(String questionCodeNext) {
        this.questionCodeNext = questionCodeNext;
    }
    public int getIsRequired() {
        return isRequired;
    }
    public void setIsRequired(int isRequired) {
        this.isRequired = isRequired;
    }
    public int getSort() {
        return sort;
    }
    public void setSort(int sort) {
        this.sort = sort;
    }
    public int getDel() {
        return del;
    }
    public void setDel(int del) {
        this.del = del;
    }
}

+ 0 - 138
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestions.java

@ -1,138 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * 问卷调查题库问题表 wlyy_survey_questions
 * Created by Reece on 2017/3/6.
 */
@Entity
@Table(name = "wlyy_survey_questions")
public class SurveyQuestions extends IdEntity implements Serializable {
    //    问题编码
    private String code;
    //    问题标题
    private String title;
    //    问题说明(可为null)
    private String questionComment;
    //    问题类型(0单选 1多选 2问答)
    private Integer questionType;
    //    关联编码(按使用类型分类)
//    private  String relationCode;
//    是否必答(0否 1是)
    private Integer isRequired;
    //     最小答案个数(多选有效)
    private Integer minNum;
    //    最大答案个数(多选有效)
    private Integer maxNum;
    //   排序
//    private int sort;
    //    删除标志(1正常,0删除)
    private Integer del;
    //    创建时间
    private Date createTime;
    //    修改时间
    private Date updateTime;
    public SurveyQuestions() {
    }
    public SurveyQuestions(String code, String title, String questionComment, Integer questionType, Integer isRequired, Integer minNum, Integer maxNum, Integer del, Date createTime, Date updateTime) {
        this.code = code;
        this.title = title;
        this.questionComment = questionComment;
        this.questionType = questionType;
        this.isRequired = isRequired;
        this.minNum = minNum;
        this.maxNum = maxNum;
        this.del = del;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getQuestionComment() {
        return questionComment;
    }
    public void setQuestionComment(String questionComment) {
        this.questionComment = questionComment;
    }
    public Integer getQuestionType() {
        return questionType;
    }
    public void setQuestionType(Integer questionType) {
        this.questionType = questionType;
    }
    public Integer getIsRequired() {
        return isRequired;
    }
    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }
    public Integer getMinNum() {
        return minNum;
    }
    public void setMinNum(Integer minNum) {
        this.minNum = minNum;
    }
    public Integer getMaxNum() {
        return maxNum;
    }
    public void setMaxNum(Integer maxNum) {
        this.maxNum = maxNum;
    }
    public Integer getDel() {
        return del;
    }
    public void setDel(Integer del) {
        this.del = del;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}

+ 0 - 103
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyQuestionsOptions.java

@ -1,103 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/8.
 */
@Entity
@Table(name = "wlyy_survey_questions_options")
public class SurveyQuestionsOptions extends IdEntity implements Serializable {
//  选项编码
    private String code;
//    是否有选项说明(0没有 1有)
    private Integer haveComment;
//    	题库问题编码
    private String questionCode;
//    选项内容
    private String content;
//    题库题目编码
//    private String questionsCode;
//    下一题问题编码(逻辑跳转)
//    private String questionCodeNext;
//  选项说明是否必填(0否 1是)
    private Integer isRequired;
//    单题内排序
    private Integer sort;
//    删除标志(1正常,0删除)
    private Integer del;
    public SurveyQuestionsOptions() {
    }
    public SurveyQuestionsOptions(String code, Integer haveComment, String questionCode, String content, Integer isRequired, Integer sort, Integer del) {
        this.code = code;
        this.haveComment = haveComment;
        this.questionCode = questionCode;
        this.content = content;
        this.isRequired = isRequired;
        this.sort = sort;
        this.del = del;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public Integer getHaveComment() {
        return haveComment;
    }
    public void setHaveComment(Integer haveComment) {
        this.haveComment = haveComment;
    }
    public String getQuestionCode() {
        return questionCode;
    }
    public void setQuestionCode(String questionCode) {
        this.questionCode = questionCode;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public Integer getIsRequired() {
        return isRequired;
    }
    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getDel() {
        return del;
    }
    public void setDel(Integer del) {
        this.del = del;
    }
}

+ 0 - 143
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyStatistics.java

@ -1,143 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/9.
 */
@Entity
@Table(name = "wlyy_survey_statistics")
public class SurveyStatistics extends IdEntity implements Serializable{
//    业务主键
    private String code;
//    问卷编码
    private String surveyCode;
//    题目编码
    private String questionCode;
//    题目名称
    private  String questionTitle;
//    选项编码
    private String optionsCode;
//    人数(加1)
   private Integer amount;
//   选项内容可为null
    private  String content;
//    是否有选项说明(0没有 1有)可为null
    private  Integer haveComment;
//    问题类型(0单选 1多选 2问答)
    private Integer type;
//    问题排序
    private  Integer qstSort;
//    选项排序可为null
    private  Integer optSort;
    public SurveyStatistics() {
    }
    public SurveyStatistics(String code, String surveyCode, String questionCode, String questionTitle, String optionsCode, Integer amount, String content, Integer haveComment, Integer type, Integer qstSort, Integer optSort) {
        this.code = code;
        this.surveyCode = surveyCode;
        this.questionCode = questionCode;
        this.questionTitle = questionTitle;
        this.optionsCode = optionsCode;
        this.amount = amount;
        this.content = content;
        this.haveComment = haveComment;
        this.type = type;
        this.qstSort = qstSort;
        this.optSort = optSort;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
    public String getQuestionCode() {
        return questionCode;
    }
    public void setQuestionCode(String questionCode) {
        this.questionCode = questionCode;
    }
    public String getQuestionTitle() {
        return questionTitle;
    }
    public void setQuestionTitle(String questionTitle) {
        this.questionTitle = questionTitle;
    }
    public String getOptionsCode() {
        return optionsCode;
    }
    public void setOptionsCode(String optionsCode) {
        this.optionsCode = optionsCode;
    }
    public Integer getAmount() {
        return amount;
    }
    public void setAmount(Integer amount) {
        this.amount = amount;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public Integer getHaveComment() {
        return haveComment;
    }
    public void setHaveComment(Integer haveComment) {
        this.haveComment = haveComment;
    }
    public Integer getType() {
        return type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getQstSort() {
        return qstSort;
    }
    public void setQstSort(Integer qstSort) {
        this.qstSort = qstSort;
    }
    public Integer getOptSort() {
        return optSort;
    }
    public void setOptSort(Integer optSort) {
        this.optSort = optSort;
    }
}

+ 0 - 132
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyTemplateOptions.java

@ -1,132 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * Created by Reece on 2017/3/10.
 */
@Entity
@Table(name = "wlyy_survey_template_options")
public class SurveyTemplateOptions extends IdEntity implements Serializable {
    //选项编码
    private String code;
    //    是否有选项说明(0没有 1有)
    private Integer haveComment;
    //    	所属问题编码
    private String templateQuestionCode;
    //    选项内容
    private String content;
    //        模板编码
    private String templateCode;
    //    下一题问题编码(逻辑跳转)
    private String questionCodeNext;
    //    下一题问题编码(逻辑跳转)
    private String questionSortNext;
    //    选项说明是否必填(0否 1是)
    private Integer isRequired;
    //    单题内排序
    private Integer sort;
    //    删除标志(1正常,0删除)
    private Integer del;
    public SurveyTemplateOptions() {
    }
    public SurveyTemplateOptions(String code, Integer haveComment, String templateQuestionCode, String content, String templateCode, String questionCodeNext, String questionSortNext, Integer isRequired, Integer sort, Integer del) {
        this.code = code;
        this.haveComment = haveComment;
        this.templateQuestionCode = templateQuestionCode;
        this.content = content;
        this.templateCode = templateCode;
        this.questionCodeNext = questionCodeNext;
        this.questionSortNext = questionSortNext;
        this.isRequired = isRequired;
        this.sort = sort;
        this.del = del;
    }
    public String getQuestionSortNext() {
        return questionSortNext;
    }
    public void setQuestionSortNext(String questionSortNext) {
        this.questionSortNext = questionSortNext;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public Integer getHaveComment() {
        return haveComment;
    }
    public void setHaveComment(Integer haveComment) {
        this.haveComment = haveComment;
    }
    public String getTemplateQuestionCode() {
        return templateQuestionCode;
    }
    public void setTemplateQuestionCode(String templateQuestionCode) {
        this.templateQuestionCode = templateQuestionCode;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getTemplateCode() {
        return templateCode;
    }
    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }
    public String getQuestionCodeNext() {
        return questionCodeNext;
    }
    public void setQuestionCodeNext(String questionCodeNext) {
        this.questionCodeNext = questionCodeNext;
    }
    public Integer getIsRequired() {
        return isRequired;
    }
    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getDel() {
        return del;
    }
    public void setDel(Integer del) {
        this.del = del;
    }
}

+ 0 - 176
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyTemplateQuestions.java

@ -1,176 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by Reece on 2017/3/10.
 */
@Entity
@Table(name = "wlyy_survey_template_questions")
public class SurveyTemplateQuestions extends IdEntity implements Serializable{
    //    问题编码
    private String code;
    //            问题标题
    private String title;
    //    问题说明(可为null)
    private String questionComment;
    //    问题类型(0单选 1多选 2问答)
    private Integer questionType;
    //    模板编码
    private String templateCode;
    //    是否必答(0否 1是)
    private Integer isRequired;
    //    最小答案个数(多选有效)
    private Integer minNum;
    //    最大答案个数(多选有效)
    private Integer maxNum;
    //            排序
    private Integer sort;
    //    下一题问题编码(问答题逻辑跳转)
    private String questionCodeNext;
    //    下一题问题编码(问答题逻辑跳转)
    private String questionSortNext;
    //    删除标志(1正常,0删除)
    private Integer del;
//创建时间
    private Date createTime;
//修改时间
    private Date updateTime;
    public SurveyTemplateQuestions() {
    }
    public SurveyTemplateQuestions(String code, String title, String questionComment, Integer questionType, String templateCode, Integer isRequired, Integer minNum, Integer maxNum, Integer sort, String questionCodeNext, String questionSortNext, Integer del, Date createTime, Date updateTime) {
        this.code = code;
        this.title = title;
        this.questionComment = questionComment;
        this.questionType = questionType;
        this.templateCode = templateCode;
        this.isRequired = isRequired;
        this.minNum = minNum;
        this.maxNum = maxNum;
        this.sort = sort;
        this.questionCodeNext = questionCodeNext;
        this.questionSortNext = questionSortNext;
        this.del = del;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
    public String getQuestionSortNext() {
        return questionSortNext;
    }
    public void setQuestionSortNext(String questionSortNext) {
        this.questionSortNext = questionSortNext;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getQuestionComment() {
        return questionComment;
    }
    public void setQuestionComment(String questionComment) {
        this.questionComment = questionComment;
    }
    public Integer getQuestionType() {
        return questionType;
    }
    public void setQuestionType(Integer questionType) {
        this.questionType = questionType;
    }
    public String getTemplateCode() {
        return templateCode;
    }
    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }
    public Integer getIsRequired() {
        return isRequired;
    }
    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }
    public Integer getMinNum() {
        return minNum;
    }
    public void setMinNum(Integer minNum) {
        this.minNum = minNum;
    }
    public Integer getMaxNum() {
        return maxNum;
    }
    public void setMaxNum(Integer maxNum) {
        this.maxNum = maxNum;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public String getQuestionCodeNext() {
        return questionCodeNext;
    }
    public void setQuestionCodeNext(String questionCodeNext) {
        this.questionCodeNext = questionCodeNext;
    }
    public Integer getDel() {
        return del;
    }
    public void setDel(Integer del) {
        this.del = del;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}

+ 0 - 100
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyTemplates.java

@ -1,100 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by Reece on 2017/3/8.
 */
@Entity
@Table(name = "wlyy_survey_templates")
public class SurveyTemplates extends IdEntity implements Serializable{
//    模板编码
    private String code;
//    模板标题
    private  String title;
//    模板说明
    private String templateComment;
//    创建人(医生编码)
    private String creater;
//    删除标志(1正常,0删除)
    private int del;
//创建时间
    private Date createTime;
//修改时间
    private  Date updateTime;
    public SurveyTemplates() {
    }
    public SurveyTemplates(String code, String title, String templateComment, String creater, int del, Date createTime, Date updateTime) {
        this.code = code;
        this.title = title;
        this.templateComment = templateComment;
        this.creater = creater;
        this.del = del;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getTemplateComment() {
        return templateComment;
    }
    public void setTemplateComment(String templateComment) {
        this.templateComment = templateComment;
    }
    public String getCreater() {
        return creater;
    }
    public void setCreater(String creater) {
        this.creater = creater;
    }
    public int getDel() {
        return del;
    }
    public void setDel(int del) {
        this.del = del;
    }
}

+ 0 - 90
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/survey/SurveyUser.java

@ -1,90 +0,0 @@
package com.yihu.wlyy.entity.doctor.survey;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by Reece on 2017/3/9.
 */
@Entity
@Table(name = "wlyy_survey_user")
public class SurveyUser extends IdEntity implements Serializable {
    //	问卷编码
    private String surveyCode;
    //    患者ID
    private String patient;
    //    筛选条件编码
//    private String filterCode;
    //    是否已答(0未答 1已答 2放弃)
    private int status;
    //    是否有效(0无效 1有效)
    private int isWork;
//    接受调查时间
    private Date createTime;
//    调查完成时间
    private  Date endTime;
    public SurveyUser() {
    }
    public SurveyUser(String surveyCode, String patient, int status, int isWork, Date createTime, Date endTime) {
        this.surveyCode = surveyCode;
        this.patient = patient;
        this.status = status;
        this.isWork = isWork;
        this.createTime = createTime;
        this.endTime = endTime;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getEndTime() {
        return endTime;
    }
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    public String getSurveyCode() {
        return surveyCode;
    }
    public void setSurveyCode(String surveyCode) {
        this.surveyCode = surveyCode;
    }
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public int getIsWork() {
        return isWork;
    }
    public void setIsWork(int isWork) {
        this.isWork = isWork;
    }
}

+ 0 - 76
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeam.java

@ -1,76 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.admin;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 医生行政团队。
 *
 * @author Sand
 */
@Entity
@Table(name = "wlyy_admin_team")
public class AdminTeam extends IdEntity {
    private String name;
    private Date createTime;
    private String leaderCode;
    private String orgCode;
    private boolean available;
    public String getName() {
        return name;
    }
    @Column(name = "name")
    public void setName(String name) {
        this.name = name;
    }
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm", timezone = "GMT+08:00")
    public Date getCreateTime() {
        return createTime;
    }
    @Column(name = "create_time")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getOrgCode() {
        return orgCode;
    }
    @Column(name = "org_code")
    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
    public String getLeaderCode() {
        return leaderCode;
    }
    @Column(name = "leader_id")
    public void setLeaderCode(String leaderCode) {
        this.leaderCode = leaderCode;
    }
    public boolean isAvailable() {
        return available;
    }
    @Column(name = "available")
    public void setAvailable(boolean available) {
        this.available = available;
    }
}

+ 0 - 76
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamFunction.java

@ -1,76 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.admin;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * @author Sand
 */
@Entity
@Table(name = "dr_admin_team_function")
public class AdminTeamFunction extends IdEntity {
    private String name;
    private String code;
    private boolean avaliable;
    private Date createTime;
    private String creator;
    private String remarks;
    public String getName() {
        return name;
    }
    @Column(name = "name")
    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return code;
    }
    @Column(name = "code")
    public void setCode(String code) {
        this.code = code;
    }
    public boolean isAvaliable() {
        return avaliable;
    }
    @Column(name = "avaliable")
    public void setAvaliable(boolean avaliable) {
        this.avaliable = avaliable;
    }
    public Date getCreateTime() {
        return createTime;
    }
    @Column(name = "create_time")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreator() {
        return creator;
    }
    @Column(name = "creator")
    public void setCreator(String creator) {
        this.creator = creator;
    }
    public String getRemarks() {
        return remarks;
    }
    @Column(name = "remarks")
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}

+ 0 - 60
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamMember.java

@ -1,60 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.admin;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 医生行政团队成员。
 *
 * @author Sand
 */
@Entity
@Table(name = "wlyy_admin_team_member")
public class AdminTeamMember extends IdEntity {
    private long teamId;
    private String doctorCode;
    private Date joinTime;
    private boolean available;
    public long getTeamId() {
        return teamId;
    }
    @Column(name = "team_id")
    public void setTeamId(long teamId) {
        this.teamId = teamId;
    }
    public String getDoctorCode() {
        return doctorCode;
    }
    @Column(name = "doctor_id")
    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm", timezone = "GMT+08:00")
    public Date getJoinTime() {
        return joinTime;
    }
    @Column(name = "join_time")
    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }
    public boolean isAvailable() {
        return available;
    }
    @Column(name = "available")
    public void setAvailable(boolean available) {
        this.available = available;
    }
}

+ 0 - 47
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamMemberAuthority.java

@ -1,47 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.admin;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 成员权限。
 *
 * @author Sand
 */
@Entity
@Table(name = "dr_admin_team_member_authority")
public class AdminTeamMemberAuthority extends IdEntity {
    private long teamdId;
    private long roleId;
    private long functionId;
    public long getTeamdId() {
        return teamdId;
    }
    @Column(name = "team_id")
    public void setTeamdId(long teamdId) {
        this.teamdId = teamdId;
    }
    public long getRoleId() {
        return roleId;
    }
    @Column(name = "role_id")
    public void setRoleId(long roleId) {
        this.roleId = roleId;
    }
    public long getFunctionId() {
        return functionId;
    }
    @Column(name = "function_id")
    public void setFunctionId(long functionId) {
        this.functionId = functionId;
    }
}

+ 0 - 47
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamMemberRole.java

@ -1,47 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.admin;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 团队成员角色。
 *
 * @author Sand
 */
@Entity
@Table(name = "dr_admin_team_member_role")
public class AdminTeamMemberRole extends IdEntity {
    private long teamId;
    private long doctorId;
    private long roleId;
    public long getTeamId() {
        return teamId;
    }
    @Column(name = "team_id")
    public void setTeamId(long teamId) {
        this.teamId = teamId;
    }
    public long getDoctorId() {
        return doctorId;
    }
    @Column(name = "doctor_id")
    public void setDoctorId(long doctorId) {
        this.doctorId = doctorId;
    }
    public long getRoleId() {
        return roleId;
    }
    @Column(name = "role_id")
    public void setRoleId(long roleId) {
        this.roleId = roleId;
    }
}

+ 0 - 76
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/admin/AdminTeamRole.java

@ -1,76 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.admin;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * @author Sand
 */
@Entity
@Table(name = "dr_admin_team_role")
public class AdminTeamRole extends IdEntity {
    private String name;
    private boolean avaliable;
    private Date createTime;
    private long creatorId;
    private int multiply;
    private String remarks;
    public String getName() {
        return name;
    }
    @Column(name = "name")
    public void setName(String name) {
        this.name = name;
    }
    public boolean isAvaliable() {
        return avaliable;
    }
    @Column(name = "avaliable")
    public void setAvaliable(boolean avaliable) {
        this.avaliable = avaliable;
    }
    public Date getCreateTime() {
        return createTime;
    }
    @Column(name = "create_time")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public long getCreatorId() {
        return creatorId;
    }
    @Column(name = "creator_id")
    public void setCreatorId(long creatorId) {
        this.creatorId = creatorId;
    }
    public int getMultiply() {
        return multiply;
    }
    @Column(name = "multiply")
    public void setMultiply(int multiply) {
        this.multiply = multiply;
    }
    public String getRemarks() {
        return remarks;
    }
    @Column(name = "remarks")
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}

+ 0 - 149
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorPatient.java

@ -1,149 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生与患者关系表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_patient")
public class DoctorPatient extends IdEntity {
	private static final long serialVersionUID = -2260152237953602081L;
	// 医生标识
	private String doctor;
	// 医生姓名
	private String doctorName;
	// 医生类型:1专科,2全科,3健管师
	private int doctorType;
	// 患者标识
	private String patient;
	// 患者姓名
	private String patientName;
	// 患者生日
	private Date birthday;
	// 患者性别:1男,0女
	private Integer sex;
	// 疾病类型:0健康,1慢病
	private Integer disease;
	// 类型:1三师团队,2家庭签约团队
	private Integer teamType;
	// 签约类型:00,0代表未签约,1代表已签约;第一位表示三师签约状态,第二位代表家庭签约情况
	private String signType;
	// 状态:0失效,1正常
	private Integer status;
	// 添加时间
	private Date czrq;
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	@Column(name = "doctor_name")
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	@Column(name = "doctor_type")
	public Integer getDoctorType() {
		return doctorType;
	}
	public void setDoctorType(Integer doctorType) {
		this.doctorType = doctorType;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	@Column(name = "patient_name")
	public String getPatientName() {
		return patientName;
	}
	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Integer getDisease() {
		return disease;
	}
	public void setDisease(Integer disease) {
		this.disease = disease;
	}
	@Column(name = "team_type")
	public Integer getTeamType() {
		return teamType;
	}
	public void setTeamType(Integer teamType) {
		this.teamType = teamType;
	}
	@Column(name = "sign_type")
	public String getSignType() {
		return signType;
	}
	public void setSignType(String signType) {
		this.signType = signType;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 0 - 72
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorPatientGroup.java

@ -1,72 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生分组(三师、普通签约等)表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_patient_group")
public class DoctorPatientGroup extends IdEntity {
	private static final long serialVersionUID = 2055055862188986760L;
	
	// 业务主键
	private String code;
	//组名
	private String name;	
	// 医生标识
	private String doctor;
	// 发布时间
	private Date czrq;
	// 状态,1正常,0作废
	private Integer status;
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
}

+ 0 - 129
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorPatientGroupInfo.java

@ -1,129 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 医生对患者分组(三师、普通签约等)记录表
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_patient_group_info")
public class DoctorPatientGroupInfo extends IdEntity {
	private static final long serialVersionUID = 5559656428707106920L;
	// 医生标识
	private String doctor;
	// 患者标识
	private String patient;
	// 患者姓名
	private String pname;
	// 分组标识(1:健康人群 2:慢病人群 3:我的具名)
	private String group;
	// 病历片段总数
	private Integer partAmount;
	// 签约日期/已诊日期
	private Date qyrq;
	// 到期日期
	private Date dqrq;
	// 添加时间
	private Date czrq;
	// 状态,1正常,0作废
	private Integer status;
	//签约类型(1表示三师签约,2表示家庭签约)
	private String signType;
	@Column(name = "sign_type")
	public String getSignType() {
		return signType;
	}
	public void setSignType(String signType) {
		this.signType = signType;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	@Column(name = "group_code")
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
	public Date getDqrq() {
		return dqrq;
	}
	public void setDqrq(Date dqrq) {
		this.dqrq = dqrq;
	}
	@Column(name = "part_amount")
	public Integer getPartAmount() {
		return partAmount;
	}
	public void setPartAmount(Integer partAmount) {
		this.partAmount = partAmount;
	}
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
	public Date getQyrq() {
		return qyrq;
	}
	public void setQyrq(Date qyrq) {
		this.qyrq = qyrq;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 0 - 69
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorTeam.java

@ -1,69 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 三师团队/医生签约团队
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_team")
public class DoctorTeam extends IdEntity {
	private static final long serialVersionUID = 715817516721723210L;
	private String code;    // 组标识
	private String name;    // 组名
	private Date czrq;      // 更新时间
	private String del;     // 是否作废,1正常,0作废
	private String signType;//签约类型(1表示三师签约,2表示家庭签约)
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
	@Column(name = "sign_type")
	public String getSignType() {
		return signType;
	}
	public void setSignType(String signType) {
		this.signType = signType;
	}
}

+ 0 - 77
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorTeamInfo.java

@ -1,77 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 三师团队/医生签约团队信息
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_doctor_team_info")
public class DoctorTeamInfo extends IdEntity {
	private static final long serialVersionUID = -1842055458720630738L;
	private String team;    // 团队编码,关联wlyy_doctor_team表
	private String doctor;  // 医生标识,关联wlyy_doctor表
	private String name;    // 医生姓名
	private Integer type;   // 医生类型:1专科医生,2全科医生,3健康管理师,4营养师 5.患者
	private Date czrq;      // 更新时间
	private String del;     // 是否作废,1正常,0作废
	public String getTeam() {
		return team;
	}
	public void setTeam(String team) {
		this.team = team;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 130
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/DoctorTeamMember.java

@ -1,130 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.sql.Timestamp;
import java.util.Date;
/**
 * 医生签约团队成员。
 *
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wlyy_doctor_team_member")
public class DoctorTeamMember extends IdEntity {
    // Fields
    private String team;
    private String memberCode;
    private String code;
    private String name;
    private Integer type;//医生类型:1专科医生,2全科医生,3健康管理师,4临时专科 5.患者
    private Date czrq;
    private String del;//是否作废,1正常,0作废
    private String signType;//签约类型(1表示三师签约,2表示家庭签约)
    /**
     * default constructor
     */
    public DoctorTeamMember() {
    }
    /**
     * minimal constructor
     */
    public DoctorTeamMember(String team, String doctor, Integer type,
                            Timestamp czrq) {
        this.team = team;
        this.type = type;
        this.czrq = czrq;
    }
    /**
     * full constructor
     */
    public DoctorTeamMember(String team, String doctor, String name,
                            Integer type, Timestamp czrq, String del) {
        this.team = team;
        this.name = name;
        this.type = type;
        this.czrq = czrq;
        this.del = del;
    }
    @Column(name = "team", nullable = false, length = 50)
    public String getTeam() {
        return this.team;
    }
    public void setTeam(String team) {
        this.team = team;
    }
    @Column(name = "member_code", nullable = false, length = 50)
    public String getMemberCode() {
        return memberCode;
    }
    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }
    @Column(name = "name", length = 50)
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    @Column(name = "type", nullable = false)
    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    @Column(name = "czrq", nullable = false, length = 0)
    public Date getCzrq() {
        return this.czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    @Column(name = "del", length = 1)
    public String getDel() {
        return this.del;
    }
    public void setDel(String del) {
        this.del = del;
    }
    @Column(name = "code")
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    @Column(name = "sign_type")
    public String getSignType() {
        return signType;
    }
    public void setSignType(String signType) {
        this.signType = signType;
    }
}

+ 0 - 85
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignLabel.java

@ -1,85 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by yeshijie on 2017/6/1.
 */
@Entity
@Table(name = "wlyy_sign_label")
public class SignLabel extends IdEntity {
    // 标签code
    private String label;
    // 标签名称
    private String name;
    // 是否系统标签
    private Integer isSystem;
    // 图标
    private String imgUrl;
    // 排序
    private Integer sort;
    // 状态 0:无效 1:有效
    private Integer status;
    // 操作日期
    private Date czrq;
    public String getLabel() {
        return label;
    }
    public void setLabel(String label) {
        this.label = label;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getIsSystem() {
        return isSystem;
    }
    public void setIsSystem(Integer isSystem) {
        this.isSystem = isSystem;
    }
    public String getImgUrl() {
        return imgUrl;
    }
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 96
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignPatientLabel.java

@ -1,96 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by lyr on 2016/10/9.
 */
@Entity
@Table(name = "wlyy_sign_patient_label")
public class SignPatientLabel extends IdEntity {
    // 标签code
    private String labelCode;
    // 标签名称
    private String labelName;
    // 标签类型 1:卫计委三大分组 2:健康情况 3:疾病类型 4:自定义
    private String labelType;
    // 是否系统标签
    private Integer isSystem;
    // 创建者
    private String creator;
    // 所属团队code
    private Long teamCode;
    // 排序
    private Integer sort;
    // 状态 0:无效 1:有效
    private Integer status;
    // 操作日期
    private Date czrq;
    public String getLabelCode() {
        return labelCode;
    }
    public void setLabelCode(String labelCode) {
        this.labelCode = labelCode;
    }
    public String getLabelName() {
        return labelName;
    }
    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }
    public String getLabelType() {
        return labelType;
    }
    public void setLabelType(String labelType) {
        this.labelType = labelType;
    }
    public Integer getIsSystem() {
        return isSystem;
    }
    public void setIsSystem(Integer isSystem) {
        this.isSystem = isSystem;
    }
    public String getCreator() {
        return creator;
    }
    public void setCreator(String creator) {
        this.creator = creator;
    }
    public Long getTeamCode() {
        return teamCode;
    }
    public void setTeamCode(Long teamCode) {
        this.teamCode = teamCode;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 79
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignPatientLabelInfo.java

@ -1,79 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by lyr on 2016/10/9.
 */
@Entity
@Table(name = "wlyy_sign_patient_label_info")
public class SignPatientLabelInfo extends IdEntity {
    // 患者code
    private String patient;
    // 患者姓名
    private String pname;
    // 标签code
    private String label;
    // 标签名称
    private String labelName;
    // 标签类型
    private String labelType;
    // 状态 0:无效 1:有效
    private Integer status;
    // 操作日期
    private Date czrq;
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public String getPname() {
        return pname;
    }
    public void setPname(String pname) {
        this.pname = pname;
    }
    public String getLabel() {
        return label;
    }
    public void setLabel(String label) {
        this.label = label;
    }
    public String getLabelName() {
        return labelName;
    }
    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }
    public String getLabelType() {
        return labelType;
    }
    public void setLabelType(String labelType) {
        this.labelType = labelType;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 69
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/doctor/team/sign/SignPatientLabelLog.java

@ -1,69 +0,0 @@
package com.yihu.wlyy.entity.doctor.team.sign;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by lyr on 2016/10/9.
 */
@Entity
@Table(name = "wlyy_sign_patient_label_log")
public class SignPatientLabelLog extends IdEntity {
    // 标签code
    private String labelCode;
    // 旧名称
    private String oldName;
    // 新名称
    private String newName;
    // 变更类型 1:修改名称  2:删除
    private Integer modifyType;
    // 修改人
    private String modifyBy;
    // 操作日期
    private Date czrq;
    public String getLabelCode() {
        return labelCode;
    }
    public void setLabelCode(String labelCode) {
        this.labelCode = labelCode;
    }
    public String getOldName() {
        return oldName;
    }
    public void setOldName(String oldName) {
        this.oldName = oldName;
    }
    public String getNewName() {
        return newName;
    }
    public void setNewName(String newName) {
        this.newName = newName;
    }
    public Integer getModifyType() {
        return modifyType;
    }
    public void setModifyType(Integer modifyType) {
        this.modifyType = modifyType;
    }
    public String getModifyBy() {
        return modifyBy;
    }
    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 0 - 84
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/FoodComp.java

@ -1,84 +0,0 @@
package com.yihu.wlyy.entity.education;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 健康教育
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_food_comp")
public class FoodComp extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 412341231112321L ;
	// 父id
	private Long pid;
	// 名称
	private String name;
	// 热量
	private Long hot;
	// 成分
	private String component;
	//重量
	private String weight;
	private String photo;
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public Long getPid() {
		return pid;
	}
	public void setPid(Long pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getHot() {
		return hot;
	}
	public void setHot(Long hot) {
		this.hot = hot;
	}
	public String getComponent() {
		return component;
	}
	public void setComponent(String component) {
		this.component = component;
	}
	public String getWeight() {
		return weight;
	}
	public void setWeight(String weight) {
		this.weight = weight;
	}
}

+ 0 - 97
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticle.java

@ -1,97 +0,0 @@
package com.yihu.wlyy.entity.education;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 健康教育
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_health_edu_article")
public class HealthEduArticle extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 149974966956355735L;
	// 文章标识
	private String code;
	// 文章标题
	private String title;
	// 文章链接
	private String url;
	// 简介
	private String summary;
	// 文章内容
	private String content;
	// 发布时间
	private Date czrq;
	//文章关键字
	private String keyword;
	public String getKeyword(){
		return keyword;
	}
	public void setKeyword(String keyword){
		this.keyword = keyword;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 0 - 88
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticleDoctor.java

@ -1,88 +0,0 @@
package com.yihu.wlyy.entity.education;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 患者健康教育文章
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_health_edu_article_doctor")
public class HealthEduArticleDoctor extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2828101406253527L;
	// 文章标识
	private String article;
	// 医生标识
	private String doctor;
	// 文章标题
	private String title;
	// 文章链接
	private String url;
	// 文章内容
	//private String content;
	// 发布时间
	private Date czrq;
	public String getArticle() {
		return article;
	}
	public void setArticle(String article) {
		this.article = article;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	//public String getContent() {
	//	return content;
	//}
    //
	//public void setContent(String content) {
	//	this.content = content;
	//}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 0 - 64
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticleLabel.java

@ -1,64 +0,0 @@
package com.yihu.wlyy.entity.education;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 患者健康教育文章
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_health_edu_article_label")
public class HealthEduArticleLabel extends IdEntity {
	/**
	 *
	 */
	private static final long serialVersionUID = -1828201403253527L;
	// 文章搜索关键字
	private String keyword;
	// 总数
	private int amount;
	// 创建人
	private String creater;
	//创建日期
	private Date czrq;
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public int getAmount() {
		return amount;
	}
	public void setAmount(int amount) {
		this.amount = amount;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
}

+ 0 - 84
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticleOpHistory.java

@ -1,84 +0,0 @@
package com.yihu.wlyy.entity.education;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * 健康教育文章操作历史表
 * @author linz
 *
 */
@Entity
@Table(name = "wlyy_health_edu_article_op_history")
public class HealthEduArticleOpHistory extends IdEntity {
	// 文章标识
	private String code;
	// 文章标题
	private String title;
	// 操作类型1.阅读 2.收藏 3.转发
	private String status;
	// 操作人
	private String creater;
	// 发布时间
	private Date createdTime;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	/**
	 * 阅读状态
	 */
	public static final String READ_STATUS ="1";
	/**
	 * 收藏状态
	 */
	public static final String COLLECTION_STATUS ="2";
	/**
	 * 转发状态
	 */
	public static final String REPEAT_STATUS ="3";
}

+ 0 - 191
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthEduArticlePatient.java

@ -1,191 +0,0 @@
package com.yihu.wlyy.entity.education;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 患者健康教育文章
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_health_edu_article_patient")
public class HealthEduArticlePatient extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2828104062535279547L;
	// 患者标识
	private String patient;
	// 文章标识
	private String article;
	// 医生标识
	private String doctor;
	// 医生姓名
	private String doctorName;
	// 文章标题
	private String title;
	// 文章链接
	private String url;
	// 文章内容
	private String content;
	// 是否已读:0已读,1未读
	private Integer read;
	// 发布时间
	private Date czrq;
	// 签约类型 1三师 2家庭
	private Integer signType;
	// 行政团队
	private Long adminTeamCode;
	// 简介
	private String summary;
	//附加内容
	private String attachedContent;
	//批次号记录发送所属批次
	private String batchNo;
	//签约表code
	private String signCode;
	private Integer articleId;
	public String getBatchNo() {
		return batchNo;
	}
	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}
	public String getAttachedContent() {
		return attachedContent;
	}
	public void setAttachedContent(String attachedContent) {
		this.attachedContent = attachedContent;
	}
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public String getArticle() {
		return article;
	}
	public void setArticle(String article) {
		this.article = article;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	@Transient
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	@Transient
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	@Transient
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Column(name = "is_read")
	public Integer getRead() {
		return read;
	}
	public void setRead(Integer read) {
		this.read = read;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public Integer getSignType() {
		return signType;
	}
	public void setSignType(Integer signType) {
		this.signType = signType;
	}
	public Long getAdminTeamCode() {
		return adminTeamCode;
	}
	public void setAdminTeamCode(Long adminTeamCode) {
		this.adminTeamCode = adminTeamCode;
	}
	@Transient
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getSignCode() {
		return signCode;
	}
	public void setSignCode(String signCode) {
		this.signCode = signCode;
	}
	@Transient
	public Integer getArticleId() {
		return articleId;
	}
	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}
}

+ 0 - 86
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/HealthNews.java

@ -1,86 +0,0 @@
package com.yihu.wlyy.entity.education;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.wlyy.entity.IdEntity;
/**
 * 健康资讯
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_health_news")
public class HealthNews extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -401494521490022582L;
	// 资讯图片
	private String photo;
	// 标题
	private String title;
	// 概述
	private String summary;
	// 查看URL
	private String url;
	// 添加时间
	private Date czrq;
	// 作废标识:1正常,0作废
	private String del;
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 53
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/Sports.java

@ -1,53 +0,0 @@
package com.yihu.wlyy.entity.education;
import com.yihu.wlyy.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 运动类型
 * @author George
 *
 */
@Entity
@Table(name = "dm_sports")
public class Sports extends IdEntity {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8431939466804151130L;
	
	// 运动标识
	private String code;
	// 运动名称
	private String name;
	// 作废标识,1正常,0作废
	private String del;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 0 - 0
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/education/SportsType.java


Vissa filer visades inte eftersom för många filer har ändrats