package com.yd.csf.feign.request.premiumreconciliation;

import com.yd.csf.feign.dto.premiumreconciliation.ApiPremiumReconciliationDto;
import com.yd.csf.feign.dto.premiumremittance.ApiPremiumRemittanceDto;
import lombok.Data;

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

@Data
public class ApiPremiumReconciliationAddRequest {

    /**
     * 保费对账信息
     */
    @Valid
    @NotNull(message = "保费对账信息不能为空")
    private ApiPremiumReconciliationDto apiPremiumReconciliationDto;

    /**
     * 保费对账-汇款记录列表
     */
    @Valid
    private List<ApiPremiumRemittanceDto> apiPremiumRemittanceDtoList;
}
