package org.springblade.gateway.common_gateway.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author cy-computer
 */
@Data
public class WithdrawDTO {

	/**
	 * 提现人的id
	 */
	@NotNull
	private Long ownerId;

	/**
	 * 用户类型 代理提现，商户提现
	 */
	@NotBlank
	private String ownerType;

	/**
	 * 金额
	 */
	@NotNull
	private BigDecimal price;
	/**
	 * 银行卡id
	 */
	@NotNull
	private Long bankId;

}
