first commit
This commit is contained in:
55
base44/entities/Budget.jsonc
Normal file
55
base44/entities/Budget.jsonc
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"name": "Budget",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hub_name": {
|
||||
"type": "string",
|
||||
"description": "Name of the budget hub"
|
||||
},
|
||||
"cost_center": {
|
||||
"type": "string",
|
||||
"description": "Cost center code this budget maps to"
|
||||
},
|
||||
"amount": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"description": "Budget amount for the period"
|
||||
},
|
||||
"frequency": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Daily",
|
||||
"Weekly",
|
||||
"Monthly"
|
||||
],
|
||||
"default": "Monthly",
|
||||
"description": "Budget periodicity"
|
||||
},
|
||||
"alert_enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Whether usage alerts are on"
|
||||
},
|
||||
"alert_threshold": {
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": 80,
|
||||
"description": "Utilization percentage that triggers an alert"
|
||||
},
|
||||
"business_id": {
|
||||
"type": "string",
|
||||
"description": "Client business ID this budget belongs to"
|
||||
},
|
||||
"business_name": {
|
||||
"type": "string",
|
||||
"description": "Client business name"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"hub_name",
|
||||
"cost_center",
|
||||
"amount",
|
||||
"frequency"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user