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

import lombok.*;

import java.time.LocalDate;
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;
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 ReservationBedPageReqVO extends PageParam {

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

    @Schema(description = "长者性别")
    private Integer elderSex;

    @Schema(description = "出生日期")
    private LocalDate birthday;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "证件类型", example = "1")
    private Integer idType;

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

    @Schema(description = "证件地址")
    private String certificateAddress;

    @Schema(description = "居住地址")
    private String address;

    @Schema(description = "托养人姓名", example = "王五")
    private String relativeName;

    @Schema(description = "托养人手机号")
    private String relativePhone;

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

    @Schema(description = "预约入住时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate reservationCheckInTime;

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

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

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

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

    @Schema(description = "状态", example = "2")
    private Integer status;

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

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

    private Integer payStatus;

}