package com.yd.csf.feign.dto.appointment;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ApiBeneficiaryInfoFzDto {

    /**
     * 是否法定受益人
     */
    @NotNull(message = "受益人-是否法定受益人不能为空")
    private Integer isLegalBeneficiary;

    /**
     * 受益人列表信息
     */
    private List<ApiBeneficiaryInfoDto> apiBeneficiaryInfoDtoList;
}
