package com.jianshui.income.domain.dto.elephant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

@ApiModel( description ="发票认证接口入参主表")
@Data
public class ApplyLegalizePrimaryDTO {

    @ApiModelProperty(value = "总条数")
    private int  FHHS;

    @ApiModelProperty(value = "批次号（32 位代表本次请求的批次，下次查询发票认证状态时，也需要此值）")
    @Size(min = 0, max = 32, message = "批次号长度不能超过32个字符")
    @NotEmpty
    private String PCH;

    @ApiModelProperty(value = "购方税号")
    @NotEmpty
    @Size(min = 0, max = 18, message = "购方税号长度不能超过18个字符")
    private String GMFSBH;

    @ApiModelProperty(value = "认证发票信息表")
    private List<ApplyLegalizeChildDTO> FPZHXX;


}
