The options for a NumericId:

  • max?: number - maximum allowed number

Hierarchy

Properties

Properties

max?: number

the upper bound of the interval the value has to be in

name?: string

the name of the ValueObject to identify in a possible ErrorMessage.

  • eg: 'MealPlan.price'

Generated using TypeDoc