package org.springblade.yeePay.entity.saas.receipt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springblade.yeePay.common.YeepayApiConstant;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel("账户对账单-下载入参")
public class BillDownloadDto {

	@ApiModelProperty(value = "账单日期,不填默认昨日")
	@DateTimeFormat(pattern = "YYYY-MM-dd")
	private String billDate;

	@NotBlank
	@ApiModelProperty(value = "账单类型", required = true)
	private YeepayApiConstant.bizType bizType;
}
