package com.zhongshu.card.client.model.visitor;

import com.zhongshu.card.client.type.visitor.VisitorApplyType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @author TRX
 * @date 2025/2/11
 */
@Data
public class VisitorMainParam {

    @Schema(description = "数据id")
    private String id;

    @Schema(description = "预约类型/申请方式")
    private VisitorApplyType applyType = VisitorApplyType.Apply;

    @Schema(description = "邀请用户userId")
    private String inviteUserId;

    @Schema(description = "组件id")
    private String sceneComponentId;

    @Schema(description = "被访人，也是审核人的用户userId")
    private String visitorUserId;

    @Schema(description = "微信的openId")
    private String openId;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "访客类型")
    private String visitorType;

    @Schema(description = "人脸url")
    private String faceUrl;

    @Schema(description = "身份证号码")
    private String cardNumber;

    @Schema(description = "车牌号码")
    private String carNo;

    @Schema(description = "到访开始时间")
    private Long startTime;

    @Schema(description = "访问时间长")
    private Long minutes;

    @Schema(description = "到访部门")
    private String departments = "";

    @Schema(description = "到访单位")
    private String unit;

    @Schema(description = "说明")
    private String visitorRemark;

    @Schema(description = "到访地址")
    private String visitAddress;

    private Map<String, Object> meatInfo = new HashMap<>();
}
