Skip to main content

Primary key

document_id
uuiddefault:"Random UUID"publicrequired
The unique identifier for the currency.

Specific attributes

decimal_digits
decimaldefault:"0"publicrequired
The number of decimal digits typically used with this currency.
Rules: Precision: 2, Scale: 0
description
varcharpublic
A description of the currency.
internal
varcharpublicuniquerequired
The internal code or identifier for the currency.
Rules: Max length: 100 characters
name
varcharpublicrequired
The name of the currency.
Rules: Max length: 100 characters
name_plural
varcharpublicrequired
The plural name of the currency.
Rules: Max length: 100 characters
rounding
decimaldefault:"0"publicrequired
The rounding factor for the currency.
Rules: Precision: 4, Scale: 2
symbol
varcharpublicrequired
The symbol used to represent the currency.
Rules: Max length: 50 characters
symbol_native
varcharpublicrequired
The native symbol used to represent the currency in its country of origin.
Rules: Max length: 50 characters

Tracking attributes

created_at
timestamppublic
The timestamp when the currency was created.
Rules: Precision: 6, with timezone
deleted_at
timestamppublic
The timestamp when the currency was deleted, if applicable.
Rules: Precision: 6, with timezone
is_actived
booleandefault:"true"public
Indicates whether the currency is active.
is_deleted
booleandefault:"false"public
Indicates whether the currency has been deleted.
updated_at
timestamppublic
The timestamp when the currency was last updated.
Rules: Precision: 6, with timezone