123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- package com.yihu.wlyy.entity;
- import com.fasterxml.jackson.annotation.JsonFormat;
- 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;
- }
- }
|