-
Notifications
You must be signed in to change notification settings - Fork 39
/
refdata.beef-5.yaml
21 lines (20 loc) · 1.27 KB
/
refdata.beef-5.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cosmosType: ICosmos
webApiRoutePrefix: api/v1/ref
refDataType: Guid
autoImplement: Cosmos
entities:
#
# Each of the requred reference data entities defined.
# Use the same Cosmos Container given small volume which helps manage costs.
- { name: OpenStatus, cosmosContainerId: RefData, cosmosValueContainer: true, cosmosModel: Model.OpenStatus, constType: string, dataModel: true,
consts: [
#
# Constant defined (generated within Entity) to avoid hard-coding of value within any corresponding business logic.
{ name: All, text: All (both Open and Closed), value: ALL }
]
}
- { name: ProductCategory, cosmosContainerId: RefData, cosmosValueContainer: true, cosmosModel: Model.ProductCategory, dataModel: true }
- { name: AccountUType, cosmosContainerId: RefData, cosmosValueContainer: true, cosmosModel: Model.AccountUType, dataModel: true }
- { name: MaturityInstructions, cosmosContainerId: RefData, cosmosValueContainer: true, cosmosModel: Model.MaturityInstructions, dataModel: true }
- { name: TransactionType, cosmosContainerId: RefData, cosmosValueContainer: true, cosmosModel: Model.TransactionType, dataModel: true }
- { name: TransactionStatus, cosmosContainerId: RefData, cosmosValueContainer: true, cosmosModel: Model.TransactionStatus, dataModel: true }