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 javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel("电子回单-下载入参")
public class ReceiptGetDto {

	@NotBlank
	@ApiModelProperty(value = "发起方商户编号（标准商户收付款方案中此参数与商编一致，平台商户收付款方案中此参数为平台商商户编号）", required = true)
	private String parentMerchantNo;

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

	/**
	 * 可选项如下:
	 * TRANSFER:企业账户转账
	 * PAY:企业付款
	 * RECHARGE:企业账户充值
	 */
	@NotBlank
	@ApiModelProperty(value = "交易类型", required = true)
	private YeepayApiConstant.tradeType tradeType;
}
