|
@@ -0,0 +1,199 @@
|
|
|
+package com.hssx.bms.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
+import java.time.LocalDate;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ *
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author 吴涛涛
|
|
|
+ * @since 2019-10-21
|
|
|
+ */
|
|
|
+public class UserAppointment extends Model<UserAppointment> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID=1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 预约表主键
|
|
|
+ */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 用户id
|
|
|
+ */
|
|
|
+ @TableField("user_id")
|
|
|
+ private Integer userId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 机构id
|
|
|
+ */
|
|
|
+ @TableField("org_id")
|
|
|
+ private Integer orgId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 预约时间
|
|
|
+ */
|
|
|
+ @TableField("appoint_date")
|
|
|
+ private LocalDate appointDate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上午/下午0-上午 1-下午
|
|
|
+ */
|
|
|
+ @TableField("time")
|
|
|
+ private Integer time;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 姓名
|
|
|
+ */
|
|
|
+ @TableField("name")
|
|
|
+ private String name;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 电话
|
|
|
+ */
|
|
|
+ @TableField("mobile")
|
|
|
+ private String mobile;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @TableField("indate")
|
|
|
+ private LocalDateTime indate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 孩子年龄
|
|
|
+ */
|
|
|
+ @TableField("age")
|
|
|
+ private Integer age;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 说明
|
|
|
+ */
|
|
|
+ @TableField("content")
|
|
|
+ private String content;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 状态
|
|
|
+ */
|
|
|
+ @TableField("stage")
|
|
|
+ private Integer stage;
|
|
|
+
|
|
|
+
|
|
|
+ public Integer getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Integer id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getUserId() {
|
|
|
+ return userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserId(Integer userId) {
|
|
|
+ this.userId = userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getOrgId() {
|
|
|
+ return orgId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrgId(Integer orgId) {
|
|
|
+ this.orgId = orgId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDate getAppointDate() {
|
|
|
+ return appointDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAppointDate(LocalDate appointDate) {
|
|
|
+ this.appointDate = appointDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getTime() {
|
|
|
+ return time;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTime(Integer time) {
|
|
|
+ this.time = time;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getMobile() {
|
|
|
+ return mobile;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMobile(String mobile) {
|
|
|
+ this.mobile = mobile;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getIndate() {
|
|
|
+ return indate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIndate(LocalDateTime indate) {
|
|
|
+ this.indate = indate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getAge() {
|
|
|
+ return age;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAge(Integer age) {
|
|
|
+ this.age = age;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getContent() {
|
|
|
+ return content;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContent(String content) {
|
|
|
+ this.content = content;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getStage() {
|
|
|
+ return stage;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStage(Integer stage) {
|
|
|
+ this.stage = stage;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "UserAppointment{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", userId=" + userId +
|
|
|
+ ", orgId=" + orgId +
|
|
|
+ ", appointDate=" + appointDate +
|
|
|
+ ", time=" + time +
|
|
|
+ ", name=" + name +
|
|
|
+ ", mobile=" + mobile +
|
|
|
+ ", indate=" + indate +
|
|
|
+ ", age=" + age +
|
|
|
+ ", content=" + content +
|
|
|
+ ", stage=" + stage +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|