117 lines
2.0 KiB
Java
117 lines
2.0 KiB
Java
package cn.unizk.entity.po;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import lombok.ToString;
|
|
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* <p>
|
|
* 预约记录表
|
|
* </p>
|
|
*
|
|
* @author niuniu
|
|
* @since 2026-07-01
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@ToString
|
|
@TableName("mobile_appointments")
|
|
public class MobileAppointments implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
/**
|
|
* 预约编号
|
|
*/
|
|
private String appointmentNo;
|
|
|
|
private Integer mobileUserId;
|
|
|
|
/**
|
|
* 医生ID
|
|
*/
|
|
private Long physioId;
|
|
|
|
/**
|
|
* 每日排班表ID
|
|
*/
|
|
private Long dailyScheduleId;
|
|
|
|
/**
|
|
* 患者姓名
|
|
*/
|
|
private String patientName;
|
|
|
|
/**
|
|
* 患者手机号
|
|
*/
|
|
private String patientPhone;
|
|
|
|
/**
|
|
* 患者身份证号
|
|
*/
|
|
private String patientIdCard;
|
|
|
|
/**
|
|
* 就诊日期
|
|
*/
|
|
private LocalDate visitDate;
|
|
|
|
/**
|
|
* 时间段代码
|
|
*/
|
|
private String timeSlotCode;
|
|
|
|
/**
|
|
* 状态:待确认、已确认、已取消、已完成
|
|
*/
|
|
private String status;
|
|
|
|
/**
|
|
* 取消原因
|
|
*/
|
|
private String cancelReason;
|
|
|
|
/**
|
|
* 取消时间
|
|
*/
|
|
private LocalDateTime cancelledAt;
|
|
|
|
private BigDecimal payAmount;
|
|
|
|
/**
|
|
* 0--未支付;1--已支付;2--已退款
|
|
*/
|
|
private Integer payStatus;
|
|
|
|
/**
|
|
* 0--疼痛明显减轻;1--无变化;2--疼痛加重
|
|
*/
|
|
private Integer treatRating;
|
|
|
|
/**
|
|
* 评价内容
|
|
*/
|
|
private String evaluation;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
private String remark;
|
|
|
|
private LocalDateTime createdAt;
|
|
|
|
private LocalDateTime updatedAt;
|
|
}
|