初始化
commit
8030fa0f4d
|
@ -0,0 +1,46 @@
|
|||
######################################################################
|
||||
# Build Tools
|
||||
|
||||
.gradle
|
||||
/build/
|
||||
!gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
|
||||
######################################################################
|
||||
# IDE
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### JRebel ###
|
||||
rebel.xml
|
||||
### NetBeans ###
|
||||
nbproject/private/
|
||||
build/*
|
||||
nbbuild/
|
||||
dist/
|
||||
nbdist/
|
||||
.nb-gradle/
|
||||
|
||||
######################################################################
|
||||
# Others
|
||||
*.log
|
||||
*.xml.versionsBackup
|
||||
*.swp
|
||||
|
||||
!*/build/*.java
|
||||
!*/build/*.html
|
||||
!*/build/*.xml
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.four</groupId>
|
||||
<artifactId>four-dimensional-health</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>3.6.3</version>
|
||||
<artifactId>dimensional-health-patient</artifactId>
|
||||
|
||||
<description>
|
||||
dimensional-health-patient患者模块
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
||||
</project>
|
|
@ -0,0 +1,29 @@
|
|||
package com.four.patient;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* 文件服务
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
|
||||
@SpringBootApplication
|
||||
public class PatientApplication
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
SpringApplication.run(PatientApplication.class, args);
|
||||
System.out.println("(♥◠‿◠)ノ゙ 患者服务模块启动成功 ლ(´ڡ`ლ)゙ \n" +
|
||||
" .-------. ____ __ \n" +
|
||||
" | _ _ \\ \\ \\ / / \n" +
|
||||
" | ( ' ) | \\ _. / ' \n" +
|
||||
" |(_ o _) / _( )_ .' \n" +
|
||||
" | (_,_).' __ ___(_ o _)' \n" +
|
||||
" | |\\ \\ | || |(_,_)' \n" +
|
||||
" | | \\ `' /| `-' / \n" +
|
||||
" | | \\ / \\ / \n" +
|
||||
" ''-' `'-' `-..-' ");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 被采纳建议表
|
||||
*/
|
||||
public class AcceptedProposal {
|
||||
|
||||
/**
|
||||
* 被采纳建议id
|
||||
*/
|
||||
private Integer acceptedProposalId;
|
||||
|
||||
/**
|
||||
* 详情表中的评论id
|
||||
*/
|
||||
private Integer detailedReviewId;
|
||||
|
||||
/**
|
||||
* 采纳时间
|
||||
*/
|
||||
private Date adoptionTime;
|
||||
|
||||
public Integer getAcceptedProposalId() {
|
||||
return acceptedProposalId;
|
||||
}
|
||||
|
||||
public void setAcceptedProposalId(Integer acceptedProposalId) {
|
||||
this.acceptedProposalId = acceptedProposalId;
|
||||
}
|
||||
|
||||
public Integer getDetailedReviewId() {
|
||||
return detailedReviewId;
|
||||
}
|
||||
|
||||
public void setDetailedReviewId(Integer detailedReviewId) {
|
||||
this.detailedReviewId = detailedReviewId;
|
||||
}
|
||||
|
||||
public Date getAdoptionTime() {
|
||||
return adoptionTime;
|
||||
}
|
||||
|
||||
public void setAdoptionTime(Date adoptionTime) {
|
||||
this.adoptionTime = adoptionTime;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
|
||||
/**
|
||||
* 健康咨询收藏表
|
||||
*/
|
||||
|
||||
public class AdvisoryCollection {
|
||||
|
||||
/**
|
||||
* 健康咨询收藏id
|
||||
*/
|
||||
private Integer advisoryCollectionId;
|
||||
|
||||
/**
|
||||
* 咨询详情id
|
||||
*/
|
||||
private Integer consultationDetailsId;
|
||||
|
||||
/**
|
||||
* 收藏人id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
public Integer getAdvisoryCollectionId() {
|
||||
return advisoryCollectionId;
|
||||
}
|
||||
|
||||
public void setAdvisoryCollectionId(Integer advisoryCollectionId) {
|
||||
this.advisoryCollectionId = advisoryCollectionId;
|
||||
}
|
||||
|
||||
public Integer getConsultationDetailsId() {
|
||||
return consultationDetailsId;
|
||||
}
|
||||
|
||||
public void setConsultationDetailsId(Integer consultationDetailsId) {
|
||||
this.consultationDetailsId = consultationDetailsId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 自动回复表
|
||||
*/
|
||||
public class AutomaticResponse {
|
||||
|
||||
/**
|
||||
* 自动回复id
|
||||
*/
|
||||
private Integer automaticResponseId;
|
||||
|
||||
/**
|
||||
* 自动回复内容
|
||||
*/
|
||||
private String autoreplyContent;
|
||||
|
||||
public Integer getAutomaticResponseId() {
|
||||
return automaticResponseId;
|
||||
}
|
||||
|
||||
public void setAutomaticResponseId(Integer automaticResponseId) {
|
||||
this.automaticResponseId = automaticResponseId;
|
||||
}
|
||||
|
||||
public String getAutoreplyContent() {
|
||||
return autoreplyContent;
|
||||
}
|
||||
|
||||
public void setAutoreplyContent(String autoreplyContent) {
|
||||
this.autoreplyContent = autoreplyContent;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 购买视频表
|
||||
*/
|
||||
public class BuyVideo {
|
||||
|
||||
/**
|
||||
* 购买视频id
|
||||
*/
|
||||
private Integer buyVideoId;
|
||||
|
||||
/**
|
||||
* 视频id
|
||||
*/
|
||||
private Integer videoId;
|
||||
|
||||
/**
|
||||
* 购买人id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 购买时间
|
||||
*/
|
||||
private Date buyTime;
|
||||
|
||||
public Integer getBuyVideoId() {
|
||||
return buyVideoId;
|
||||
}
|
||||
|
||||
public void setBuyVideoId(Integer buyVideoId) {
|
||||
this.buyVideoId = buyVideoId;
|
||||
}
|
||||
|
||||
public Integer getVideoId() {
|
||||
return videoId;
|
||||
}
|
||||
|
||||
public void setVideoId(Integer videoId) {
|
||||
this.videoId = videoId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Date getBuyTime() {
|
||||
return buyTime;
|
||||
}
|
||||
|
||||
public void setBuyTime(Date buyTime) {
|
||||
this.buyTime = buyTime;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,124 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 用户的实名认证和银行卡
|
||||
*/
|
||||
public class CertifiedBankCard {
|
||||
|
||||
/**
|
||||
* 用户的实名认证和银行卡id
|
||||
*/
|
||||
private Integer certifiedBankCardId;
|
||||
|
||||
/**
|
||||
* 用户的id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
private String realName;
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
private String realGender;
|
||||
|
||||
/**
|
||||
* 真实籍贯
|
||||
*/
|
||||
private String trueNativePlace;
|
||||
|
||||
/**
|
||||
* 身份证号
|
||||
*/
|
||||
private Integer idNumber;
|
||||
|
||||
/**
|
||||
* 开户行:银行名称
|
||||
*/
|
||||
private String bankName;
|
||||
|
||||
/**
|
||||
* 银行卡号
|
||||
*/
|
||||
private String bankCardNumber;
|
||||
|
||||
/**
|
||||
* 状态:1身份证号 2银行卡号
|
||||
*/
|
||||
private Integer certifiedBankCardStatus;
|
||||
|
||||
public Integer getCertifiedBankCardId() {
|
||||
return certifiedBankCardId;
|
||||
}
|
||||
|
||||
public void setCertifiedBankCardId(Integer certifiedBankCardId) {
|
||||
this.certifiedBankCardId = certifiedBankCardId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getRealName() {
|
||||
return realName;
|
||||
}
|
||||
|
||||
public void setRealName(String realName) {
|
||||
this.realName = realName;
|
||||
}
|
||||
|
||||
public String getRealGender() {
|
||||
return realGender;
|
||||
}
|
||||
|
||||
public void setRealGender(String realGender) {
|
||||
this.realGender = realGender;
|
||||
}
|
||||
|
||||
public String getTrueNativePlace() {
|
||||
return trueNativePlace;
|
||||
}
|
||||
|
||||
public void setTrueNativePlace(String trueNativePlace) {
|
||||
this.trueNativePlace = trueNativePlace;
|
||||
}
|
||||
|
||||
public Integer getIdNumber() {
|
||||
return idNumber;
|
||||
}
|
||||
|
||||
public void setIdNumber(Integer idNumber) {
|
||||
this.idNumber = idNumber;
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public String getBankCardNumber() {
|
||||
return bankCardNumber;
|
||||
}
|
||||
|
||||
public void setBankCardNumber(String bankCardNumber) {
|
||||
this.bankCardNumber = bankCardNumber;
|
||||
}
|
||||
|
||||
public Integer getCertifiedBankCardStatus() {
|
||||
return certifiedBankCardStatus;
|
||||
}
|
||||
|
||||
public void setCertifiedBankCardStatus(Integer certifiedBankCardStatus) {
|
||||
this.certifiedBankCardStatus = certifiedBankCardStatus;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,74 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 健康咨询详情表
|
||||
*/
|
||||
public class ConsultationDetails {
|
||||
|
||||
/**
|
||||
* 健康咨询详情id
|
||||
*/
|
||||
private Integer consultationDetailsId;
|
||||
|
||||
/**
|
||||
* 健康咨询详情标题
|
||||
*/
|
||||
private String consultationDetailsTitle;
|
||||
|
||||
/**
|
||||
* 发布人
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 发布时间
|
||||
*/
|
||||
private Date releaseTime;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String consultationDetailsContent;
|
||||
|
||||
public Integer getConsultationDetailsId() {
|
||||
return consultationDetailsId;
|
||||
}
|
||||
|
||||
public void setConsultationDetailsId(Integer consultationDetailsId) {
|
||||
this.consultationDetailsId = consultationDetailsId;
|
||||
}
|
||||
|
||||
public String getConsultationDetailsTitle() {
|
||||
return consultationDetailsTitle;
|
||||
}
|
||||
|
||||
public void setConsultationDetailsTitle(String consultationDetailsTitle) {
|
||||
this.consultationDetailsTitle = consultationDetailsTitle;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Date getReleaseTime() {
|
||||
return releaseTime;
|
||||
}
|
||||
|
||||
public void setReleaseTime(Date releaseTime) {
|
||||
this.releaseTime = releaseTime;
|
||||
}
|
||||
|
||||
public String getConsultationDetailsContent() {
|
||||
return consultationDetailsContent;
|
||||
}
|
||||
|
||||
public void setConsultationDetailsContent(String consultationDetailsContent) {
|
||||
this.consultationDetailsContent = consultationDetailsContent;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,87 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 咨询记录表
|
||||
*/
|
||||
public class ConsultationRecord {
|
||||
|
||||
/**
|
||||
* 咨询记录id
|
||||
*/
|
||||
private Integer consultationRecordId;
|
||||
|
||||
/**
|
||||
* 咨询时间
|
||||
*/
|
||||
private Date consultationTime;
|
||||
|
||||
/**
|
||||
* 咨询人id
|
||||
*/
|
||||
private Integer consultantId;
|
||||
|
||||
/**
|
||||
* 咨询内容
|
||||
*/
|
||||
private String consultationContent;
|
||||
|
||||
/**
|
||||
* 医生注册信息id
|
||||
*/
|
||||
private Integer registrationInformationId;
|
||||
|
||||
/**
|
||||
* 医生回复的内容
|
||||
*/
|
||||
private String replyContent;
|
||||
|
||||
public Integer getConsultationRecordId() {
|
||||
return consultationRecordId;
|
||||
}
|
||||
|
||||
public void setConsultationRecordId(Integer consultationRecordId) {
|
||||
this.consultationRecordId = consultationRecordId;
|
||||
}
|
||||
|
||||
public Date getConsultationTime() {
|
||||
return consultationTime;
|
||||
}
|
||||
|
||||
public void setConsultationTime(Date consultationTime) {
|
||||
this.consultationTime = consultationTime;
|
||||
}
|
||||
|
||||
public Integer getConsultantId() {
|
||||
return consultantId;
|
||||
}
|
||||
|
||||
public void setConsultantId(Integer consultantId) {
|
||||
this.consultantId = consultantId;
|
||||
}
|
||||
|
||||
public String getConsultationContent() {
|
||||
return consultationContent;
|
||||
}
|
||||
|
||||
public void setConsultationContent(String consultationContent) {
|
||||
this.consultationContent = consultationContent;
|
||||
}
|
||||
|
||||
public Integer getRegistrationInformationId() {
|
||||
return registrationInformationId;
|
||||
}
|
||||
|
||||
public void setRegistrationInformationId(Integer registrationInformationId) {
|
||||
this.registrationInformationId = registrationInformationId;
|
||||
}
|
||||
|
||||
public String getReplyContent() {
|
||||
return replyContent;
|
||||
}
|
||||
|
||||
public void setReplyContent(String replyContent) {
|
||||
this.replyContent = replyContent;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 详情表中的收藏表
|
||||
*/
|
||||
public class DetailCollection {
|
||||
|
||||
/**
|
||||
* 详情表中的收藏id
|
||||
*/
|
||||
private Integer detailCollectionId;
|
||||
|
||||
/**
|
||||
* 病友圈详情id
|
||||
*/
|
||||
private Integer detailsPatientCircleId;
|
||||
|
||||
/**
|
||||
* 收藏时间
|
||||
*/
|
||||
private Date collectionTime;
|
||||
|
||||
/**
|
||||
* 收藏人
|
||||
*/
|
||||
private String collector;
|
||||
|
||||
public Integer getDetailCollectionId() {
|
||||
return detailCollectionId;
|
||||
}
|
||||
|
||||
public void setDetailCollectionId(Integer detailCollectionId) {
|
||||
this.detailCollectionId = detailCollectionId;
|
||||
}
|
||||
|
||||
public Integer getDetailsPatientCircleId() {
|
||||
return detailsPatientCircleId;
|
||||
}
|
||||
|
||||
public void setDetailsPatientCircleId(Integer detailsPatientCircleId) {
|
||||
this.detailsPatientCircleId = detailsPatientCircleId;
|
||||
}
|
||||
|
||||
public Date getCollectionTime() {
|
||||
return collectionTime;
|
||||
}
|
||||
|
||||
public void setCollectionTime(Date collectionTime) {
|
||||
this.collectionTime = collectionTime;
|
||||
}
|
||||
|
||||
public String getCollector() {
|
||||
return collector;
|
||||
}
|
||||
|
||||
public void setCollector(String collector) {
|
||||
this.collector = collector;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,87 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 详情表中的评论表
|
||||
*/
|
||||
public class DetailedReview {
|
||||
|
||||
/**
|
||||
* 详情表中的评论id
|
||||
*/
|
||||
private Integer detailedReviewId;
|
||||
|
||||
/**
|
||||
* 病友圈详情id
|
||||
*/
|
||||
private Integer detailsPatientCircleId;
|
||||
|
||||
/**
|
||||
* 评论时间
|
||||
*/
|
||||
private Date commentTime;
|
||||
|
||||
/**
|
||||
* 评论人id
|
||||
*/
|
||||
private Integer reviewerId;
|
||||
|
||||
/**
|
||||
* 点赞次数
|
||||
*/
|
||||
private Integer numberLikes;
|
||||
|
||||
/**
|
||||
* 嘲讽次数
|
||||
*/
|
||||
private Integer tauntCount;
|
||||
|
||||
public Integer getDetailedReviewId() {
|
||||
return detailedReviewId;
|
||||
}
|
||||
|
||||
public void setDetailedReviewId(Integer detailedReviewId) {
|
||||
this.detailedReviewId = detailedReviewId;
|
||||
}
|
||||
|
||||
public Integer getDetailsPatientCircleId() {
|
||||
return detailsPatientCircleId;
|
||||
}
|
||||
|
||||
public void setDetailsPatientCircleId(Integer detailsPatientCircleId) {
|
||||
this.detailsPatientCircleId = detailsPatientCircleId;
|
||||
}
|
||||
|
||||
public Date getCommentTime() {
|
||||
return commentTime;
|
||||
}
|
||||
|
||||
public void setCommentTime(Date commentTime) {
|
||||
this.commentTime = commentTime;
|
||||
}
|
||||
|
||||
public Integer getReviewerId() {
|
||||
return reviewerId;
|
||||
}
|
||||
|
||||
public void setReviewerId(Integer reviewerId) {
|
||||
this.reviewerId = reviewerId;
|
||||
}
|
||||
|
||||
public Integer getNumberLikes() {
|
||||
return numberLikes;
|
||||
}
|
||||
|
||||
public void setNumberLikes(Integer numberLikes) {
|
||||
this.numberLikes = numberLikes;
|
||||
}
|
||||
|
||||
public Integer getTauntCount() {
|
||||
return tauntCount;
|
||||
}
|
||||
|
||||
public void setTauntCount(Integer tauntCount) {
|
||||
this.tauntCount = tauntCount;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,178 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 病友圈详情表
|
||||
*/
|
||||
public class DetailsPatientCircle {
|
||||
|
||||
/**
|
||||
* 病友圈详情id
|
||||
*/
|
||||
private Integer detailsPatientCircleId;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 发布人id
|
||||
*/
|
||||
private Integer publisherId;
|
||||
|
||||
/**
|
||||
* 病症id
|
||||
*/
|
||||
private Integer diseaseId;
|
||||
|
||||
/**
|
||||
* 科室id
|
||||
*/
|
||||
private Integer departmentId;
|
||||
|
||||
/**
|
||||
* 病症详情
|
||||
*/
|
||||
private String detailsSymptoms;
|
||||
|
||||
/**
|
||||
* 治疗经历开始时间
|
||||
*/
|
||||
private Date treatmentExperienceStartTime;
|
||||
|
||||
/**
|
||||
* 治疗经历结束时间
|
||||
*/
|
||||
private Date treatmentExperienceEndTime;
|
||||
|
||||
/**
|
||||
* 治疗经历
|
||||
*/
|
||||
private String treatmentExperience;
|
||||
|
||||
/**
|
||||
* 相关图片
|
||||
*/
|
||||
private String relatedPictures;
|
||||
|
||||
/**
|
||||
* 提升悬赏额度
|
||||
*/
|
||||
private Integer rewardAmount;
|
||||
|
||||
/**
|
||||
* 收藏数量
|
||||
*/
|
||||
private Integer collectionQuantity;
|
||||
|
||||
/**
|
||||
* 评论数量
|
||||
*/
|
||||
private Integer numberComments;
|
||||
|
||||
public Integer getDetailsPatientCircleId() {
|
||||
return detailsPatientCircleId;
|
||||
}
|
||||
|
||||
public void setDetailsPatientCircleId(Integer detailsPatientCircleId) {
|
||||
this.detailsPatientCircleId = detailsPatientCircleId;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public Integer getPublisherId() {
|
||||
return publisherId;
|
||||
}
|
||||
|
||||
public void setPublisherId(Integer publisherId) {
|
||||
this.publisherId = publisherId;
|
||||
}
|
||||
|
||||
public Integer getDiseaseId() {
|
||||
return diseaseId;
|
||||
}
|
||||
|
||||
public void setDiseaseId(Integer diseaseId) {
|
||||
this.diseaseId = diseaseId;
|
||||
}
|
||||
|
||||
public Integer getDepartmentId() {
|
||||
return departmentId;
|
||||
}
|
||||
|
||||
public void setDepartmentId(Integer departmentId) {
|
||||
this.departmentId = departmentId;
|
||||
}
|
||||
|
||||
public String getDetailsSymptoms() {
|
||||
return detailsSymptoms;
|
||||
}
|
||||
|
||||
public void setDetailsSymptoms(String detailsSymptoms) {
|
||||
this.detailsSymptoms = detailsSymptoms;
|
||||
}
|
||||
|
||||
public Date getTreatmentExperienceStartTime() {
|
||||
return treatmentExperienceStartTime;
|
||||
}
|
||||
|
||||
public void setTreatmentExperienceStartTime(Date treatmentExperienceStartTime) {
|
||||
this.treatmentExperienceStartTime = treatmentExperienceStartTime;
|
||||
}
|
||||
|
||||
public Date getTreatmentExperienceEndTime() {
|
||||
return treatmentExperienceEndTime;
|
||||
}
|
||||
|
||||
public void setTreatmentExperienceEndTime(Date treatmentExperienceEndTime) {
|
||||
this.treatmentExperienceEndTime = treatmentExperienceEndTime;
|
||||
}
|
||||
|
||||
public String getTreatmentExperience() {
|
||||
return treatmentExperience;
|
||||
}
|
||||
|
||||
public void setTreatmentExperience(String treatmentExperience) {
|
||||
this.treatmentExperience = treatmentExperience;
|
||||
}
|
||||
|
||||
public String getRelatedPictures() {
|
||||
return relatedPictures;
|
||||
}
|
||||
|
||||
public void setRelatedPictures(String relatedPictures) {
|
||||
this.relatedPictures = relatedPictures;
|
||||
}
|
||||
|
||||
public Integer getRewardAmount() {
|
||||
return rewardAmount;
|
||||
}
|
||||
|
||||
public void setRewardAmount(Integer rewardAmount) {
|
||||
this.rewardAmount = rewardAmount;
|
||||
}
|
||||
|
||||
public Integer getCollectionQuantity() {
|
||||
return collectionQuantity;
|
||||
}
|
||||
|
||||
public void setCollectionQuantity(Integer collectionQuantity) {
|
||||
this.collectionQuantity = collectionQuantity;
|
||||
}
|
||||
|
||||
public Integer getNumberComments() {
|
||||
return numberComments;
|
||||
}
|
||||
|
||||
public void setNumberComments(Integer numberComments) {
|
||||
this.numberComments = numberComments;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,124 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 药品详情表
|
||||
*/
|
||||
public class DrugDetails {
|
||||
|
||||
/**
|
||||
* 药品详情id
|
||||
*/
|
||||
private Integer drugDetailsId;
|
||||
|
||||
/**
|
||||
* 常见病症+常见药品表id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 药品成分
|
||||
*/
|
||||
private String pharmaceuticalIngredient;
|
||||
|
||||
/**
|
||||
* 用药禁忌
|
||||
*/
|
||||
private String drugContraindication;
|
||||
|
||||
/**
|
||||
* 功能主治
|
||||
*/
|
||||
private String functionalIndications;
|
||||
|
||||
/**
|
||||
* 用法用量
|
||||
*/
|
||||
private String usageDosage;
|
||||
|
||||
/**
|
||||
* 药品性状
|
||||
*/
|
||||
private String drugCharacter;
|
||||
|
||||
/**
|
||||
* 包装规格
|
||||
*/
|
||||
private String packingSpecification;
|
||||
|
||||
/**
|
||||
* 不良反应
|
||||
*/
|
||||
private String adverseReaction;
|
||||
|
||||
public Integer getDrugDetailsId() {
|
||||
return drugDetailsId;
|
||||
}
|
||||
|
||||
public void setDrugDetailsId(Integer drugDetailsId) {
|
||||
this.drugDetailsId = drugDetailsId;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getPharmaceuticalIngredient() {
|
||||
return pharmaceuticalIngredient;
|
||||
}
|
||||
|
||||
public void setPharmaceuticalIngredient(String pharmaceuticalIngredient) {
|
||||
this.pharmaceuticalIngredient = pharmaceuticalIngredient;
|
||||
}
|
||||
|
||||
public String getDrugContraindication() {
|
||||
return drugContraindication;
|
||||
}
|
||||
|
||||
public void setDrugContraindication(String drugContraindication) {
|
||||
this.drugContraindication = drugContraindication;
|
||||
}
|
||||
|
||||
public String getFunctionalIndications() {
|
||||
return functionalIndications;
|
||||
}
|
||||
|
||||
public void setFunctionalIndications(String functionalIndications) {
|
||||
this.functionalIndications = functionalIndications;
|
||||
}
|
||||
|
||||
public String getUsageDosage() {
|
||||
return usageDosage;
|
||||
}
|
||||
|
||||
public void setUsageDosage(String usageDosage) {
|
||||
this.usageDosage = usageDosage;
|
||||
}
|
||||
|
||||
public String getDrugCharacter() {
|
||||
return drugCharacter;
|
||||
}
|
||||
|
||||
public void setDrugCharacter(String drugCharacter) {
|
||||
this.drugCharacter = drugCharacter;
|
||||
}
|
||||
|
||||
public String getPackingSpecification() {
|
||||
return packingSpecification;
|
||||
}
|
||||
|
||||
public void setPackingSpecification(String packingSpecification) {
|
||||
this.packingSpecification = packingSpecification;
|
||||
}
|
||||
|
||||
public String getAdverseReaction() {
|
||||
return adverseReaction;
|
||||
}
|
||||
|
||||
public void setAdverseReaction(String adverseReaction) {
|
||||
this.adverseReaction = adverseReaction;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 我的收藏视频表
|
||||
*/
|
||||
public class FavoriteVideo {
|
||||
|
||||
/**
|
||||
* 收藏视频id
|
||||
*/
|
||||
private Integer favoriteVideoId;
|
||||
|
||||
/**
|
||||
* 视频id
|
||||
*/
|
||||
private Integer videoId;
|
||||
|
||||
/**
|
||||
* 收藏人id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
public Integer getFavoriteVideoId() {
|
||||
return favoriteVideoId;
|
||||
}
|
||||
|
||||
public void setFavoriteVideoId(Integer favoriteVideoId) {
|
||||
this.favoriteVideoId = favoriteVideoId;
|
||||
}
|
||||
|
||||
public Integer getVideoId() {
|
||||
return videoId;
|
||||
}
|
||||
|
||||
public void setVideoId(Integer videoId) {
|
||||
this.videoId = videoId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 关注医生表
|
||||
*/
|
||||
public class FollowDoctor {
|
||||
|
||||
/**
|
||||
* 关注医生id
|
||||
*/
|
||||
private Integer followDoctorId;
|
||||
|
||||
/**
|
||||
* 关注人id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 医生注册信息id
|
||||
*/
|
||||
private Integer registrationInformationId;
|
||||
|
||||
public Integer getFollowDoctorId() {
|
||||
return followDoctorId;
|
||||
}
|
||||
|
||||
public void setFollowDoctorId(Integer followDoctorId) {
|
||||
this.followDoctorId = followDoctorId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Integer getRegistrationInformationId() {
|
||||
return registrationInformationId;
|
||||
}
|
||||
|
||||
public void setRegistrationInformationId(Integer registrationInformationId) {
|
||||
this.registrationInformationId = registrationInformationId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 礼物表
|
||||
*/
|
||||
public class Gift {
|
||||
|
||||
/**
|
||||
* 礼物id
|
||||
*/
|
||||
private Integer giftId;
|
||||
|
||||
/**
|
||||
* 礼物名称
|
||||
*/
|
||||
private String giftName;
|
||||
|
||||
/**
|
||||
* 礼物照片
|
||||
*/
|
||||
private String giftPhoto;
|
||||
|
||||
/**
|
||||
* 礼物价格
|
||||
*/
|
||||
private BigDecimal giftPrice;
|
||||
|
||||
public Integer getGiftId() {
|
||||
return giftId;
|
||||
}
|
||||
|
||||
public void setGiftId(Integer giftId) {
|
||||
this.giftId = giftId;
|
||||
}
|
||||
|
||||
public String getGiftName() {
|
||||
return giftName;
|
||||
}
|
||||
|
||||
public void setGiftName(String giftName) {
|
||||
this.giftName = giftName;
|
||||
}
|
||||
|
||||
public String getGiftPhoto() {
|
||||
return giftPhoto;
|
||||
}
|
||||
|
||||
public void setGiftPhoto(String giftPhoto) {
|
||||
this.giftPhoto = giftPhoto;
|
||||
}
|
||||
|
||||
public BigDecimal getGiftPrice() {
|
||||
return giftPrice;
|
||||
}
|
||||
|
||||
public void setGiftPrice(BigDecimal giftPrice) {
|
||||
this.giftPrice = giftPrice;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 礼物记录表
|
||||
*/
|
||||
public class GiftRecord {
|
||||
|
||||
/**
|
||||
* 礼物记录id
|
||||
*/
|
||||
private Integer giftRecordId;
|
||||
|
||||
/**
|
||||
* 送礼人id
|
||||
*/
|
||||
private Integer giverId;
|
||||
|
||||
/**
|
||||
* 礼物id
|
||||
*/
|
||||
private Integer giftId;
|
||||
|
||||
/**
|
||||
* 送礼时间
|
||||
*/
|
||||
private Date giftGivingTime;
|
||||
|
||||
public Integer getGiftRecordId() {
|
||||
return giftRecordId;
|
||||
}
|
||||
|
||||
public void setGiftRecordId(Integer giftRecordId) {
|
||||
this.giftRecordId = giftRecordId;
|
||||
}
|
||||
|
||||
public Integer getGiverId() {
|
||||
return giverId;
|
||||
}
|
||||
|
||||
public void setGiverId(Integer giverId) {
|
||||
this.giverId = giverId;
|
||||
}
|
||||
|
||||
public Integer getGiftId() {
|
||||
return giftId;
|
||||
}
|
||||
|
||||
public void setGiftId(Integer giftId) {
|
||||
this.giftId = giftId;
|
||||
}
|
||||
|
||||
public Date getGiftGivingTime() {
|
||||
return giftGivingTime;
|
||||
}
|
||||
|
||||
public void setGiftGivingTime(Date giftGivingTime) {
|
||||
this.giftGivingTime = giftGivingTime;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,59 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 历史问诊
|
||||
*/
|
||||
public class HistoricalConsultation {
|
||||
|
||||
/**
|
||||
* 历史问诊id
|
||||
*/
|
||||
private Integer historicalConsultationId;
|
||||
|
||||
/**
|
||||
* 患者id
|
||||
*/
|
||||
private Integer patientId;
|
||||
|
||||
/**
|
||||
* 医生注册信息id
|
||||
*/
|
||||
private Integer registrationInformationId;
|
||||
|
||||
/**
|
||||
* 状态1:正在问诊2:结束问诊
|
||||
*/
|
||||
private Integer historicalConsultationStatus;
|
||||
|
||||
public Integer getHistoricalConsultationId() {
|
||||
return historicalConsultationId;
|
||||
}
|
||||
|
||||
public void setHistoricalConsultationId(Integer historicalConsultationId) {
|
||||
this.historicalConsultationId = historicalConsultationId;
|
||||
}
|
||||
|
||||
public Integer getPatientId() {
|
||||
return patientId;
|
||||
}
|
||||
|
||||
public void setPatientId(Integer patientId) {
|
||||
this.patientId = patientId;
|
||||
}
|
||||
|
||||
public Integer getRegistrationInformationId() {
|
||||
return registrationInformationId;
|
||||
}
|
||||
|
||||
public void setRegistrationInformationId(Integer registrationInformationId) {
|
||||
this.registrationInformationId = registrationInformationId;
|
||||
}
|
||||
|
||||
public Integer getHistoricalConsultationStatus() {
|
||||
return historicalConsultationStatus;
|
||||
}
|
||||
|
||||
public void setHistoricalConsultationStatus(Integer historicalConsultationStatus) {
|
||||
this.historicalConsultationStatus = historicalConsultationStatus;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 评论表中的点赞和嘲讽
|
||||
*/
|
||||
public class LikeMock {
|
||||
|
||||
/**
|
||||
* 点赞和嘲讽id
|
||||
*/
|
||||
private Integer likeMockId;
|
||||
|
||||
/**
|
||||
* 点赞或嘲讽人id
|
||||
*/
|
||||
private Integer likeMockPeopleId;
|
||||
|
||||
/**
|
||||
* 点赞时间
|
||||
*/
|
||||
private Date thumbsTime;
|
||||
|
||||
/**
|
||||
* 状态1:代表点赞2:代表嘲讽
|
||||
*/
|
||||
private String likeMockStatus;
|
||||
|
||||
public Integer getLikeMockId() {
|
||||
return likeMockId;
|
||||
}
|
||||
|
||||
public void setLikeMockId(Integer likeMockId) {
|
||||
this.likeMockId = likeMockId;
|
||||
}
|
||||
|
||||
public Integer getLikeMockPeopleId() {
|
||||
return likeMockPeopleId;
|
||||
}
|
||||
|
||||
public void setLikeMockPeopleId(Integer likeMockPeopleId) {
|
||||
this.likeMockPeopleId = likeMockPeopleId;
|
||||
}
|
||||
|
||||
public Date getThumbsTime() {
|
||||
return thumbsTime;
|
||||
}
|
||||
|
||||
public void setThumbsTime(Date thumbsTime) {
|
||||
this.thumbsTime = thumbsTime;
|
||||
}
|
||||
|
||||
public String getLikeMockStatus() {
|
||||
return likeMockStatus;
|
||||
}
|
||||
|
||||
public void setLikeMockStatus(String likeMockStatus) {
|
||||
this.likeMockStatus = likeMockStatus;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 医生科室表
|
||||
*/
|
||||
public class MedicalDepartment {
|
||||
|
||||
/**
|
||||
* 医生科室id
|
||||
*/
|
||||
private Integer medicalDepartmentId;
|
||||
|
||||
/**
|
||||
* 医生科室名称
|
||||
*/
|
||||
private String medicalDepartmentName;
|
||||
|
||||
public Integer getMedicalDepartmentId() {
|
||||
return medicalDepartmentId;
|
||||
}
|
||||
|
||||
public void setMedicalDepartmentId(Integer medicalDepartmentId) {
|
||||
this.medicalDepartmentId = medicalDepartmentId;
|
||||
}
|
||||
|
||||
public String getMedicalDepartmentName() {
|
||||
return medicalDepartmentName;
|
||||
}
|
||||
|
||||
public void setMedicalDepartmentName(String medicalDepartmentName) {
|
||||
this.medicalDepartmentName = medicalDepartmentName;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,85 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 病症详情表
|
||||
*/
|
||||
public class PathologicalDetails {
|
||||
|
||||
/**
|
||||
* 病症详情id
|
||||
*/
|
||||
private Integer detailsSymptomsId;
|
||||
|
||||
/**
|
||||
* 常见病症+常见药品id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 病理
|
||||
*/
|
||||
private String pathology;
|
||||
|
||||
/**
|
||||
* 症状
|
||||
*/
|
||||
private String symptom;
|
||||
|
||||
/**
|
||||
* 宜与忌
|
||||
*/
|
||||
private String prosCons;
|
||||
|
||||
/**
|
||||
* 中西药的治疗
|
||||
*/
|
||||
private String heal;
|
||||
|
||||
public Integer getDetailsSymptomsId() {
|
||||
return detailsSymptomsId;
|
||||
}
|
||||
|
||||
public void setDetailsSymptomsId(Integer detailsSymptomsId) {
|
||||
this.detailsSymptomsId = detailsSymptomsId;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getPathology() {
|
||||
return pathology;
|
||||
}
|
||||
|
||||
public void setPathology(String pathology) {
|
||||
this.pathology = pathology;
|
||||
}
|
||||
|
||||
public String getSymptom() {
|
||||
return symptom;
|
||||
}
|
||||
|
||||
public void setSymptom(String symptom) {
|
||||
this.symptom = symptom;
|
||||
}
|
||||
|
||||
public String getProsCons() {
|
||||
return prosCons;
|
||||
}
|
||||
|
||||
public void setProsCons(String prosCons) {
|
||||
this.prosCons = prosCons;
|
||||
}
|
||||
|
||||
public String getHeal() {
|
||||
return heal;
|
||||
}
|
||||
|
||||
public void setHeal(String heal) {
|
||||
this.heal = heal;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,74 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 患者评价医生问诊表
|
||||
*/
|
||||
public class PatientEvaluator {
|
||||
|
||||
/**
|
||||
* 患者评价医生问诊id
|
||||
*/
|
||||
private Integer patientEvaluatorId;
|
||||
|
||||
/**
|
||||
* 患者评论id
|
||||
*/
|
||||
private Integer patientId;
|
||||
|
||||
/**
|
||||
* 医生注册信息id
|
||||
*/
|
||||
private Integer registrationInformationId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
private String commentContent;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
private Date commentTime;
|
||||
|
||||
public Integer getPatientEvaluatorId() {
|
||||
return patientEvaluatorId;
|
||||
}
|
||||
|
||||
public void setPatientEvaluatorId(Integer patientEvaluatorId) {
|
||||
this.patientEvaluatorId = patientEvaluatorId;
|
||||
}
|
||||
|
||||
public Integer getPatientId() {
|
||||
return patientId;
|
||||
}
|
||||
|
||||
public void setPatientId(Integer patientId) {
|
||||
this.patientId = patientId;
|
||||
}
|
||||
|
||||
public Integer getRegistrationInformationId() {
|
||||
return registrationInformationId;
|
||||
}
|
||||
|
||||
public void setRegistrationInformationId(Integer registrationInformationId) {
|
||||
this.registrationInformationId = registrationInformationId;
|
||||
}
|
||||
|
||||
public String getCommentContent() {
|
||||
return commentContent;
|
||||
}
|
||||
|
||||
public void setCommentContent(String commentContent) {
|
||||
this.commentContent = commentContent;
|
||||
}
|
||||
|
||||
public Date getCommentTime() {
|
||||
return commentTime;
|
||||
}
|
||||
|
||||
public void setCommentTime(Date commentTime) {
|
||||
this.commentTime = commentTime;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 医生职称表
|
||||
*/
|
||||
public class ProfessionalTitleDoctor {
|
||||
|
||||
/**
|
||||
* 医生职称id
|
||||
*/
|
||||
private Integer professionalTitleDoctorId;
|
||||
|
||||
/**
|
||||
* 医生职称名称
|
||||
*/
|
||||
private String professionalTitleDoctorName;
|
||||
|
||||
public Integer getProfessionalTitleDoctorId() {
|
||||
return professionalTitleDoctorId;
|
||||
}
|
||||
|
||||
public void setProfessionalTitleDoctorId(Integer professionalTitleDoctorId) {
|
||||
this.professionalTitleDoctorId = professionalTitleDoctorId;
|
||||
}
|
||||
|
||||
public String getProfessionalTitleDoctorName() {
|
||||
return professionalTitleDoctorName;
|
||||
}
|
||||
|
||||
public void setProfessionalTitleDoctorName(String professionalTitleDoctorName) {
|
||||
this.professionalTitleDoctorName = professionalTitleDoctorName;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,88 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 充值+提现的记录表
|
||||
*/
|
||||
public class RechargeWithdrawCash {
|
||||
|
||||
/**
|
||||
* 充值+提现id
|
||||
*/
|
||||
private Integer rechargeWithdrawCashId;
|
||||
|
||||
/**
|
||||
* 充值+提现用户id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 充值+提现金额
|
||||
*/
|
||||
private BigDecimal money;
|
||||
|
||||
/**
|
||||
* 充值+提现时间
|
||||
*/
|
||||
private Date time;
|
||||
|
||||
/**
|
||||
* 状态:1:提现 2:充值+签到
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 用户的实名认证和银行卡id
|
||||
*/
|
||||
private Integer certifiedBankCardId;
|
||||
|
||||
public Integer getRechargeWithdrawCashId() {
|
||||
return rechargeWithdrawCashId;
|
||||
}
|
||||
|
||||
public void setRechargeWithdrawCashId(Integer rechargeWithdrawCashId) {
|
||||
this.rechargeWithdrawCashId = rechargeWithdrawCashId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public BigDecimal getMoney() {
|
||||
return money;
|
||||
}
|
||||
|
||||
public void setMoney(BigDecimal money) {
|
||||
this.money = money;
|
||||
}
|
||||
|
||||
public Date getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(Date time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getCertifiedBankCardId() {
|
||||
return certifiedBankCardId;
|
||||
}
|
||||
|
||||
public void setCertifiedBankCardId(Integer certifiedBankCardId) {
|
||||
this.certifiedBankCardId = certifiedBankCardId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,166 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 医生注册信息表
|
||||
*/
|
||||
public class RegistrationInformation {
|
||||
|
||||
/**
|
||||
* 医生注册信息id
|
||||
*/
|
||||
private Integer registrationInformationId;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
private String realName;
|
||||
|
||||
/**
|
||||
* 所属医院
|
||||
*/
|
||||
private String affiliatedHospital;
|
||||
|
||||
/**
|
||||
* 医生科室id
|
||||
*/
|
||||
private Integer medicalDepartmentId;
|
||||
|
||||
/**
|
||||
* 医生职称id
|
||||
*/
|
||||
private Integer professionalTitleDoctorId;
|
||||
|
||||
/**
|
||||
* 个人简历
|
||||
*/
|
||||
private String personalResume;
|
||||
|
||||
/**
|
||||
* 擅长领域
|
||||
*/
|
||||
private String areaExpertise;
|
||||
|
||||
/**
|
||||
* 注册时间
|
||||
*/
|
||||
private Date registrationTime;
|
||||
|
||||
/**
|
||||
* 服务患者次数
|
||||
*/
|
||||
private String numberPatientsServed;
|
||||
|
||||
/**
|
||||
* 咨询价格
|
||||
*/
|
||||
private BigDecimal consultingPrice;
|
||||
|
||||
/**
|
||||
* 审核状态:1:待审核2:审核通过3:已驳回
|
||||
*/
|
||||
private Integer registrationInformationExamineStatus;
|
||||
|
||||
/**
|
||||
* 医生的状态:1:在线2:离线
|
||||
*/
|
||||
private Integer registrationInformationMedicStatus;
|
||||
|
||||
public Integer getRegistrationInformationId() {
|
||||
return registrationInformationId;
|
||||
}
|
||||
|
||||
public void setRegistrationInformationId(Integer registrationInformationId) {
|
||||
this.registrationInformationId = registrationInformationId;
|
||||
}
|
||||
|
||||
public String getRealName() {
|
||||
return realName;
|
||||
}
|
||||
|
||||
public void setRealName(String realName) {
|
||||
this.realName = realName;
|
||||
}
|
||||
|
||||
public String getAffiliatedHospital() {
|
||||
return affiliatedHospital;
|
||||
}
|
||||
|
||||
public void setAffiliatedHospital(String affiliatedHospital) {
|
||||
this.affiliatedHospital = affiliatedHospital;
|
||||
}
|
||||
|
||||
public Integer getMedicalDepartmentId() {
|
||||
return medicalDepartmentId;
|
||||
}
|
||||
|
||||
public void setMedicalDepartmentId(Integer medicalDepartmentId) {
|
||||
this.medicalDepartmentId = medicalDepartmentId;
|
||||
}
|
||||
|
||||
public Integer getProfessionalTitleDoctorId() {
|
||||
return professionalTitleDoctorId;
|
||||
}
|
||||
|
||||
public void setProfessionalTitleDoctorId(Integer professionalTitleDoctorId) {
|
||||
this.professionalTitleDoctorId = professionalTitleDoctorId;
|
||||
}
|
||||
|
||||
public String getPersonalResume() {
|
||||
return personalResume;
|
||||
}
|
||||
|
||||
public void setPersonalResume(String personalResume) {
|
||||
this.personalResume = personalResume;
|
||||
}
|
||||
|
||||
public String getAreaExpertise() {
|
||||
return areaExpertise;
|
||||
}
|
||||
|
||||
public void setAreaExpertise(String areaExpertise) {
|
||||
this.areaExpertise = areaExpertise;
|
||||
}
|
||||
|
||||
public Date getRegistrationTime() {
|
||||
return registrationTime;
|
||||
}
|
||||
|
||||
public void setRegistrationTime(Date registrationTime) {
|
||||
this.registrationTime = registrationTime;
|
||||
}
|
||||
|
||||
public String getNumberPatientsServed() {
|
||||
return numberPatientsServed;
|
||||
}
|
||||
|
||||
public void setNumberPatientsServed(String numberPatientsServed) {
|
||||
this.numberPatientsServed = numberPatientsServed;
|
||||
}
|
||||
|
||||
public BigDecimal getConsultingPrice() {
|
||||
return consultingPrice;
|
||||
}
|
||||
|
||||
public void setConsultingPrice(BigDecimal consultingPrice) {
|
||||
this.consultingPrice = consultingPrice;
|
||||
}
|
||||
|
||||
public Integer getRegistrationInformationExamineStatus() {
|
||||
return registrationInformationExamineStatus;
|
||||
}
|
||||
|
||||
public void setRegistrationInformationExamineStatus(Integer registrationInformationExamineStatus) {
|
||||
this.registrationInformationExamineStatus = registrationInformationExamineStatus;
|
||||
}
|
||||
|
||||
public Integer getRegistrationInformationMedicStatus() {
|
||||
return registrationInformationMedicStatus;
|
||||
}
|
||||
|
||||
public void setRegistrationInformationMedicStatus(Integer registrationInformationMedicStatus) {
|
||||
this.registrationInformationMedicStatus = registrationInformationMedicStatus;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 设置自动回复
|
||||
*/
|
||||
public class SetAutoReply {
|
||||
|
||||
/**
|
||||
* 设置自动回复id
|
||||
*/
|
||||
private Integer setAutoReplyId;
|
||||
|
||||
/**
|
||||
* 医生注册信息id
|
||||
*/
|
||||
private Integer registrationInformationId;
|
||||
|
||||
/**
|
||||
* 自动回复id
|
||||
*/
|
||||
private Integer automaticResponseId;
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 签到表
|
||||
*/
|
||||
public class Sign {
|
||||
|
||||
/**
|
||||
* 签到id
|
||||
*/
|
||||
private Integer signId;
|
||||
|
||||
/**
|
||||
* 签到状态: 1、未签到 2、已签到
|
||||
*/
|
||||
private Integer signStatus;
|
||||
|
||||
/**
|
||||
* 是否首发病友圈:1、未首发 2、已首发
|
||||
*/
|
||||
private Integer firstPatientCircle;
|
||||
|
||||
/**
|
||||
* 是否病友圈首评:1、未评论 2、已评论
|
||||
*/
|
||||
private Integer firstReviewPatientCircle;
|
||||
|
||||
/**
|
||||
* 是否完善信息:1、未完善 2、已完善
|
||||
*/
|
||||
private Integer perfectInformation;
|
||||
|
||||
/**
|
||||
* 是否参与健康评测:1、未参与 2、参与
|
||||
*/
|
||||
private Integer healthEvaluation;
|
||||
|
||||
/**
|
||||
* 用户id: 患者、医生都可以
|
||||
*/
|
||||
private Integer userId;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
/**
|
||||
* 常见病症+常见药品表
|
||||
*/
|
||||
public class SymptomsDrugs {
|
||||
|
||||
/**
|
||||
* 常见病症+常见药品id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 与id关联
|
||||
*/
|
||||
private Integer pid;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(Integer pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,74 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 标题表
|
||||
*/
|
||||
public class Title {
|
||||
|
||||
/**
|
||||
* 标题id
|
||||
*/
|
||||
private Integer titleId;
|
||||
|
||||
/**
|
||||
* 标题名称
|
||||
*/
|
||||
private String titleName;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 发布时间
|
||||
*/
|
||||
private Date releaseTime;
|
||||
|
||||
/**
|
||||
* 发布作者名称
|
||||
*/
|
||||
private String publishAuthorName;
|
||||
|
||||
public Integer getTitleId() {
|
||||
return titleId;
|
||||
}
|
||||
|
||||
public void setTitleId(Integer titleId) {
|
||||
this.titleId = titleId;
|
||||
}
|
||||
|
||||
public String getTitleName() {
|
||||
return titleName;
|
||||
}
|
||||
|
||||
public void setTitleName(String titleName) {
|
||||
this.titleName = titleName;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public Date getReleaseTime() {
|
||||
return releaseTime;
|
||||
}
|
||||
|
||||
public void setReleaseTime(Date releaseTime) {
|
||||
this.releaseTime = releaseTime;
|
||||
}
|
||||
|
||||
public String getPublishAuthorName() {
|
||||
return publishAuthorName;
|
||||
}
|
||||
|
||||
public void setPublishAuthorName(String publishAuthorName) {
|
||||
this.publishAuthorName = publishAuthorName;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户表
|
||||
*/
|
||||
public class User {
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 用户密码
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
private String userEmail;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String userPhone;
|
||||
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
private String userAvatar;
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
private String userSex;
|
||||
|
||||
/**
|
||||
* 体征
|
||||
*/
|
||||
private String userSign;
|
||||
|
||||
/**
|
||||
* 注册时间
|
||||
*/
|
||||
private Date registrationTime;
|
||||
|
||||
/**
|
||||
* 绑定微信状态 1:未绑定 2:已绑定
|
||||
*/
|
||||
private Integer bindWechatStatus;
|
||||
|
||||
/**
|
||||
* 实名认证状态 1:未绑定 2:已绑定
|
||||
*/
|
||||
private Integer realNameAuthenticationStatus;
|
||||
|
||||
/**
|
||||
* 绑定银行卡状态 1:未绑定 2:已绑定
|
||||
*/
|
||||
private Integer bindBankCardStatus;
|
||||
|
||||
/**
|
||||
* 余额
|
||||
*/
|
||||
private BigDecimal userMoney;
|
||||
|
||||
/**
|
||||
* 余额
|
||||
*/
|
||||
private String invitationCode;
|
||||
}
|
|
@ -0,0 +1,60 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
|
||||
/**
|
||||
* 视频表
|
||||
*/
|
||||
public class Video {
|
||||
|
||||
/**
|
||||
* 视频id
|
||||
*/
|
||||
private Integer videoId;
|
||||
|
||||
/**
|
||||
* 视频标题
|
||||
*/
|
||||
private String videoTitle;
|
||||
|
||||
/**
|
||||
* 视频详情
|
||||
*/
|
||||
private String videoDetails;
|
||||
|
||||
/**
|
||||
* 视频路径
|
||||
*/
|
||||
private String videoPath;
|
||||
|
||||
public Integer getVideoId() {
|
||||
return videoId;
|
||||
}
|
||||
|
||||
public void setVideoId(Integer videoId) {
|
||||
this.videoId = videoId;
|
||||
}
|
||||
|
||||
public String getVideoTitle() {
|
||||
return videoTitle;
|
||||
}
|
||||
|
||||
public void setVideoTitle(String videoTitle) {
|
||||
this.videoTitle = videoTitle;
|
||||
}
|
||||
|
||||
public String getVideoDetails() {
|
||||
return videoDetails;
|
||||
}
|
||||
|
||||
public void setVideoDetails(String videoDetails) {
|
||||
this.videoDetails = videoDetails;
|
||||
}
|
||||
|
||||
public String getVideoPath() {
|
||||
return videoPath;
|
||||
}
|
||||
|
||||
public void setVideoPath(String videoPath) {
|
||||
this.videoPath = videoPath;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,74 @@
|
|||
package com.four.patient.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 视频评论表
|
||||
*/
|
||||
public class VideoReview {
|
||||
|
||||
/**
|
||||
* 视频评论id
|
||||
*/
|
||||
private Integer videoReviewId;
|
||||
|
||||
/**
|
||||
* 视频id
|
||||
*/
|
||||
private Integer videoId;
|
||||
|
||||
/**
|
||||
* 评论人id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 评论时间
|
||||
*/
|
||||
private Date commentTime;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
private String commentContent;
|
||||
|
||||
public Integer getVideoReviewId() {
|
||||
return videoReviewId;
|
||||
}
|
||||
|
||||
public void setVideoReviewId(Integer videoReviewId) {
|
||||
this.videoReviewId = videoReviewId;
|
||||
}
|
||||
|
||||
public Integer getVideoId() {
|
||||
return videoId;
|
||||
}
|
||||
|
||||
public void setVideoId(Integer videoId) {
|
||||
this.videoId = videoId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Date getCommentTime() {
|
||||
return commentTime;
|
||||
}
|
||||
|
||||
public void setCommentTime(Date commentTime) {
|
||||
this.commentTime = commentTime;
|
||||
}
|
||||
|
||||
public String getCommentContent() {
|
||||
return commentContent;
|
||||
}
|
||||
|
||||
public void setCommentContent(String commentContent) {
|
||||
this.commentContent = commentContent;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
Spring Boot Version: ${spring-boot.version}
|
||||
Spring Application Name: ${spring.application.name}
|
||||
_ _
|
||||
(_) | |
|
||||
_ __ _ _ ___ _ _ _ ______ ___ _ _ ___ | |_ ___ _ __ ___
|
||||
| '__|| | | | / _ \ | | | || ||______|/ __|| | | |/ __|| __| / _ \| '_ ` _ \
|
||||
| | | |_| || (_) || |_| || | \__ \| |_| |\__ \| |_ | __/| | | | | |
|
||||
|_| \__,_| \___/ \__, ||_| |___/ \__, ||___/ \__| \___||_| |_| |_|
|
||||
__/ | __/ |
|
||||
|___/ |___/
|
|
@ -0,0 +1,25 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 9209
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
application:
|
||||
# 应用名称
|
||||
name: four-patient
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 101.34.252.165:8848
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 101.34.252.165:8848
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration scan="true" scanPeriod="60 seconds" debug="false">
|
||||
<!-- 日志存放路径 -->
|
||||
<property name="log.path" value="logs/dimensional-health-patient" />
|
||||
<!-- 日志输出格式 -->
|
||||
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
|
||||
|
||||
<!-- 控制台输出 -->
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>${log.pattern}</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- 系统日志输出 -->
|
||||
<appender name="file_info" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/info.log</file>
|
||||
<!-- 循环政策:基于时间创建日志文件 -->
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<!-- 日志文件名格式 -->
|
||||
<fileNamePattern>${log.path}/info.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<!-- 日志最大的历史 60天 -->
|
||||
<maxHistory>60</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>${log.pattern}</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.LevelFilter">
|
||||
<!-- 过滤的级别 -->
|
||||
<level>INFO</level>
|
||||
<!-- 匹配时的操作:接收(记录) -->
|
||||
<onMatch>ACCEPT</onMatch>
|
||||
<!-- 不匹配时的操作:拒绝(不记录) -->
|
||||
<onMismatch>DENY</onMismatch>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="file_error" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/error.log</file>
|
||||
<!-- 循环政策:基于时间创建日志文件 -->
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<!-- 日志文件名格式 -->
|
||||
<fileNamePattern>${log.path}/error.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<!-- 日志最大的历史 60天 -->
|
||||
<maxHistory>60</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>${log.pattern}</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.LevelFilter">
|
||||
<!-- 过滤的级别 -->
|
||||
<level>ERROR</level>
|
||||
<!-- 匹配时的操作:接收(记录) -->
|
||||
<onMatch>ACCEPT</onMatch>
|
||||
<!-- 不匹配时的操作:拒绝(不记录) -->
|
||||
<onMismatch>DENY</onMismatch>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<!-- 系统模块日志级别控制 -->
|
||||
<logger name="com.four" level="info" />
|
||||
<!-- Spring日志级别控制 -->
|
||||
<logger name="org.springframework" level="warn" />
|
||||
|
||||
<root level="info">
|
||||
<appender-ref ref="console" />
|
||||
</root>
|
||||
|
||||
<!--系统操作日志-->
|
||||
<root level="info">
|
||||
<appender-ref ref="file_info" />
|
||||
<appender-ref ref="file_error" />
|
||||
</root>
|
||||
</configuration>
|
Loading…
Reference in New Issue