package com.hotwj.platform.operationManagement.hourPackagePurchase.controller.vo;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 学时套餐钱包购买请求
 */
@Data
public class HotHourPackageWalletPurchaseReqVO {

    /**
     * 套餐ID
     */
    @NotNull(message = "套餐ID不能为空")
    private Long packageId;

    /**
     * 购买数量
     */
    @NotNull(message = "购买数量不能为空")
    @Min(value = 1, message = "购买数量必须大于0")
    private Long quantity = 1L;

    /**
     * 备注
     */
    private String remark;
}
