package com.sckw.transport.model.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 服务费预估查询参数
 */
@Data
public class ParkingWalletFeeEstimateQueryParam implements Serializable {

    @Serial
    private static final long serialVersionUID = -5630735374527006854L;

    @NotNull(message = "采购数量不能为空")
    @DecimalMin(value = "0", message = "采购数量不能小于0")
    @Schema(description = "本次采购数量")
    private BigDecimal purchaseQuantity;
}
