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

    @Schema(description = "来源ID", example = "6679")
    private Long sourceId;

    @Schema(description = "来源类型，1：来访预约 2：来访登记", example = "1")
    private Integer sourceType;

    @Schema(description = "客户名称", example = "赵六")
    private String customerName;

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

    @Schema(description = "回访办理人")
    private String returnVisitor;

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

    @Schema(description = "回访内容")
    private String content;

    @Schema(description = "回访状态", example = "1")
    private Integer status;

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

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

}