123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- 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;
- 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;
- }
- }
|