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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel("交易回单入参")
public class TradeReceiptDownloadDto {

	@NotBlank
	@ApiModelProperty(value = "商户收款请求号", required = true)
	private String orderId;

	/**
	 * *标准商户收付款方案中此参数与收款商户编号一致；
	 * *平台商户收付款方案中此参数为平台商商户编号；
	 * *服务商解决方案中，①标准商户收款时，该参数为标准商户商编 ②平台商收款或平台商入驻商户收款时，该参数为平台商商编。
	 */
	@NotBlank
	@ApiModelProperty(value = "商户编号", required = true)
	private String parentMerchantNo;

	@NotBlank
	@ApiModelProperty(value = "收款商户商编。单笔收款必传，合单收款场景中上传子单域信息subOrderDetail里的merchantNo", required = true)
	private String merchantNo;

}
