Max

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Max(val value: Long)

Validates that the numeric property value is at most value.

Properties

Link copied to clipboard
val value: Long

the maximum allowed value (inclusive)