package com.yc.ship.module.trade.api.contract.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 合同平台申请合同-游客信息-游客
 *
 * &#064;Author: qsl
 * @Date: 2025/03/20/16:49
 * &#064;Description:
 */
@Schema(description = "游客信息-游客")
@Data
public class Tourist {

    @Schema(description = "在列表中的显示顺序", example = "true")
    private Integer number;

    @Schema(description = "是否签署人", example = "true")
    private Boolean isSigner;

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

    @Schema(description = "游客性别, 允许值: 男, 女", example = "true")
    private String gender;

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

    @Schema(description = "是否儿童", example = "true")
    private Boolean isChild;

    @Schema(description = "国籍")
    private String nationality;

    @Schema(description = "民族")
    private String race;

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

    @Schema(description = "健康状况")
    private String health;

    @Schema(description = "地址，当游客为签署人时，必填", example = "true")
    private String address;

    @Schema(description = "证件信息", example = "true")
    @JsonProperty("ID")
    private IdCard ID;
}
