package org.springblade.yeePay.entity.saas;

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;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("公众号配置查询")
public class WechatConfigQueryDto {

	@NotBlank
	@ApiModelProperty(value = "发起方商户编号", required = true)
	String parentMerchantNo;

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

	@ApiModelProperty(value = "appId类型（OFFICIAL_ACCOUNT:公众号；MINI_PROGRAM:小程序）")
	YeepayApiConstant.appIdType appIdType;
}
