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

import com.zhongshu.card.client.openApi.base.ProjectCodeParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 添加访客的参数
 * @author TRX
 * @date 2025/3/10
 */
@Data
public class VisitorMainOpenParam extends ProjectCodeParam {

    @Schema(description = "openAPI管理数据ID")
    private String busId;

    @Schema(description = "临时用户id")
    private String tempUserId;

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

    @Schema(description = "微信的openId/所属分组")
    private String openId;

    //------------------访客业务数据 start---------------------
    @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;

    @Schema(description = "扩展信息")
    private Map<String, Object> meatInfo = new HashMap<>();

}
