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 IdCard {

    @Schema(description = "证件类型，1：身份证，2：士官证，3：港澳通行证，4：护照，5：赴台证，6：回乡证，7：台胞证，8：其他", example = "true")
    @JsonProperty("IDType")
    private String IDType;

    @Schema(description = "证件号码", example = "true")
    @JsonProperty("IDNumber")
    private String IDNumber;

    @Schema(description = "证件有效期自 “yyyy-mm-dd”")
    private String validFrom;

    @Schema(description = "证件有效期止 “yyyy-mm-dd”")
    private String validTo;

    @Schema(description = "备注")
    private String memo;
}
