package com.cyksj.model.request;

import lombok.Getter;
import lombok.Setter;

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

/**
 * 项目名: yhlxj
 * 文件名: GoodsWholesaleOrderPayReq
 * 创建者: JavaZou
 * 创建时间:2024/8/26 18:41
 */
@Getter
@Setter
public class GoodsWholesaleOrderPayReq {
	@NotNull
	private Long id;

	private Long userId;

	/**
	 * 数量
	 */
	@NotNull
	@Min(value = 1)
	private Integer num;

	/**
	 * 余额
	 */
	private BigDecimal balance;
}
