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

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class ApiPolicyReceiptAddRequest {

    /**
     * 保单号
     */
    @NotBlank(message = "保单号不能为空")
    private String policyNo;

    /**
     * 回执日期
     */
    @NotNull(message = "回执日期不能为空")
    private LocalDateTime receiptDate;

}
