package cn.iocoder.yudao.module.system.controller.admin.reservation.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 长者来访预约分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppointmentPageReqVO extends PageParam {

    @Schema(description = "预约目的")
    private Integer appointmentPurpose;

    @Schema(description = "预约人")
    private String appointedBy;

    @Schema(description = "预约日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] appointmentDate;

    @Schema(description = "预约形式")
    private Integer appointmentForm;

    @Schema(description = "预约人性别")
    private Integer gender;

    @Schema(description = "预约人联系方式")
    private String phone;

    @Schema(description = "预约说明")
    private String appointmentInstructions;

    @Schema(description = "关系")
    private Integer relation;

    @Schema(description = "床位ID", example = "7873")
    private Long bedId;

    @Schema(description = "长者名称", example = "张三")
    private String elderName;

    @Schema(description = "状态,0：待接待 1：已接待 2：已关闭", example = "1")
    private Integer status;

    @Schema(description = "证件号码")
    private String idNumber;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "系统类型", example = "1")
    private Integer orgType;

    @Schema(description = "销售人员")
    private String salesperson;

    @Schema(description = "来源渠道")
    private Integer sourceChannel;
}