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 DivideCompleteDto {
	@NotBlank
	@ApiModelProperty(value = "发起方商户编号。与交易下单传入的保持一致", required = true)
	private String parentMerchantNo;

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

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

	@NotBlank
	@ApiModelProperty(value = "易宝收款订单号", required = true)
	private String uniqueOrderNo;

	@NotBlank
	@ApiModelProperty(value = "商户分账请求号，在商户系统内部唯一（申请分账、完结分账应使用不同的商户分账请求号），同一分账请求号多次请求等同一次", required = true)
	private String divideRequestId;

	@ApiModelProperty(value = "分账完结的原因描述")
	private String divideDetailDesc;
}
