package com.xunhong.erp.turbo.api.facade.dto.cmd;


import com.xunhong.erp.turbo.base.dto.Command;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "微信支付")
@EqualsAndHashCode(callSuper = true)
public class WxPayCreateCmd extends Command {

	@Schema(title = "微信openid", requiredMode = Schema.RequiredMode.REQUIRED)
	private String openid;

	@Schema(title = "微信支付单号", requiredMode = Schema.RequiredMode.REQUIRED)
	private String outTradeNo;

	@Schema(title = "微信支付金额", requiredMode = Schema.RequiredMode.REQUIRED)
	private BigDecimal totalFee;

	@Schema(title = "微信支付描述", requiredMode = Schema.RequiredMode.REQUIRED)
	private String description;
}
