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;

@Data
@Builder
@ApiModel("查询订单入参")
@NoArgsConstructor
@AllArgsConstructor
public class TradeOrderQueryDto {

	@NotBlank
	@ApiModelProperty(value = "发起方商户编号。与交易下单传入的保持一致", required = true)
	private String parentMerchantNo;

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

	@NotBlank
	@ApiModelProperty(value = "交易下单传入的商户收款请求号。\n" +
		"(合单收款场景请传入子单的商户收款请求号)", required = true)
	private String orderId;
}
