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

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

import javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel("结算记录查询入参")
public class SettleRecordsQueryDto {
	@NotBlank
	@ApiModelProperty(value = "发起方商户编号", required = true)
	private String parentMerchantNo;

	@NotBlank
	@ApiModelProperty(value = "商户商编", required = true)
	private String merchantNo;

	@ApiModelProperty(value = "结算请求号(结算请求号与结算申请起止时间二选一必填)")
	private String settleRequestNo;

	@ApiModelProperty(value = "结算申请起始时间（结算申请起止时间与结算请求号二选一必填）")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private String settleRequestBeginTime;

	@ApiModelProperty(value = "结算申请截止时间（结算申请起止时间与结算请求号二选一必填）")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private String settleRequestEndTime;

}
