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 RegistrationPageReqVO extends PageParam {

    @Schema(description = "来访目的")
    private Integer purposeVisit;

    @Schema(description = "来访时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] visitingTime;

    @Schema(description = "访客姓名", example = "芋艿")
    private String visitorName;

    @Schema(description = "访客电话")
    private String phone;

    @Schema(description = "来访携带物品")
    private String belongings;

    @Schema(description = "信息渠道")
    private Integer informationChannel;

    @Schema(description = "来访说明")
    private String instructions;

    @Schema(description = "离开时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] leaveTime;

    @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 elderName;

}