package com.czg.account.dto.register;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

public record MerchantRegisterDTO(
        @NotNull(message = "激活时长不能为空")
        @Min(1)
        Integer periodMonth,
        @NotNull(message = "数量不为空")
        @Min(1)
        @Max(10)
        Integer num
) {
}
