package com.bonus.sharedstation.app.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 理疗预约信息表(TherapyAppointments)实体类
 *
 * @author makejava
 * @since 2024-12-10 10:42:48
 */
@Data
@TableName("yz_therapy_appointments")
public class TherapyAppointments implements Serializable {
    private static final long serialVersionUID = 776088193452399480L;

    private Integer id;

    /**
     * 预约人 id
     */
    private String userId;
    /**
     * 理疗项目
     */
    private String therapyProject;
    /**
     * 项目价格
     */
    private Double projectPrice;
    /**
     * 项目单位
     */
    private String projectUnit;
    /**
     * 预约时间段
     */
    private String appointmentTime;
    /**
     * 预约日期
     */
//    @JsonFormat(pattern = "yyyy-MM-dd ",timezone="GMT+8")
    private Date appointmentDate;
    /**
     * 园区位置
     */
    private String parkLocation;
    /**
     * 预约人姓名
     */
    private String patientName;
    /**
     * 手机号
     */
    private String phoneNumber;
    /**
     * 预约状态，1表示已完成，0表示未完成 2 表示已经取消
     */
    private String appointmentStatus;
    /**
     * 备注（200字以内）
     */
    private String remarks;


    /**
     * 名流返回状态 如果成功,就 新增 ,不成功不新增
     */
    @TableField(exist = false)
    private String mlReturnStatus;


    /**
     * 预约状态
     */
    private String status;

    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updatedTime;
    /**
     * 修改人
     */
    private String updatedBy;
    /**
     * 逻辑删除标识，1表示已删除，0表示未删除
     */
    private String isDeleted;

    private Integer tenantId;


    private String orderId;

    private String custId;

    @TableField("order_pay_info")
    private String orderPayInfo;

    /**
     * 时间段 字典配置
     */
    private String timeSlot;
    @TableField(exist = false)
    private String reservationContent;

    @Override
    public String toString() {
        return "TherapyAppointments{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", therapyProject='" + therapyProject + '\'' +
                ", projectPrice=" + projectPrice +
                ", projectUnit='" + projectUnit + '\'' +
                ", appointmentTime='" + appointmentTime + '\'' +
                ", appointmentDate=" + appointmentDate +
                ", parkLocation='" + parkLocation + '\'' +
                ", patientName='" + patientName + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", appointmentStatus='" + appointmentStatus + '\'' +
                ", remarks='" + remarks + '\'' +
                ", mlReturnStatus='" + mlReturnStatus + '\'' +
                ", status='" + status + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", isDeleted='" + isDeleted + '\'' +
                ", tenantId=" + tenantId +
                ", orderId='" + orderId + '\'' +
                ", timeSlot='" + timeSlot + '\'' +
                ", custId='" + custId + '\'' +
                ", orderPayInfo='" + orderPayInfo + '\'' +
                '}';
    }
}

