Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
88 lines
2.3 KiB
JSON
88 lines
2.3 KiB
JSON
{
|
|
"fields": {
|
|
"code": {
|
|
"type": "varchar",
|
|
"maxLength": 3,
|
|
"required": true,
|
|
"readOnly": true,
|
|
"index": true
|
|
},
|
|
"status": {
|
|
"type": "enum",
|
|
"options": [
|
|
"Active",
|
|
"Inactive"
|
|
],
|
|
"default": "Active",
|
|
"maxLength": 8,
|
|
"style": {
|
|
"Inactive": "info"
|
|
}
|
|
},
|
|
"label": {
|
|
"type": "varchar",
|
|
"notStorable": true,
|
|
"readOnly": true,
|
|
"orderDisabled": true,
|
|
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\Label"
|
|
},
|
|
"symbol": {
|
|
"type": "varchar",
|
|
"notStorable": true,
|
|
"readOnly": true,
|
|
"orderDisabled": true,
|
|
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\Symbol"
|
|
},
|
|
"rateDate": {
|
|
"type": "date",
|
|
"readOnly": true,
|
|
"notStorable": true,
|
|
"orderDisabled": true,
|
|
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\RateDate"
|
|
},
|
|
"rate": {
|
|
"type": "decimal",
|
|
"readOnly": true,
|
|
"notStorable": true,
|
|
"orderDisabled": true,
|
|
"decimalPlaces": 6,
|
|
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\Rate",
|
|
"view": "views/currency-record-rate/fields/rate"
|
|
},
|
|
"isBase": {
|
|
"type": "bool",
|
|
"readOnly": true,
|
|
"notStorable": true,
|
|
"orderDisabled": true,
|
|
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\IsBase"
|
|
}
|
|
},
|
|
"links": {
|
|
"rates": {
|
|
"type": "hasMany",
|
|
"entity": "CurrencyRecordRate",
|
|
"foreign": "record",
|
|
"readOnly": true,
|
|
"orderBy": "date",
|
|
"order": "desc"
|
|
}
|
|
},
|
|
"indexes": {
|
|
"codeDeleteId": {
|
|
"type": "unique",
|
|
"columns": [
|
|
"code",
|
|
"deleteId"
|
|
]
|
|
}
|
|
},
|
|
"deleteId": true,
|
|
"collection": {
|
|
"textFilterFields": [
|
|
"code"
|
|
],
|
|
"orderBy": "code",
|
|
"order": "asc"
|
|
}
|
|
}
|