procbay-schema 1.0.171 → 1.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -22
- package/prisma/schema.prisma +4 -5
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2900 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
- package/src/prisma/index.d.ts +286683 -0
- package/src/prisma/index.js +2929 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3820 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2862 -0
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -1,2494 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file exports the `DepartmentBudget` model and its related types.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums.ts"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Model DepartmentBudget
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type DepartmentBudgetModel = runtime.Types.Result.DefaultSelection<Prisma.$DepartmentBudgetPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateDepartmentBudget = {
|
|
22
|
-
_count: DepartmentBudgetCountAggregateOutputType | null
|
|
23
|
-
_avg: DepartmentBudgetAvgAggregateOutputType | null
|
|
24
|
-
_sum: DepartmentBudgetSumAggregateOutputType | null
|
|
25
|
-
_min: DepartmentBudgetMinAggregateOutputType | null
|
|
26
|
-
_max: DepartmentBudgetMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type DepartmentBudgetAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
budget_id: number | null
|
|
32
|
-
department_id: number | null
|
|
33
|
-
initial_allocated_budget: runtime.Decimal | null
|
|
34
|
-
allocated_budget: runtime.Decimal | null
|
|
35
|
-
remaining_budget: runtime.Decimal | null
|
|
36
|
-
created_by: number | null
|
|
37
|
-
updated_by: number | null
|
|
38
|
-
deleted_by: number | null
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type DepartmentBudgetSumAggregateOutputType = {
|
|
42
|
-
id: number | null
|
|
43
|
-
budget_id: number | null
|
|
44
|
-
department_id: number | null
|
|
45
|
-
initial_allocated_budget: runtime.Decimal | null
|
|
46
|
-
allocated_budget: runtime.Decimal | null
|
|
47
|
-
remaining_budget: runtime.Decimal | null
|
|
48
|
-
created_by: number | null
|
|
49
|
-
updated_by: number | null
|
|
50
|
-
deleted_by: number | null
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export type DepartmentBudgetMinAggregateOutputType = {
|
|
54
|
-
id: number | null
|
|
55
|
-
uuid: string | null
|
|
56
|
-
code: string | null
|
|
57
|
-
budget_id: number | null
|
|
58
|
-
department_id: number | null
|
|
59
|
-
initial_allocated_budget: runtime.Decimal | null
|
|
60
|
-
allocated_budget: runtime.Decimal | null
|
|
61
|
-
remaining_budget: runtime.Decimal | null
|
|
62
|
-
fiscal_year: string | null
|
|
63
|
-
notes: string | null
|
|
64
|
-
description: string | null
|
|
65
|
-
created_by: number | null
|
|
66
|
-
created_at: Date | null
|
|
67
|
-
updated_by: number | null
|
|
68
|
-
updated_at: Date | null
|
|
69
|
-
is_deleted: boolean | null
|
|
70
|
-
deleted_by: number | null
|
|
71
|
-
deleted_at: Date | null
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export type DepartmentBudgetMaxAggregateOutputType = {
|
|
75
|
-
id: number | null
|
|
76
|
-
uuid: string | null
|
|
77
|
-
code: string | null
|
|
78
|
-
budget_id: number | null
|
|
79
|
-
department_id: number | null
|
|
80
|
-
initial_allocated_budget: runtime.Decimal | null
|
|
81
|
-
allocated_budget: runtime.Decimal | null
|
|
82
|
-
remaining_budget: runtime.Decimal | null
|
|
83
|
-
fiscal_year: string | null
|
|
84
|
-
notes: string | null
|
|
85
|
-
description: string | null
|
|
86
|
-
created_by: number | null
|
|
87
|
-
created_at: Date | null
|
|
88
|
-
updated_by: number | null
|
|
89
|
-
updated_at: Date | null
|
|
90
|
-
is_deleted: boolean | null
|
|
91
|
-
deleted_by: number | null
|
|
92
|
-
deleted_at: Date | null
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export type DepartmentBudgetCountAggregateOutputType = {
|
|
96
|
-
id: number
|
|
97
|
-
uuid: number
|
|
98
|
-
code: number
|
|
99
|
-
budget_id: number
|
|
100
|
-
department_id: number
|
|
101
|
-
initial_allocated_budget: number
|
|
102
|
-
allocated_budget: number
|
|
103
|
-
remaining_budget: number
|
|
104
|
-
fiscal_year: number
|
|
105
|
-
notes: number
|
|
106
|
-
description: number
|
|
107
|
-
created_by: number
|
|
108
|
-
created_at: number
|
|
109
|
-
updated_by: number
|
|
110
|
-
updated_at: number
|
|
111
|
-
is_deleted: number
|
|
112
|
-
deleted_by: number
|
|
113
|
-
deleted_at: number
|
|
114
|
-
_all: number
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
export type DepartmentBudgetAvgAggregateInputType = {
|
|
119
|
-
id?: true
|
|
120
|
-
budget_id?: true
|
|
121
|
-
department_id?: true
|
|
122
|
-
initial_allocated_budget?: true
|
|
123
|
-
allocated_budget?: true
|
|
124
|
-
remaining_budget?: true
|
|
125
|
-
created_by?: true
|
|
126
|
-
updated_by?: true
|
|
127
|
-
deleted_by?: true
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export type DepartmentBudgetSumAggregateInputType = {
|
|
131
|
-
id?: true
|
|
132
|
-
budget_id?: true
|
|
133
|
-
department_id?: true
|
|
134
|
-
initial_allocated_budget?: true
|
|
135
|
-
allocated_budget?: true
|
|
136
|
-
remaining_budget?: true
|
|
137
|
-
created_by?: true
|
|
138
|
-
updated_by?: true
|
|
139
|
-
deleted_by?: true
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export type DepartmentBudgetMinAggregateInputType = {
|
|
143
|
-
id?: true
|
|
144
|
-
uuid?: true
|
|
145
|
-
code?: true
|
|
146
|
-
budget_id?: true
|
|
147
|
-
department_id?: true
|
|
148
|
-
initial_allocated_budget?: true
|
|
149
|
-
allocated_budget?: true
|
|
150
|
-
remaining_budget?: true
|
|
151
|
-
fiscal_year?: true
|
|
152
|
-
notes?: true
|
|
153
|
-
description?: true
|
|
154
|
-
created_by?: true
|
|
155
|
-
created_at?: true
|
|
156
|
-
updated_by?: true
|
|
157
|
-
updated_at?: true
|
|
158
|
-
is_deleted?: true
|
|
159
|
-
deleted_by?: true
|
|
160
|
-
deleted_at?: true
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export type DepartmentBudgetMaxAggregateInputType = {
|
|
164
|
-
id?: true
|
|
165
|
-
uuid?: true
|
|
166
|
-
code?: true
|
|
167
|
-
budget_id?: true
|
|
168
|
-
department_id?: true
|
|
169
|
-
initial_allocated_budget?: true
|
|
170
|
-
allocated_budget?: true
|
|
171
|
-
remaining_budget?: true
|
|
172
|
-
fiscal_year?: true
|
|
173
|
-
notes?: true
|
|
174
|
-
description?: true
|
|
175
|
-
created_by?: true
|
|
176
|
-
created_at?: true
|
|
177
|
-
updated_by?: true
|
|
178
|
-
updated_at?: true
|
|
179
|
-
is_deleted?: true
|
|
180
|
-
deleted_by?: true
|
|
181
|
-
deleted_at?: true
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
export type DepartmentBudgetCountAggregateInputType = {
|
|
185
|
-
id?: true
|
|
186
|
-
uuid?: true
|
|
187
|
-
code?: true
|
|
188
|
-
budget_id?: true
|
|
189
|
-
department_id?: true
|
|
190
|
-
initial_allocated_budget?: true
|
|
191
|
-
allocated_budget?: true
|
|
192
|
-
remaining_budget?: true
|
|
193
|
-
fiscal_year?: true
|
|
194
|
-
notes?: true
|
|
195
|
-
description?: true
|
|
196
|
-
created_by?: true
|
|
197
|
-
created_at?: true
|
|
198
|
-
updated_by?: true
|
|
199
|
-
updated_at?: true
|
|
200
|
-
is_deleted?: true
|
|
201
|
-
deleted_by?: true
|
|
202
|
-
deleted_at?: true
|
|
203
|
-
_all?: true
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
export type DepartmentBudgetAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
207
|
-
/**
|
|
208
|
-
* Filter which DepartmentBudget to aggregate.
|
|
209
|
-
*/
|
|
210
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
211
|
-
/**
|
|
212
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
213
|
-
*
|
|
214
|
-
* Determine the order of DepartmentBudgets to fetch.
|
|
215
|
-
*/
|
|
216
|
-
orderBy?: Prisma.DepartmentBudgetOrderByWithRelationInput | Prisma.DepartmentBudgetOrderByWithRelationInput[]
|
|
217
|
-
/**
|
|
218
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
219
|
-
*
|
|
220
|
-
* Sets the start position
|
|
221
|
-
*/
|
|
222
|
-
cursor?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
223
|
-
/**
|
|
224
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
225
|
-
*
|
|
226
|
-
* Take `±n` DepartmentBudgets from the position of the cursor.
|
|
227
|
-
*/
|
|
228
|
-
take?: number
|
|
229
|
-
/**
|
|
230
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
231
|
-
*
|
|
232
|
-
* Skip the first `n` DepartmentBudgets.
|
|
233
|
-
*/
|
|
234
|
-
skip?: number
|
|
235
|
-
/**
|
|
236
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
237
|
-
*
|
|
238
|
-
* Count returned DepartmentBudgets
|
|
239
|
-
**/
|
|
240
|
-
_count?: true | DepartmentBudgetCountAggregateInputType
|
|
241
|
-
/**
|
|
242
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
243
|
-
*
|
|
244
|
-
* Select which fields to average
|
|
245
|
-
**/
|
|
246
|
-
_avg?: DepartmentBudgetAvgAggregateInputType
|
|
247
|
-
/**
|
|
248
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
249
|
-
*
|
|
250
|
-
* Select which fields to sum
|
|
251
|
-
**/
|
|
252
|
-
_sum?: DepartmentBudgetSumAggregateInputType
|
|
253
|
-
/**
|
|
254
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
255
|
-
*
|
|
256
|
-
* Select which fields to find the minimum value
|
|
257
|
-
**/
|
|
258
|
-
_min?: DepartmentBudgetMinAggregateInputType
|
|
259
|
-
/**
|
|
260
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
261
|
-
*
|
|
262
|
-
* Select which fields to find the maximum value
|
|
263
|
-
**/
|
|
264
|
-
_max?: DepartmentBudgetMaxAggregateInputType
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
export type GetDepartmentBudgetAggregateType<T extends DepartmentBudgetAggregateArgs> = {
|
|
268
|
-
[P in keyof T & keyof AggregateDepartmentBudget]: P extends '_count' | 'count'
|
|
269
|
-
? T[P] extends true
|
|
270
|
-
? number
|
|
271
|
-
: Prisma.GetScalarType<T[P], AggregateDepartmentBudget[P]>
|
|
272
|
-
: Prisma.GetScalarType<T[P], AggregateDepartmentBudget[P]>
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
export type DepartmentBudgetGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
279
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
280
|
-
orderBy?: Prisma.DepartmentBudgetOrderByWithAggregationInput | Prisma.DepartmentBudgetOrderByWithAggregationInput[]
|
|
281
|
-
by: Prisma.DepartmentBudgetScalarFieldEnum[] | Prisma.DepartmentBudgetScalarFieldEnum
|
|
282
|
-
having?: Prisma.DepartmentBudgetScalarWhereWithAggregatesInput
|
|
283
|
-
take?: number
|
|
284
|
-
skip?: number
|
|
285
|
-
_count?: DepartmentBudgetCountAggregateInputType | true
|
|
286
|
-
_avg?: DepartmentBudgetAvgAggregateInputType
|
|
287
|
-
_sum?: DepartmentBudgetSumAggregateInputType
|
|
288
|
-
_min?: DepartmentBudgetMinAggregateInputType
|
|
289
|
-
_max?: DepartmentBudgetMaxAggregateInputType
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export type DepartmentBudgetGroupByOutputType = {
|
|
293
|
-
id: number
|
|
294
|
-
uuid: string | null
|
|
295
|
-
code: string | null
|
|
296
|
-
budget_id: number | null
|
|
297
|
-
department_id: number | null
|
|
298
|
-
initial_allocated_budget: runtime.Decimal | null
|
|
299
|
-
allocated_budget: runtime.Decimal | null
|
|
300
|
-
remaining_budget: runtime.Decimal | null
|
|
301
|
-
fiscal_year: string | null
|
|
302
|
-
notes: string | null
|
|
303
|
-
description: string | null
|
|
304
|
-
created_by: number | null
|
|
305
|
-
created_at: Date
|
|
306
|
-
updated_by: number | null
|
|
307
|
-
updated_at: Date
|
|
308
|
-
is_deleted: boolean
|
|
309
|
-
deleted_by: number | null
|
|
310
|
-
deleted_at: Date | null
|
|
311
|
-
_count: DepartmentBudgetCountAggregateOutputType | null
|
|
312
|
-
_avg: DepartmentBudgetAvgAggregateOutputType | null
|
|
313
|
-
_sum: DepartmentBudgetSumAggregateOutputType | null
|
|
314
|
-
_min: DepartmentBudgetMinAggregateOutputType | null
|
|
315
|
-
_max: DepartmentBudgetMaxAggregateOutputType | null
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export type GetDepartmentBudgetGroupByPayload<T extends DepartmentBudgetGroupByArgs> = Prisma.PrismaPromise<
|
|
319
|
-
Array<
|
|
320
|
-
Prisma.PickEnumerable<DepartmentBudgetGroupByOutputType, T['by']> &
|
|
321
|
-
{
|
|
322
|
-
[P in ((keyof T) & (keyof DepartmentBudgetGroupByOutputType))]: P extends '_count'
|
|
323
|
-
? T[P] extends boolean
|
|
324
|
-
? number
|
|
325
|
-
: Prisma.GetScalarType<T[P], DepartmentBudgetGroupByOutputType[P]>
|
|
326
|
-
: Prisma.GetScalarType<T[P], DepartmentBudgetGroupByOutputType[P]>
|
|
327
|
-
}
|
|
328
|
-
>
|
|
329
|
-
>
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
export type DepartmentBudgetWhereInput = {
|
|
334
|
-
AND?: Prisma.DepartmentBudgetWhereInput | Prisma.DepartmentBudgetWhereInput[]
|
|
335
|
-
OR?: Prisma.DepartmentBudgetWhereInput[]
|
|
336
|
-
NOT?: Prisma.DepartmentBudgetWhereInput | Prisma.DepartmentBudgetWhereInput[]
|
|
337
|
-
id?: Prisma.IntFilter<"DepartmentBudget"> | number
|
|
338
|
-
uuid?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
339
|
-
code?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
340
|
-
budget_id?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
341
|
-
department_id?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
342
|
-
initial_allocated_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
343
|
-
allocated_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
344
|
-
remaining_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
345
|
-
fiscal_year?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
346
|
-
notes?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
347
|
-
description?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
348
|
-
created_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
349
|
-
created_at?: Prisma.DateTimeFilter<"DepartmentBudget"> | Date | string
|
|
350
|
-
updated_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
351
|
-
updated_at?: Prisma.DateTimeFilter<"DepartmentBudget"> | Date | string
|
|
352
|
-
is_deleted?: Prisma.BoolFilter<"DepartmentBudget"> | boolean
|
|
353
|
-
deleted_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
354
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"DepartmentBudget"> | Date | string | null
|
|
355
|
-
budget?: Prisma.XOR<Prisma.BudgetNullableScalarRelationFilter, Prisma.BudgetWhereInput> | null
|
|
356
|
-
department?: Prisma.XOR<Prisma.DepartmentNullableScalarRelationFilter, Prisma.DepartmentWhereInput> | null
|
|
357
|
-
category_budgets?: Prisma.CategoryBudgetListRelationFilter
|
|
358
|
-
supporting_documents?: Prisma.SupportingDocumentListRelationFilter
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
export type DepartmentBudgetOrderByWithRelationInput = {
|
|
362
|
-
id?: Prisma.SortOrder
|
|
363
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
364
|
-
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
365
|
-
budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
366
|
-
department_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
367
|
-
initial_allocated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
368
|
-
allocated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
369
|
-
remaining_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
370
|
-
fiscal_year?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
371
|
-
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
372
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
373
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
374
|
-
created_at?: Prisma.SortOrder
|
|
375
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
376
|
-
updated_at?: Prisma.SortOrder
|
|
377
|
-
is_deleted?: Prisma.SortOrder
|
|
378
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
379
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
380
|
-
budget?: Prisma.BudgetOrderByWithRelationInput
|
|
381
|
-
department?: Prisma.DepartmentOrderByWithRelationInput
|
|
382
|
-
category_budgets?: Prisma.CategoryBudgetOrderByRelationAggregateInput
|
|
383
|
-
supporting_documents?: Prisma.SupportingDocumentOrderByRelationAggregateInput
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
export type DepartmentBudgetWhereUniqueInput = Prisma.AtLeast<{
|
|
387
|
-
id?: number
|
|
388
|
-
uuid?: string
|
|
389
|
-
code?: string
|
|
390
|
-
budget_id_department_id?: Prisma.DepartmentBudgetBudget_idDepartment_idCompoundUniqueInput
|
|
391
|
-
AND?: Prisma.DepartmentBudgetWhereInput | Prisma.DepartmentBudgetWhereInput[]
|
|
392
|
-
OR?: Prisma.DepartmentBudgetWhereInput[]
|
|
393
|
-
NOT?: Prisma.DepartmentBudgetWhereInput | Prisma.DepartmentBudgetWhereInput[]
|
|
394
|
-
budget_id?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
395
|
-
department_id?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
396
|
-
initial_allocated_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
397
|
-
allocated_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
398
|
-
remaining_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
399
|
-
fiscal_year?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
400
|
-
notes?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
401
|
-
description?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
402
|
-
created_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
403
|
-
created_at?: Prisma.DateTimeFilter<"DepartmentBudget"> | Date | string
|
|
404
|
-
updated_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
405
|
-
updated_at?: Prisma.DateTimeFilter<"DepartmentBudget"> | Date | string
|
|
406
|
-
is_deleted?: Prisma.BoolFilter<"DepartmentBudget"> | boolean
|
|
407
|
-
deleted_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
408
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"DepartmentBudget"> | Date | string | null
|
|
409
|
-
budget?: Prisma.XOR<Prisma.BudgetNullableScalarRelationFilter, Prisma.BudgetWhereInput> | null
|
|
410
|
-
department?: Prisma.XOR<Prisma.DepartmentNullableScalarRelationFilter, Prisma.DepartmentWhereInput> | null
|
|
411
|
-
category_budgets?: Prisma.CategoryBudgetListRelationFilter
|
|
412
|
-
supporting_documents?: Prisma.SupportingDocumentListRelationFilter
|
|
413
|
-
}, "id" | "uuid" | "code" | "budget_id_department_id">
|
|
414
|
-
|
|
415
|
-
export type DepartmentBudgetOrderByWithAggregationInput = {
|
|
416
|
-
id?: Prisma.SortOrder
|
|
417
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
418
|
-
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
419
|
-
budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
420
|
-
department_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
421
|
-
initial_allocated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
422
|
-
allocated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
423
|
-
remaining_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
424
|
-
fiscal_year?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
425
|
-
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
426
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
427
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
428
|
-
created_at?: Prisma.SortOrder
|
|
429
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
430
|
-
updated_at?: Prisma.SortOrder
|
|
431
|
-
is_deleted?: Prisma.SortOrder
|
|
432
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
433
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
434
|
-
_count?: Prisma.DepartmentBudgetCountOrderByAggregateInput
|
|
435
|
-
_avg?: Prisma.DepartmentBudgetAvgOrderByAggregateInput
|
|
436
|
-
_max?: Prisma.DepartmentBudgetMaxOrderByAggregateInput
|
|
437
|
-
_min?: Prisma.DepartmentBudgetMinOrderByAggregateInput
|
|
438
|
-
_sum?: Prisma.DepartmentBudgetSumOrderByAggregateInput
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
export type DepartmentBudgetScalarWhereWithAggregatesInput = {
|
|
442
|
-
AND?: Prisma.DepartmentBudgetScalarWhereWithAggregatesInput | Prisma.DepartmentBudgetScalarWhereWithAggregatesInput[]
|
|
443
|
-
OR?: Prisma.DepartmentBudgetScalarWhereWithAggregatesInput[]
|
|
444
|
-
NOT?: Prisma.DepartmentBudgetScalarWhereWithAggregatesInput | Prisma.DepartmentBudgetScalarWhereWithAggregatesInput[]
|
|
445
|
-
id?: Prisma.IntWithAggregatesFilter<"DepartmentBudget"> | number
|
|
446
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"DepartmentBudget"> | string | null
|
|
447
|
-
code?: Prisma.StringNullableWithAggregatesFilter<"DepartmentBudget"> | string | null
|
|
448
|
-
budget_id?: Prisma.IntNullableWithAggregatesFilter<"DepartmentBudget"> | number | null
|
|
449
|
-
department_id?: Prisma.IntNullableWithAggregatesFilter<"DepartmentBudget"> | number | null
|
|
450
|
-
initial_allocated_budget?: Prisma.DecimalNullableWithAggregatesFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
451
|
-
allocated_budget?: Prisma.DecimalNullableWithAggregatesFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
452
|
-
remaining_budget?: Prisma.DecimalNullableWithAggregatesFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
453
|
-
fiscal_year?: Prisma.StringNullableWithAggregatesFilter<"DepartmentBudget"> | string | null
|
|
454
|
-
notes?: Prisma.StringNullableWithAggregatesFilter<"DepartmentBudget"> | string | null
|
|
455
|
-
description?: Prisma.StringNullableWithAggregatesFilter<"DepartmentBudget"> | string | null
|
|
456
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"DepartmentBudget"> | number | null
|
|
457
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"DepartmentBudget"> | Date | string
|
|
458
|
-
updated_by?: Prisma.IntNullableWithAggregatesFilter<"DepartmentBudget"> | number | null
|
|
459
|
-
updated_at?: Prisma.DateTimeWithAggregatesFilter<"DepartmentBudget"> | Date | string
|
|
460
|
-
is_deleted?: Prisma.BoolWithAggregatesFilter<"DepartmentBudget"> | boolean
|
|
461
|
-
deleted_by?: Prisma.IntNullableWithAggregatesFilter<"DepartmentBudget"> | number | null
|
|
462
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"DepartmentBudget"> | Date | string | null
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
export type DepartmentBudgetCreateInput = {
|
|
466
|
-
uuid?: string | null
|
|
467
|
-
code?: string | null
|
|
468
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
469
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
470
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
471
|
-
fiscal_year?: string | null
|
|
472
|
-
notes?: string | null
|
|
473
|
-
description?: string | null
|
|
474
|
-
created_by?: number | null
|
|
475
|
-
created_at?: Date | string
|
|
476
|
-
updated_by?: number | null
|
|
477
|
-
updated_at?: Date | string
|
|
478
|
-
is_deleted?: boolean
|
|
479
|
-
deleted_by?: number | null
|
|
480
|
-
deleted_at?: Date | string | null
|
|
481
|
-
budget?: Prisma.BudgetCreateNestedOneWithoutDepartment_budgetsInput
|
|
482
|
-
department?: Prisma.DepartmentCreateNestedOneWithoutDepartment_budgetInput
|
|
483
|
-
category_budgets?: Prisma.CategoryBudgetCreateNestedManyWithoutDepartment_budgetInput
|
|
484
|
-
supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutDepartment_budgetInput
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
export type DepartmentBudgetUncheckedCreateInput = {
|
|
488
|
-
id?: number
|
|
489
|
-
uuid?: string | null
|
|
490
|
-
code?: string | null
|
|
491
|
-
budget_id?: number | null
|
|
492
|
-
department_id?: number | null
|
|
493
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
494
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
495
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
496
|
-
fiscal_year?: string | null
|
|
497
|
-
notes?: string | null
|
|
498
|
-
description?: string | null
|
|
499
|
-
created_by?: number | null
|
|
500
|
-
created_at?: Date | string
|
|
501
|
-
updated_by?: number | null
|
|
502
|
-
updated_at?: Date | string
|
|
503
|
-
is_deleted?: boolean
|
|
504
|
-
deleted_by?: number | null
|
|
505
|
-
deleted_at?: Date | string | null
|
|
506
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
507
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
export type DepartmentBudgetUpdateInput = {
|
|
511
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
512
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
513
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
514
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
515
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
516
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
517
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
518
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
519
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
520
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
521
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
522
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
523
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
524
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
525
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
526
|
-
budget?: Prisma.BudgetUpdateOneWithoutDepartment_budgetsNestedInput
|
|
527
|
-
department?: Prisma.DepartmentUpdateOneWithoutDepartment_budgetNestedInput
|
|
528
|
-
category_budgets?: Prisma.CategoryBudgetUpdateManyWithoutDepartment_budgetNestedInput
|
|
529
|
-
supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutDepartment_budgetNestedInput
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
export type DepartmentBudgetUncheckedUpdateInput = {
|
|
533
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
534
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
535
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
536
|
-
budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
537
|
-
department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
538
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
539
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
540
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
541
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
542
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
543
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
544
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
545
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
546
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
547
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
548
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
549
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
550
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
551
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
552
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
export type DepartmentBudgetCreateManyInput = {
|
|
556
|
-
id?: number
|
|
557
|
-
uuid?: string | null
|
|
558
|
-
code?: string | null
|
|
559
|
-
budget_id?: number | null
|
|
560
|
-
department_id?: number | null
|
|
561
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
562
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
563
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
564
|
-
fiscal_year?: string | null
|
|
565
|
-
notes?: string | null
|
|
566
|
-
description?: string | null
|
|
567
|
-
created_by?: number | null
|
|
568
|
-
created_at?: Date | string
|
|
569
|
-
updated_by?: number | null
|
|
570
|
-
updated_at?: Date | string
|
|
571
|
-
is_deleted?: boolean
|
|
572
|
-
deleted_by?: number | null
|
|
573
|
-
deleted_at?: Date | string | null
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
export type DepartmentBudgetUpdateManyMutationInput = {
|
|
577
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
578
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
579
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
580
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
581
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
582
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
583
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
584
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
585
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
586
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
587
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
588
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
589
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
590
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
591
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
export type DepartmentBudgetUncheckedUpdateManyInput = {
|
|
595
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
596
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
597
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
598
|
-
budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
599
|
-
department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
600
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
601
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
602
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
603
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
604
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
605
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
606
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
607
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
608
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
609
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
610
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
611
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
612
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
export type DepartmentBudgetListRelationFilter = {
|
|
616
|
-
every?: Prisma.DepartmentBudgetWhereInput
|
|
617
|
-
some?: Prisma.DepartmentBudgetWhereInput
|
|
618
|
-
none?: Prisma.DepartmentBudgetWhereInput
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
export type DepartmentBudgetOrderByRelationAggregateInput = {
|
|
622
|
-
_count?: Prisma.SortOrder
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
export type DepartmentBudgetBudget_idDepartment_idCompoundUniqueInput = {
|
|
626
|
-
budget_id: number
|
|
627
|
-
department_id: number
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
export type DepartmentBudgetCountOrderByAggregateInput = {
|
|
631
|
-
id?: Prisma.SortOrder
|
|
632
|
-
uuid?: Prisma.SortOrder
|
|
633
|
-
code?: Prisma.SortOrder
|
|
634
|
-
budget_id?: Prisma.SortOrder
|
|
635
|
-
department_id?: Prisma.SortOrder
|
|
636
|
-
initial_allocated_budget?: Prisma.SortOrder
|
|
637
|
-
allocated_budget?: Prisma.SortOrder
|
|
638
|
-
remaining_budget?: Prisma.SortOrder
|
|
639
|
-
fiscal_year?: Prisma.SortOrder
|
|
640
|
-
notes?: Prisma.SortOrder
|
|
641
|
-
description?: Prisma.SortOrder
|
|
642
|
-
created_by?: Prisma.SortOrder
|
|
643
|
-
created_at?: Prisma.SortOrder
|
|
644
|
-
updated_by?: Prisma.SortOrder
|
|
645
|
-
updated_at?: Prisma.SortOrder
|
|
646
|
-
is_deleted?: Prisma.SortOrder
|
|
647
|
-
deleted_by?: Prisma.SortOrder
|
|
648
|
-
deleted_at?: Prisma.SortOrder
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
export type DepartmentBudgetAvgOrderByAggregateInput = {
|
|
652
|
-
id?: Prisma.SortOrder
|
|
653
|
-
budget_id?: Prisma.SortOrder
|
|
654
|
-
department_id?: Prisma.SortOrder
|
|
655
|
-
initial_allocated_budget?: Prisma.SortOrder
|
|
656
|
-
allocated_budget?: Prisma.SortOrder
|
|
657
|
-
remaining_budget?: Prisma.SortOrder
|
|
658
|
-
created_by?: Prisma.SortOrder
|
|
659
|
-
updated_by?: Prisma.SortOrder
|
|
660
|
-
deleted_by?: Prisma.SortOrder
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
export type DepartmentBudgetMaxOrderByAggregateInput = {
|
|
664
|
-
id?: Prisma.SortOrder
|
|
665
|
-
uuid?: Prisma.SortOrder
|
|
666
|
-
code?: Prisma.SortOrder
|
|
667
|
-
budget_id?: Prisma.SortOrder
|
|
668
|
-
department_id?: Prisma.SortOrder
|
|
669
|
-
initial_allocated_budget?: Prisma.SortOrder
|
|
670
|
-
allocated_budget?: Prisma.SortOrder
|
|
671
|
-
remaining_budget?: Prisma.SortOrder
|
|
672
|
-
fiscal_year?: Prisma.SortOrder
|
|
673
|
-
notes?: Prisma.SortOrder
|
|
674
|
-
description?: Prisma.SortOrder
|
|
675
|
-
created_by?: Prisma.SortOrder
|
|
676
|
-
created_at?: Prisma.SortOrder
|
|
677
|
-
updated_by?: Prisma.SortOrder
|
|
678
|
-
updated_at?: Prisma.SortOrder
|
|
679
|
-
is_deleted?: Prisma.SortOrder
|
|
680
|
-
deleted_by?: Prisma.SortOrder
|
|
681
|
-
deleted_at?: Prisma.SortOrder
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
export type DepartmentBudgetMinOrderByAggregateInput = {
|
|
685
|
-
id?: Prisma.SortOrder
|
|
686
|
-
uuid?: Prisma.SortOrder
|
|
687
|
-
code?: Prisma.SortOrder
|
|
688
|
-
budget_id?: Prisma.SortOrder
|
|
689
|
-
department_id?: Prisma.SortOrder
|
|
690
|
-
initial_allocated_budget?: Prisma.SortOrder
|
|
691
|
-
allocated_budget?: Prisma.SortOrder
|
|
692
|
-
remaining_budget?: Prisma.SortOrder
|
|
693
|
-
fiscal_year?: Prisma.SortOrder
|
|
694
|
-
notes?: Prisma.SortOrder
|
|
695
|
-
description?: Prisma.SortOrder
|
|
696
|
-
created_by?: Prisma.SortOrder
|
|
697
|
-
created_at?: Prisma.SortOrder
|
|
698
|
-
updated_by?: Prisma.SortOrder
|
|
699
|
-
updated_at?: Prisma.SortOrder
|
|
700
|
-
is_deleted?: Prisma.SortOrder
|
|
701
|
-
deleted_by?: Prisma.SortOrder
|
|
702
|
-
deleted_at?: Prisma.SortOrder
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
export type DepartmentBudgetSumOrderByAggregateInput = {
|
|
706
|
-
id?: Prisma.SortOrder
|
|
707
|
-
budget_id?: Prisma.SortOrder
|
|
708
|
-
department_id?: Prisma.SortOrder
|
|
709
|
-
initial_allocated_budget?: Prisma.SortOrder
|
|
710
|
-
allocated_budget?: Prisma.SortOrder
|
|
711
|
-
remaining_budget?: Prisma.SortOrder
|
|
712
|
-
created_by?: Prisma.SortOrder
|
|
713
|
-
updated_by?: Prisma.SortOrder
|
|
714
|
-
deleted_by?: Prisma.SortOrder
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
export type DepartmentBudgetNullableScalarRelationFilter = {
|
|
718
|
-
is?: Prisma.DepartmentBudgetWhereInput | null
|
|
719
|
-
isNot?: Prisma.DepartmentBudgetWhereInput | null
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
export type DepartmentBudgetCreateNestedManyWithoutDepartmentInput = {
|
|
723
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput> | Prisma.DepartmentBudgetCreateWithoutDepartmentInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput[]
|
|
724
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput | Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput[]
|
|
725
|
-
createMany?: Prisma.DepartmentBudgetCreateManyDepartmentInputEnvelope
|
|
726
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export type DepartmentBudgetUncheckedCreateNestedManyWithoutDepartmentInput = {
|
|
730
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput> | Prisma.DepartmentBudgetCreateWithoutDepartmentInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput[]
|
|
731
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput | Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput[]
|
|
732
|
-
createMany?: Prisma.DepartmentBudgetCreateManyDepartmentInputEnvelope
|
|
733
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
export type DepartmentBudgetUpdateManyWithoutDepartmentNestedInput = {
|
|
737
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput> | Prisma.DepartmentBudgetCreateWithoutDepartmentInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput[]
|
|
738
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput | Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput[]
|
|
739
|
-
upsert?: Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutDepartmentInput | Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutDepartmentInput[]
|
|
740
|
-
createMany?: Prisma.DepartmentBudgetCreateManyDepartmentInputEnvelope
|
|
741
|
-
set?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
742
|
-
disconnect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
743
|
-
delete?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
744
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
745
|
-
update?: Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutDepartmentInput | Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutDepartmentInput[]
|
|
746
|
-
updateMany?: Prisma.DepartmentBudgetUpdateManyWithWhereWithoutDepartmentInput | Prisma.DepartmentBudgetUpdateManyWithWhereWithoutDepartmentInput[]
|
|
747
|
-
deleteMany?: Prisma.DepartmentBudgetScalarWhereInput | Prisma.DepartmentBudgetScalarWhereInput[]
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
export type DepartmentBudgetUncheckedUpdateManyWithoutDepartmentNestedInput = {
|
|
751
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput> | Prisma.DepartmentBudgetCreateWithoutDepartmentInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput[]
|
|
752
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput | Prisma.DepartmentBudgetCreateOrConnectWithoutDepartmentInput[]
|
|
753
|
-
upsert?: Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutDepartmentInput | Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutDepartmentInput[]
|
|
754
|
-
createMany?: Prisma.DepartmentBudgetCreateManyDepartmentInputEnvelope
|
|
755
|
-
set?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
756
|
-
disconnect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
757
|
-
delete?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
758
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
759
|
-
update?: Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutDepartmentInput | Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutDepartmentInput[]
|
|
760
|
-
updateMany?: Prisma.DepartmentBudgetUpdateManyWithWhereWithoutDepartmentInput | Prisma.DepartmentBudgetUpdateManyWithWhereWithoutDepartmentInput[]
|
|
761
|
-
deleteMany?: Prisma.DepartmentBudgetScalarWhereInput | Prisma.DepartmentBudgetScalarWhereInput[]
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
export type DepartmentBudgetCreateNestedManyWithoutBudgetInput = {
|
|
765
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput> | Prisma.DepartmentBudgetCreateWithoutBudgetInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput[]
|
|
766
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput | Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput[]
|
|
767
|
-
createMany?: Prisma.DepartmentBudgetCreateManyBudgetInputEnvelope
|
|
768
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
export type DepartmentBudgetUncheckedCreateNestedManyWithoutBudgetInput = {
|
|
772
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput> | Prisma.DepartmentBudgetCreateWithoutBudgetInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput[]
|
|
773
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput | Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput[]
|
|
774
|
-
createMany?: Prisma.DepartmentBudgetCreateManyBudgetInputEnvelope
|
|
775
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
export type DepartmentBudgetUpdateManyWithoutBudgetNestedInput = {
|
|
779
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput> | Prisma.DepartmentBudgetCreateWithoutBudgetInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput[]
|
|
780
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput | Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput[]
|
|
781
|
-
upsert?: Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutBudgetInput | Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutBudgetInput[]
|
|
782
|
-
createMany?: Prisma.DepartmentBudgetCreateManyBudgetInputEnvelope
|
|
783
|
-
set?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
784
|
-
disconnect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
785
|
-
delete?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
786
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
787
|
-
update?: Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutBudgetInput | Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutBudgetInput[]
|
|
788
|
-
updateMany?: Prisma.DepartmentBudgetUpdateManyWithWhereWithoutBudgetInput | Prisma.DepartmentBudgetUpdateManyWithWhereWithoutBudgetInput[]
|
|
789
|
-
deleteMany?: Prisma.DepartmentBudgetScalarWhereInput | Prisma.DepartmentBudgetScalarWhereInput[]
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
export type DepartmentBudgetUncheckedUpdateManyWithoutBudgetNestedInput = {
|
|
793
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput> | Prisma.DepartmentBudgetCreateWithoutBudgetInput[] | Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput[]
|
|
794
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput | Prisma.DepartmentBudgetCreateOrConnectWithoutBudgetInput[]
|
|
795
|
-
upsert?: Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutBudgetInput | Prisma.DepartmentBudgetUpsertWithWhereUniqueWithoutBudgetInput[]
|
|
796
|
-
createMany?: Prisma.DepartmentBudgetCreateManyBudgetInputEnvelope
|
|
797
|
-
set?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
798
|
-
disconnect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
799
|
-
delete?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
800
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput | Prisma.DepartmentBudgetWhereUniqueInput[]
|
|
801
|
-
update?: Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutBudgetInput | Prisma.DepartmentBudgetUpdateWithWhereUniqueWithoutBudgetInput[]
|
|
802
|
-
updateMany?: Prisma.DepartmentBudgetUpdateManyWithWhereWithoutBudgetInput | Prisma.DepartmentBudgetUpdateManyWithWhereWithoutBudgetInput[]
|
|
803
|
-
deleteMany?: Prisma.DepartmentBudgetScalarWhereInput | Prisma.DepartmentBudgetScalarWhereInput[]
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
export type DepartmentBudgetCreateNestedOneWithoutCategory_budgetsInput = {
|
|
807
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutCategory_budgetsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutCategory_budgetsInput>
|
|
808
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutCategory_budgetsInput
|
|
809
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
export type DepartmentBudgetUpdateOneWithoutCategory_budgetsNestedInput = {
|
|
813
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutCategory_budgetsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutCategory_budgetsInput>
|
|
814
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutCategory_budgetsInput
|
|
815
|
-
upsert?: Prisma.DepartmentBudgetUpsertWithoutCategory_budgetsInput
|
|
816
|
-
disconnect?: Prisma.DepartmentBudgetWhereInput | boolean
|
|
817
|
-
delete?: Prisma.DepartmentBudgetWhereInput | boolean
|
|
818
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
819
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.DepartmentBudgetUpdateToOneWithWhereWithoutCategory_budgetsInput, Prisma.DepartmentBudgetUpdateWithoutCategory_budgetsInput>, Prisma.DepartmentBudgetUncheckedUpdateWithoutCategory_budgetsInput>
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
export type DepartmentBudgetCreateNestedOneWithoutSupporting_documentsInput = {
|
|
823
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutSupporting_documentsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutSupporting_documentsInput>
|
|
824
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutSupporting_documentsInput
|
|
825
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
export type DepartmentBudgetUpdateOneWithoutSupporting_documentsNestedInput = {
|
|
829
|
-
create?: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutSupporting_documentsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutSupporting_documentsInput>
|
|
830
|
-
connectOrCreate?: Prisma.DepartmentBudgetCreateOrConnectWithoutSupporting_documentsInput
|
|
831
|
-
upsert?: Prisma.DepartmentBudgetUpsertWithoutSupporting_documentsInput
|
|
832
|
-
disconnect?: Prisma.DepartmentBudgetWhereInput | boolean
|
|
833
|
-
delete?: Prisma.DepartmentBudgetWhereInput | boolean
|
|
834
|
-
connect?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
835
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.DepartmentBudgetUpdateToOneWithWhereWithoutSupporting_documentsInput, Prisma.DepartmentBudgetUpdateWithoutSupporting_documentsInput>, Prisma.DepartmentBudgetUncheckedUpdateWithoutSupporting_documentsInput>
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
export type DepartmentBudgetCreateWithoutDepartmentInput = {
|
|
839
|
-
uuid?: string | null
|
|
840
|
-
code?: string | null
|
|
841
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
842
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
843
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
844
|
-
fiscal_year?: string | null
|
|
845
|
-
notes?: string | null
|
|
846
|
-
description?: string | null
|
|
847
|
-
created_by?: number | null
|
|
848
|
-
created_at?: Date | string
|
|
849
|
-
updated_by?: number | null
|
|
850
|
-
updated_at?: Date | string
|
|
851
|
-
is_deleted?: boolean
|
|
852
|
-
deleted_by?: number | null
|
|
853
|
-
deleted_at?: Date | string | null
|
|
854
|
-
budget?: Prisma.BudgetCreateNestedOneWithoutDepartment_budgetsInput
|
|
855
|
-
category_budgets?: Prisma.CategoryBudgetCreateNestedManyWithoutDepartment_budgetInput
|
|
856
|
-
supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutDepartment_budgetInput
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
export type DepartmentBudgetUncheckedCreateWithoutDepartmentInput = {
|
|
860
|
-
id?: number
|
|
861
|
-
uuid?: string | null
|
|
862
|
-
code?: string | null
|
|
863
|
-
budget_id?: number | null
|
|
864
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
865
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
866
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
867
|
-
fiscal_year?: string | null
|
|
868
|
-
notes?: string | null
|
|
869
|
-
description?: string | null
|
|
870
|
-
created_by?: number | null
|
|
871
|
-
created_at?: Date | string
|
|
872
|
-
updated_by?: number | null
|
|
873
|
-
updated_at?: Date | string
|
|
874
|
-
is_deleted?: boolean
|
|
875
|
-
deleted_by?: number | null
|
|
876
|
-
deleted_at?: Date | string | null
|
|
877
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
878
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
export type DepartmentBudgetCreateOrConnectWithoutDepartmentInput = {
|
|
882
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
883
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput>
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
export type DepartmentBudgetCreateManyDepartmentInputEnvelope = {
|
|
887
|
-
data: Prisma.DepartmentBudgetCreateManyDepartmentInput | Prisma.DepartmentBudgetCreateManyDepartmentInput[]
|
|
888
|
-
skipDuplicates?: boolean
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
export type DepartmentBudgetUpsertWithWhereUniqueWithoutDepartmentInput = {
|
|
892
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
893
|
-
update: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutDepartmentInput>
|
|
894
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedCreateWithoutDepartmentInput>
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
export type DepartmentBudgetUpdateWithWhereUniqueWithoutDepartmentInput = {
|
|
898
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
899
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutDepartmentInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutDepartmentInput>
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
export type DepartmentBudgetUpdateManyWithWhereWithoutDepartmentInput = {
|
|
903
|
-
where: Prisma.DepartmentBudgetScalarWhereInput
|
|
904
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateManyMutationInput, Prisma.DepartmentBudgetUncheckedUpdateManyWithoutDepartmentInput>
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
export type DepartmentBudgetScalarWhereInput = {
|
|
908
|
-
AND?: Prisma.DepartmentBudgetScalarWhereInput | Prisma.DepartmentBudgetScalarWhereInput[]
|
|
909
|
-
OR?: Prisma.DepartmentBudgetScalarWhereInput[]
|
|
910
|
-
NOT?: Prisma.DepartmentBudgetScalarWhereInput | Prisma.DepartmentBudgetScalarWhereInput[]
|
|
911
|
-
id?: Prisma.IntFilter<"DepartmentBudget"> | number
|
|
912
|
-
uuid?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
913
|
-
code?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
914
|
-
budget_id?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
915
|
-
department_id?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
916
|
-
initial_allocated_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
917
|
-
allocated_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
918
|
-
remaining_budget?: Prisma.DecimalNullableFilter<"DepartmentBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
919
|
-
fiscal_year?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
920
|
-
notes?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
921
|
-
description?: Prisma.StringNullableFilter<"DepartmentBudget"> | string | null
|
|
922
|
-
created_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
923
|
-
created_at?: Prisma.DateTimeFilter<"DepartmentBudget"> | Date | string
|
|
924
|
-
updated_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
925
|
-
updated_at?: Prisma.DateTimeFilter<"DepartmentBudget"> | Date | string
|
|
926
|
-
is_deleted?: Prisma.BoolFilter<"DepartmentBudget"> | boolean
|
|
927
|
-
deleted_by?: Prisma.IntNullableFilter<"DepartmentBudget"> | number | null
|
|
928
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"DepartmentBudget"> | Date | string | null
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
export type DepartmentBudgetCreateWithoutBudgetInput = {
|
|
932
|
-
uuid?: string | null
|
|
933
|
-
code?: string | null
|
|
934
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
935
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
936
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
937
|
-
fiscal_year?: string | null
|
|
938
|
-
notes?: string | null
|
|
939
|
-
description?: string | null
|
|
940
|
-
created_by?: number | null
|
|
941
|
-
created_at?: Date | string
|
|
942
|
-
updated_by?: number | null
|
|
943
|
-
updated_at?: Date | string
|
|
944
|
-
is_deleted?: boolean
|
|
945
|
-
deleted_by?: number | null
|
|
946
|
-
deleted_at?: Date | string | null
|
|
947
|
-
department?: Prisma.DepartmentCreateNestedOneWithoutDepartment_budgetInput
|
|
948
|
-
category_budgets?: Prisma.CategoryBudgetCreateNestedManyWithoutDepartment_budgetInput
|
|
949
|
-
supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutDepartment_budgetInput
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
export type DepartmentBudgetUncheckedCreateWithoutBudgetInput = {
|
|
953
|
-
id?: number
|
|
954
|
-
uuid?: string | null
|
|
955
|
-
code?: string | null
|
|
956
|
-
department_id?: number | null
|
|
957
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
958
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
959
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
960
|
-
fiscal_year?: string | null
|
|
961
|
-
notes?: string | null
|
|
962
|
-
description?: string | null
|
|
963
|
-
created_by?: number | null
|
|
964
|
-
created_at?: Date | string
|
|
965
|
-
updated_by?: number | null
|
|
966
|
-
updated_at?: Date | string
|
|
967
|
-
is_deleted?: boolean
|
|
968
|
-
deleted_by?: number | null
|
|
969
|
-
deleted_at?: Date | string | null
|
|
970
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
971
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
export type DepartmentBudgetCreateOrConnectWithoutBudgetInput = {
|
|
975
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
976
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput>
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
export type DepartmentBudgetCreateManyBudgetInputEnvelope = {
|
|
980
|
-
data: Prisma.DepartmentBudgetCreateManyBudgetInput | Prisma.DepartmentBudgetCreateManyBudgetInput[]
|
|
981
|
-
skipDuplicates?: boolean
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
export type DepartmentBudgetUpsertWithWhereUniqueWithoutBudgetInput = {
|
|
985
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
986
|
-
update: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutBudgetInput>
|
|
987
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedCreateWithoutBudgetInput>
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
export type DepartmentBudgetUpdateWithWhereUniqueWithoutBudgetInput = {
|
|
991
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
992
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutBudgetInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutBudgetInput>
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
export type DepartmentBudgetUpdateManyWithWhereWithoutBudgetInput = {
|
|
996
|
-
where: Prisma.DepartmentBudgetScalarWhereInput
|
|
997
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateManyMutationInput, Prisma.DepartmentBudgetUncheckedUpdateManyWithoutBudgetInput>
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
export type DepartmentBudgetCreateWithoutCategory_budgetsInput = {
|
|
1001
|
-
uuid?: string | null
|
|
1002
|
-
code?: string | null
|
|
1003
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1004
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1005
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1006
|
-
fiscal_year?: string | null
|
|
1007
|
-
notes?: string | null
|
|
1008
|
-
description?: string | null
|
|
1009
|
-
created_by?: number | null
|
|
1010
|
-
created_at?: Date | string
|
|
1011
|
-
updated_by?: number | null
|
|
1012
|
-
updated_at?: Date | string
|
|
1013
|
-
is_deleted?: boolean
|
|
1014
|
-
deleted_by?: number | null
|
|
1015
|
-
deleted_at?: Date | string | null
|
|
1016
|
-
budget?: Prisma.BudgetCreateNestedOneWithoutDepartment_budgetsInput
|
|
1017
|
-
department?: Prisma.DepartmentCreateNestedOneWithoutDepartment_budgetInput
|
|
1018
|
-
supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutDepartment_budgetInput
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
export type DepartmentBudgetUncheckedCreateWithoutCategory_budgetsInput = {
|
|
1022
|
-
id?: number
|
|
1023
|
-
uuid?: string | null
|
|
1024
|
-
code?: string | null
|
|
1025
|
-
budget_id?: number | null
|
|
1026
|
-
department_id?: number | null
|
|
1027
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1028
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1029
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1030
|
-
fiscal_year?: string | null
|
|
1031
|
-
notes?: string | null
|
|
1032
|
-
description?: string | null
|
|
1033
|
-
created_by?: number | null
|
|
1034
|
-
created_at?: Date | string
|
|
1035
|
-
updated_by?: number | null
|
|
1036
|
-
updated_at?: Date | string
|
|
1037
|
-
is_deleted?: boolean
|
|
1038
|
-
deleted_by?: number | null
|
|
1039
|
-
deleted_at?: Date | string | null
|
|
1040
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
export type DepartmentBudgetCreateOrConnectWithoutCategory_budgetsInput = {
|
|
1044
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
1045
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutCategory_budgetsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutCategory_budgetsInput>
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
export type DepartmentBudgetUpsertWithoutCategory_budgetsInput = {
|
|
1049
|
-
update: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutCategory_budgetsInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutCategory_budgetsInput>
|
|
1050
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutCategory_budgetsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutCategory_budgetsInput>
|
|
1051
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
export type DepartmentBudgetUpdateToOneWithWhereWithoutCategory_budgetsInput = {
|
|
1055
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
1056
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutCategory_budgetsInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutCategory_budgetsInput>
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
export type DepartmentBudgetUpdateWithoutCategory_budgetsInput = {
|
|
1060
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1061
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1062
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1063
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1064
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1065
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1066
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1067
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1068
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1069
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1070
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1071
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1072
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1073
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1074
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1075
|
-
budget?: Prisma.BudgetUpdateOneWithoutDepartment_budgetsNestedInput
|
|
1076
|
-
department?: Prisma.DepartmentUpdateOneWithoutDepartment_budgetNestedInput
|
|
1077
|
-
supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutDepartment_budgetNestedInput
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
export type DepartmentBudgetUncheckedUpdateWithoutCategory_budgetsInput = {
|
|
1081
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1082
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1083
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1084
|
-
budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1085
|
-
department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1086
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1087
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1088
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1089
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1090
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1091
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1092
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1093
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1094
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1095
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1096
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1097
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1098
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1099
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
export type DepartmentBudgetCreateWithoutSupporting_documentsInput = {
|
|
1103
|
-
uuid?: string | null
|
|
1104
|
-
code?: string | null
|
|
1105
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1106
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1107
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1108
|
-
fiscal_year?: string | null
|
|
1109
|
-
notes?: string | null
|
|
1110
|
-
description?: string | null
|
|
1111
|
-
created_by?: number | null
|
|
1112
|
-
created_at?: Date | string
|
|
1113
|
-
updated_by?: number | null
|
|
1114
|
-
updated_at?: Date | string
|
|
1115
|
-
is_deleted?: boolean
|
|
1116
|
-
deleted_by?: number | null
|
|
1117
|
-
deleted_at?: Date | string | null
|
|
1118
|
-
budget?: Prisma.BudgetCreateNestedOneWithoutDepartment_budgetsInput
|
|
1119
|
-
department?: Prisma.DepartmentCreateNestedOneWithoutDepartment_budgetInput
|
|
1120
|
-
category_budgets?: Prisma.CategoryBudgetCreateNestedManyWithoutDepartment_budgetInput
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
export type DepartmentBudgetUncheckedCreateWithoutSupporting_documentsInput = {
|
|
1124
|
-
id?: number
|
|
1125
|
-
uuid?: string | null
|
|
1126
|
-
code?: string | null
|
|
1127
|
-
budget_id?: number | null
|
|
1128
|
-
department_id?: number | null
|
|
1129
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1130
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1131
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1132
|
-
fiscal_year?: string | null
|
|
1133
|
-
notes?: string | null
|
|
1134
|
-
description?: string | null
|
|
1135
|
-
created_by?: number | null
|
|
1136
|
-
created_at?: Date | string
|
|
1137
|
-
updated_by?: number | null
|
|
1138
|
-
updated_at?: Date | string
|
|
1139
|
-
is_deleted?: boolean
|
|
1140
|
-
deleted_by?: number | null
|
|
1141
|
-
deleted_at?: Date | string | null
|
|
1142
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutDepartment_budgetInput
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
export type DepartmentBudgetCreateOrConnectWithoutSupporting_documentsInput = {
|
|
1146
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
1147
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutSupporting_documentsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutSupporting_documentsInput>
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
export type DepartmentBudgetUpsertWithoutSupporting_documentsInput = {
|
|
1151
|
-
update: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutSupporting_documentsInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutSupporting_documentsInput>
|
|
1152
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateWithoutSupporting_documentsInput, Prisma.DepartmentBudgetUncheckedCreateWithoutSupporting_documentsInput>
|
|
1153
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
export type DepartmentBudgetUpdateToOneWithWhereWithoutSupporting_documentsInput = {
|
|
1157
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
1158
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateWithoutSupporting_documentsInput, Prisma.DepartmentBudgetUncheckedUpdateWithoutSupporting_documentsInput>
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
export type DepartmentBudgetUpdateWithoutSupporting_documentsInput = {
|
|
1162
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1163
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1164
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1165
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1166
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1167
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1168
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1169
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1170
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1171
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1172
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1173
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1174
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1175
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1176
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1177
|
-
budget?: Prisma.BudgetUpdateOneWithoutDepartment_budgetsNestedInput
|
|
1178
|
-
department?: Prisma.DepartmentUpdateOneWithoutDepartment_budgetNestedInput
|
|
1179
|
-
category_budgets?: Prisma.CategoryBudgetUpdateManyWithoutDepartment_budgetNestedInput
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
export type DepartmentBudgetUncheckedUpdateWithoutSupporting_documentsInput = {
|
|
1183
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1184
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1185
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1186
|
-
budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1187
|
-
department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1188
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1189
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1190
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1191
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1192
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1193
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1194
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1195
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1196
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1197
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1198
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1199
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1200
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1201
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
export type DepartmentBudgetCreateManyDepartmentInput = {
|
|
1205
|
-
id?: number
|
|
1206
|
-
uuid?: string | null
|
|
1207
|
-
code?: string | null
|
|
1208
|
-
budget_id?: number | null
|
|
1209
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1210
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1211
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1212
|
-
fiscal_year?: string | null
|
|
1213
|
-
notes?: string | null
|
|
1214
|
-
description?: string | null
|
|
1215
|
-
created_by?: number | null
|
|
1216
|
-
created_at?: Date | string
|
|
1217
|
-
updated_by?: number | null
|
|
1218
|
-
updated_at?: Date | string
|
|
1219
|
-
is_deleted?: boolean
|
|
1220
|
-
deleted_by?: number | null
|
|
1221
|
-
deleted_at?: Date | string | null
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
export type DepartmentBudgetUpdateWithoutDepartmentInput = {
|
|
1225
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1226
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1227
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1228
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1229
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1230
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1231
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1232
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1233
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1234
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1235
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1236
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1237
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1238
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1239
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1240
|
-
budget?: Prisma.BudgetUpdateOneWithoutDepartment_budgetsNestedInput
|
|
1241
|
-
category_budgets?: Prisma.CategoryBudgetUpdateManyWithoutDepartment_budgetNestedInput
|
|
1242
|
-
supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutDepartment_budgetNestedInput
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
export type DepartmentBudgetUncheckedUpdateWithoutDepartmentInput = {
|
|
1246
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1247
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1248
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1249
|
-
budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1250
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1251
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1252
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1253
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1254
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1255
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1256
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1257
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1258
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1259
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1260
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1261
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1262
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1263
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
1264
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
export type DepartmentBudgetUncheckedUpdateManyWithoutDepartmentInput = {
|
|
1268
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1269
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1270
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1271
|
-
budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1272
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1273
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1274
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1275
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1276
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1277
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1278
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1279
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1280
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1281
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1282
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1283
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1284
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
export type DepartmentBudgetCreateManyBudgetInput = {
|
|
1288
|
-
id?: number
|
|
1289
|
-
uuid?: string | null
|
|
1290
|
-
code?: string | null
|
|
1291
|
-
department_id?: number | null
|
|
1292
|
-
initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1293
|
-
allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1294
|
-
remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1295
|
-
fiscal_year?: string | null
|
|
1296
|
-
notes?: string | null
|
|
1297
|
-
description?: string | null
|
|
1298
|
-
created_by?: number | null
|
|
1299
|
-
created_at?: Date | string
|
|
1300
|
-
updated_by?: number | null
|
|
1301
|
-
updated_at?: Date | string
|
|
1302
|
-
is_deleted?: boolean
|
|
1303
|
-
deleted_by?: number | null
|
|
1304
|
-
deleted_at?: Date | string | null
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
export type DepartmentBudgetUpdateWithoutBudgetInput = {
|
|
1308
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1309
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1310
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1311
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1312
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1313
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1314
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1315
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1316
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1317
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1318
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1319
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1320
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1321
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1322
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1323
|
-
department?: Prisma.DepartmentUpdateOneWithoutDepartment_budgetNestedInput
|
|
1324
|
-
category_budgets?: Prisma.CategoryBudgetUpdateManyWithoutDepartment_budgetNestedInput
|
|
1325
|
-
supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutDepartment_budgetNestedInput
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
export type DepartmentBudgetUncheckedUpdateWithoutBudgetInput = {
|
|
1329
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1330
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1331
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1332
|
-
department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1333
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1334
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1335
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1336
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1337
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1338
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1339
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1340
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1341
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1342
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1343
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1344
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1345
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1346
|
-
category_budgets?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
1347
|
-
supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutDepartment_budgetNestedInput
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
export type DepartmentBudgetUncheckedUpdateManyWithoutBudgetInput = {
|
|
1351
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1352
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1353
|
-
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1354
|
-
department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1355
|
-
initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1356
|
-
allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1357
|
-
remaining_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1358
|
-
fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1359
|
-
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1360
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1361
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1362
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1363
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1364
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1365
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1366
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1367
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* Count Type DepartmentBudgetCountOutputType
|
|
1373
|
-
*/
|
|
1374
|
-
|
|
1375
|
-
export type DepartmentBudgetCountOutputType = {
|
|
1376
|
-
category_budgets: number
|
|
1377
|
-
supporting_documents: number
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
export type DepartmentBudgetCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1381
|
-
category_budgets?: boolean | DepartmentBudgetCountOutputTypeCountCategory_budgetsArgs
|
|
1382
|
-
supporting_documents?: boolean | DepartmentBudgetCountOutputTypeCountSupporting_documentsArgs
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
/**
|
|
1386
|
-
* DepartmentBudgetCountOutputType without action
|
|
1387
|
-
*/
|
|
1388
|
-
export type DepartmentBudgetCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1389
|
-
/**
|
|
1390
|
-
* Select specific fields to fetch from the DepartmentBudgetCountOutputType
|
|
1391
|
-
*/
|
|
1392
|
-
select?: Prisma.DepartmentBudgetCountOutputTypeSelect<ExtArgs> | null
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1396
|
-
* DepartmentBudgetCountOutputType without action
|
|
1397
|
-
*/
|
|
1398
|
-
export type DepartmentBudgetCountOutputTypeCountCategory_budgetsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1399
|
-
where?: Prisma.CategoryBudgetWhereInput
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
/**
|
|
1403
|
-
* DepartmentBudgetCountOutputType without action
|
|
1404
|
-
*/
|
|
1405
|
-
export type DepartmentBudgetCountOutputTypeCountSupporting_documentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1406
|
-
where?: Prisma.SupportingDocumentWhereInput
|
|
1407
|
-
}
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
export type DepartmentBudgetSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1411
|
-
id?: boolean
|
|
1412
|
-
uuid?: boolean
|
|
1413
|
-
code?: boolean
|
|
1414
|
-
budget_id?: boolean
|
|
1415
|
-
department_id?: boolean
|
|
1416
|
-
initial_allocated_budget?: boolean
|
|
1417
|
-
allocated_budget?: boolean
|
|
1418
|
-
remaining_budget?: boolean
|
|
1419
|
-
fiscal_year?: boolean
|
|
1420
|
-
notes?: boolean
|
|
1421
|
-
description?: boolean
|
|
1422
|
-
created_by?: boolean
|
|
1423
|
-
created_at?: boolean
|
|
1424
|
-
updated_by?: boolean
|
|
1425
|
-
updated_at?: boolean
|
|
1426
|
-
is_deleted?: boolean
|
|
1427
|
-
deleted_by?: boolean
|
|
1428
|
-
deleted_at?: boolean
|
|
1429
|
-
budget?: boolean | Prisma.DepartmentBudget$budgetArgs<ExtArgs>
|
|
1430
|
-
department?: boolean | Prisma.DepartmentBudget$departmentArgs<ExtArgs>
|
|
1431
|
-
category_budgets?: boolean | Prisma.DepartmentBudget$category_budgetsArgs<ExtArgs>
|
|
1432
|
-
supporting_documents?: boolean | Prisma.DepartmentBudget$supporting_documentsArgs<ExtArgs>
|
|
1433
|
-
_count?: boolean | Prisma.DepartmentBudgetCountOutputTypeDefaultArgs<ExtArgs>
|
|
1434
|
-
}, ExtArgs["result"]["departmentBudget"]>
|
|
1435
|
-
|
|
1436
|
-
export type DepartmentBudgetSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1437
|
-
id?: boolean
|
|
1438
|
-
uuid?: boolean
|
|
1439
|
-
code?: boolean
|
|
1440
|
-
budget_id?: boolean
|
|
1441
|
-
department_id?: boolean
|
|
1442
|
-
initial_allocated_budget?: boolean
|
|
1443
|
-
allocated_budget?: boolean
|
|
1444
|
-
remaining_budget?: boolean
|
|
1445
|
-
fiscal_year?: boolean
|
|
1446
|
-
notes?: boolean
|
|
1447
|
-
description?: boolean
|
|
1448
|
-
created_by?: boolean
|
|
1449
|
-
created_at?: boolean
|
|
1450
|
-
updated_by?: boolean
|
|
1451
|
-
updated_at?: boolean
|
|
1452
|
-
is_deleted?: boolean
|
|
1453
|
-
deleted_by?: boolean
|
|
1454
|
-
deleted_at?: boolean
|
|
1455
|
-
budget?: boolean | Prisma.DepartmentBudget$budgetArgs<ExtArgs>
|
|
1456
|
-
department?: boolean | Prisma.DepartmentBudget$departmentArgs<ExtArgs>
|
|
1457
|
-
}, ExtArgs["result"]["departmentBudget"]>
|
|
1458
|
-
|
|
1459
|
-
export type DepartmentBudgetSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1460
|
-
id?: boolean
|
|
1461
|
-
uuid?: boolean
|
|
1462
|
-
code?: boolean
|
|
1463
|
-
budget_id?: boolean
|
|
1464
|
-
department_id?: boolean
|
|
1465
|
-
initial_allocated_budget?: boolean
|
|
1466
|
-
allocated_budget?: boolean
|
|
1467
|
-
remaining_budget?: boolean
|
|
1468
|
-
fiscal_year?: boolean
|
|
1469
|
-
notes?: boolean
|
|
1470
|
-
description?: boolean
|
|
1471
|
-
created_by?: boolean
|
|
1472
|
-
created_at?: boolean
|
|
1473
|
-
updated_by?: boolean
|
|
1474
|
-
updated_at?: boolean
|
|
1475
|
-
is_deleted?: boolean
|
|
1476
|
-
deleted_by?: boolean
|
|
1477
|
-
deleted_at?: boolean
|
|
1478
|
-
budget?: boolean | Prisma.DepartmentBudget$budgetArgs<ExtArgs>
|
|
1479
|
-
department?: boolean | Prisma.DepartmentBudget$departmentArgs<ExtArgs>
|
|
1480
|
-
}, ExtArgs["result"]["departmentBudget"]>
|
|
1481
|
-
|
|
1482
|
-
export type DepartmentBudgetSelectScalar = {
|
|
1483
|
-
id?: boolean
|
|
1484
|
-
uuid?: boolean
|
|
1485
|
-
code?: boolean
|
|
1486
|
-
budget_id?: boolean
|
|
1487
|
-
department_id?: boolean
|
|
1488
|
-
initial_allocated_budget?: boolean
|
|
1489
|
-
allocated_budget?: boolean
|
|
1490
|
-
remaining_budget?: boolean
|
|
1491
|
-
fiscal_year?: boolean
|
|
1492
|
-
notes?: boolean
|
|
1493
|
-
description?: boolean
|
|
1494
|
-
created_by?: boolean
|
|
1495
|
-
created_at?: boolean
|
|
1496
|
-
updated_by?: boolean
|
|
1497
|
-
updated_at?: boolean
|
|
1498
|
-
is_deleted?: boolean
|
|
1499
|
-
deleted_by?: boolean
|
|
1500
|
-
deleted_at?: boolean
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
export type DepartmentBudgetOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "code" | "budget_id" | "department_id" | "initial_allocated_budget" | "allocated_budget" | "remaining_budget" | "fiscal_year" | "notes" | "description" | "created_by" | "created_at" | "updated_by" | "updated_at" | "is_deleted" | "deleted_by" | "deleted_at", ExtArgs["result"]["departmentBudget"]>
|
|
1504
|
-
export type DepartmentBudgetInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1505
|
-
budget?: boolean | Prisma.DepartmentBudget$budgetArgs<ExtArgs>
|
|
1506
|
-
department?: boolean | Prisma.DepartmentBudget$departmentArgs<ExtArgs>
|
|
1507
|
-
category_budgets?: boolean | Prisma.DepartmentBudget$category_budgetsArgs<ExtArgs>
|
|
1508
|
-
supporting_documents?: boolean | Prisma.DepartmentBudget$supporting_documentsArgs<ExtArgs>
|
|
1509
|
-
_count?: boolean | Prisma.DepartmentBudgetCountOutputTypeDefaultArgs<ExtArgs>
|
|
1510
|
-
}
|
|
1511
|
-
export type DepartmentBudgetIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1512
|
-
budget?: boolean | Prisma.DepartmentBudget$budgetArgs<ExtArgs>
|
|
1513
|
-
department?: boolean | Prisma.DepartmentBudget$departmentArgs<ExtArgs>
|
|
1514
|
-
}
|
|
1515
|
-
export type DepartmentBudgetIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
-
budget?: boolean | Prisma.DepartmentBudget$budgetArgs<ExtArgs>
|
|
1517
|
-
department?: boolean | Prisma.DepartmentBudget$departmentArgs<ExtArgs>
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
export type $DepartmentBudgetPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1521
|
-
name: "DepartmentBudget"
|
|
1522
|
-
objects: {
|
|
1523
|
-
budget: Prisma.$BudgetPayload<ExtArgs> | null
|
|
1524
|
-
department: Prisma.$DepartmentPayload<ExtArgs> | null
|
|
1525
|
-
category_budgets: Prisma.$CategoryBudgetPayload<ExtArgs>[]
|
|
1526
|
-
supporting_documents: Prisma.$SupportingDocumentPayload<ExtArgs>[]
|
|
1527
|
-
}
|
|
1528
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1529
|
-
id: number
|
|
1530
|
-
uuid: string | null
|
|
1531
|
-
code: string | null
|
|
1532
|
-
budget_id: number | null
|
|
1533
|
-
department_id: number | null
|
|
1534
|
-
initial_allocated_budget: runtime.Decimal | null
|
|
1535
|
-
allocated_budget: runtime.Decimal | null
|
|
1536
|
-
remaining_budget: runtime.Decimal | null
|
|
1537
|
-
fiscal_year: string | null
|
|
1538
|
-
notes: string | null
|
|
1539
|
-
description: string | null
|
|
1540
|
-
created_by: number | null
|
|
1541
|
-
created_at: Date
|
|
1542
|
-
updated_by: number | null
|
|
1543
|
-
updated_at: Date
|
|
1544
|
-
is_deleted: boolean
|
|
1545
|
-
deleted_by: number | null
|
|
1546
|
-
deleted_at: Date | null
|
|
1547
|
-
}, ExtArgs["result"]["departmentBudget"]>
|
|
1548
|
-
composites: {}
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
export type DepartmentBudgetGetPayload<S extends boolean | null | undefined | DepartmentBudgetDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload, S>
|
|
1552
|
-
|
|
1553
|
-
export type DepartmentBudgetCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1554
|
-
Omit<DepartmentBudgetFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1555
|
-
select?: DepartmentBudgetCountAggregateInputType | true
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
export interface DepartmentBudgetDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1559
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DepartmentBudget'], meta: { name: 'DepartmentBudget' } }
|
|
1560
|
-
/**
|
|
1561
|
-
* Find zero or one DepartmentBudget that matches the filter.
|
|
1562
|
-
* @param {DepartmentBudgetFindUniqueArgs} args - Arguments to find a DepartmentBudget
|
|
1563
|
-
* @example
|
|
1564
|
-
* // Get one DepartmentBudget
|
|
1565
|
-
* const departmentBudget = await prisma.departmentBudget.findUnique({
|
|
1566
|
-
* where: {
|
|
1567
|
-
* // ... provide filter here
|
|
1568
|
-
* }
|
|
1569
|
-
* })
|
|
1570
|
-
*/
|
|
1571
|
-
findUnique<T extends DepartmentBudgetFindUniqueArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1572
|
-
|
|
1573
|
-
/**
|
|
1574
|
-
* Find one DepartmentBudget that matches the filter or throw an error with `error.code='P2025'`
|
|
1575
|
-
* if no matches were found.
|
|
1576
|
-
* @param {DepartmentBudgetFindUniqueOrThrowArgs} args - Arguments to find a DepartmentBudget
|
|
1577
|
-
* @example
|
|
1578
|
-
* // Get one DepartmentBudget
|
|
1579
|
-
* const departmentBudget = await prisma.departmentBudget.findUniqueOrThrow({
|
|
1580
|
-
* where: {
|
|
1581
|
-
* // ... provide filter here
|
|
1582
|
-
* }
|
|
1583
|
-
* })
|
|
1584
|
-
*/
|
|
1585
|
-
findUniqueOrThrow<T extends DepartmentBudgetFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
* Find the first DepartmentBudget that matches the filter.
|
|
1589
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1590
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1591
|
-
* @param {DepartmentBudgetFindFirstArgs} args - Arguments to find a DepartmentBudget
|
|
1592
|
-
* @example
|
|
1593
|
-
* // Get one DepartmentBudget
|
|
1594
|
-
* const departmentBudget = await prisma.departmentBudget.findFirst({
|
|
1595
|
-
* where: {
|
|
1596
|
-
* // ... provide filter here
|
|
1597
|
-
* }
|
|
1598
|
-
* })
|
|
1599
|
-
*/
|
|
1600
|
-
findFirst<T extends DepartmentBudgetFindFirstArgs>(args?: Prisma.SelectSubset<T, DepartmentBudgetFindFirstArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* Find the first DepartmentBudget that matches the filter or
|
|
1604
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1605
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1606
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1607
|
-
* @param {DepartmentBudgetFindFirstOrThrowArgs} args - Arguments to find a DepartmentBudget
|
|
1608
|
-
* @example
|
|
1609
|
-
* // Get one DepartmentBudget
|
|
1610
|
-
* const departmentBudget = await prisma.departmentBudget.findFirstOrThrow({
|
|
1611
|
-
* where: {
|
|
1612
|
-
* // ... provide filter here
|
|
1613
|
-
* }
|
|
1614
|
-
* })
|
|
1615
|
-
*/
|
|
1616
|
-
findFirstOrThrow<T extends DepartmentBudgetFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DepartmentBudgetFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* Find zero or more DepartmentBudgets that matches the filter.
|
|
1620
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1621
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1622
|
-
* @param {DepartmentBudgetFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1623
|
-
* @example
|
|
1624
|
-
* // Get all DepartmentBudgets
|
|
1625
|
-
* const departmentBudgets = await prisma.departmentBudget.findMany()
|
|
1626
|
-
*
|
|
1627
|
-
* // Get first 10 DepartmentBudgets
|
|
1628
|
-
* const departmentBudgets = await prisma.departmentBudget.findMany({ take: 10 })
|
|
1629
|
-
*
|
|
1630
|
-
* // Only select the `id`
|
|
1631
|
-
* const departmentBudgetWithIdOnly = await prisma.departmentBudget.findMany({ select: { id: true } })
|
|
1632
|
-
*
|
|
1633
|
-
*/
|
|
1634
|
-
findMany<T extends DepartmentBudgetFindManyArgs>(args?: Prisma.SelectSubset<T, DepartmentBudgetFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1635
|
-
|
|
1636
|
-
/**
|
|
1637
|
-
* Create a DepartmentBudget.
|
|
1638
|
-
* @param {DepartmentBudgetCreateArgs} args - Arguments to create a DepartmentBudget.
|
|
1639
|
-
* @example
|
|
1640
|
-
* // Create one DepartmentBudget
|
|
1641
|
-
* const DepartmentBudget = await prisma.departmentBudget.create({
|
|
1642
|
-
* data: {
|
|
1643
|
-
* // ... data to create a DepartmentBudget
|
|
1644
|
-
* }
|
|
1645
|
-
* })
|
|
1646
|
-
*
|
|
1647
|
-
*/
|
|
1648
|
-
create<T extends DepartmentBudgetCreateArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetCreateArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* Create many DepartmentBudgets.
|
|
1652
|
-
* @param {DepartmentBudgetCreateManyArgs} args - Arguments to create many DepartmentBudgets.
|
|
1653
|
-
* @example
|
|
1654
|
-
* // Create many DepartmentBudgets
|
|
1655
|
-
* const departmentBudget = await prisma.departmentBudget.createMany({
|
|
1656
|
-
* data: [
|
|
1657
|
-
* // ... provide data here
|
|
1658
|
-
* ]
|
|
1659
|
-
* })
|
|
1660
|
-
*
|
|
1661
|
-
*/
|
|
1662
|
-
createMany<T extends DepartmentBudgetCreateManyArgs>(args?: Prisma.SelectSubset<T, DepartmentBudgetCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1663
|
-
|
|
1664
|
-
/**
|
|
1665
|
-
* Create many DepartmentBudgets and returns the data saved in the database.
|
|
1666
|
-
* @param {DepartmentBudgetCreateManyAndReturnArgs} args - Arguments to create many DepartmentBudgets.
|
|
1667
|
-
* @example
|
|
1668
|
-
* // Create many DepartmentBudgets
|
|
1669
|
-
* const departmentBudget = await prisma.departmentBudget.createManyAndReturn({
|
|
1670
|
-
* data: [
|
|
1671
|
-
* // ... provide data here
|
|
1672
|
-
* ]
|
|
1673
|
-
* })
|
|
1674
|
-
*
|
|
1675
|
-
* // Create many DepartmentBudgets and only return the `id`
|
|
1676
|
-
* const departmentBudgetWithIdOnly = await prisma.departmentBudget.createManyAndReturn({
|
|
1677
|
-
* select: { id: true },
|
|
1678
|
-
* data: [
|
|
1679
|
-
* // ... provide data here
|
|
1680
|
-
* ]
|
|
1681
|
-
* })
|
|
1682
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1683
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1684
|
-
*
|
|
1685
|
-
*/
|
|
1686
|
-
createManyAndReturn<T extends DepartmentBudgetCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DepartmentBudgetCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
* Delete a DepartmentBudget.
|
|
1690
|
-
* @param {DepartmentBudgetDeleteArgs} args - Arguments to delete one DepartmentBudget.
|
|
1691
|
-
* @example
|
|
1692
|
-
* // Delete one DepartmentBudget
|
|
1693
|
-
* const DepartmentBudget = await prisma.departmentBudget.delete({
|
|
1694
|
-
* where: {
|
|
1695
|
-
* // ... filter to delete one DepartmentBudget
|
|
1696
|
-
* }
|
|
1697
|
-
* })
|
|
1698
|
-
*
|
|
1699
|
-
*/
|
|
1700
|
-
delete<T extends DepartmentBudgetDeleteArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetDeleteArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* Update one DepartmentBudget.
|
|
1704
|
-
* @param {DepartmentBudgetUpdateArgs} args - Arguments to update one DepartmentBudget.
|
|
1705
|
-
* @example
|
|
1706
|
-
* // Update one DepartmentBudget
|
|
1707
|
-
* const departmentBudget = await prisma.departmentBudget.update({
|
|
1708
|
-
* where: {
|
|
1709
|
-
* // ... provide filter here
|
|
1710
|
-
* },
|
|
1711
|
-
* data: {
|
|
1712
|
-
* // ... provide data here
|
|
1713
|
-
* }
|
|
1714
|
-
* })
|
|
1715
|
-
*
|
|
1716
|
-
*/
|
|
1717
|
-
update<T extends DepartmentBudgetUpdateArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetUpdateArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1718
|
-
|
|
1719
|
-
/**
|
|
1720
|
-
* Delete zero or more DepartmentBudgets.
|
|
1721
|
-
* @param {DepartmentBudgetDeleteManyArgs} args - Arguments to filter DepartmentBudgets to delete.
|
|
1722
|
-
* @example
|
|
1723
|
-
* // Delete a few DepartmentBudgets
|
|
1724
|
-
* const { count } = await prisma.departmentBudget.deleteMany({
|
|
1725
|
-
* where: {
|
|
1726
|
-
* // ... provide filter here
|
|
1727
|
-
* }
|
|
1728
|
-
* })
|
|
1729
|
-
*
|
|
1730
|
-
*/
|
|
1731
|
-
deleteMany<T extends DepartmentBudgetDeleteManyArgs>(args?: Prisma.SelectSubset<T, DepartmentBudgetDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* Update zero or more DepartmentBudgets.
|
|
1735
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1736
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1737
|
-
* @param {DepartmentBudgetUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1738
|
-
* @example
|
|
1739
|
-
* // Update many DepartmentBudgets
|
|
1740
|
-
* const departmentBudget = await prisma.departmentBudget.updateMany({
|
|
1741
|
-
* where: {
|
|
1742
|
-
* // ... provide filter here
|
|
1743
|
-
* },
|
|
1744
|
-
* data: {
|
|
1745
|
-
* // ... provide data here
|
|
1746
|
-
* }
|
|
1747
|
-
* })
|
|
1748
|
-
*
|
|
1749
|
-
*/
|
|
1750
|
-
updateMany<T extends DepartmentBudgetUpdateManyArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1751
|
-
|
|
1752
|
-
/**
|
|
1753
|
-
* Update zero or more DepartmentBudgets and returns the data updated in the database.
|
|
1754
|
-
* @param {DepartmentBudgetUpdateManyAndReturnArgs} args - Arguments to update many DepartmentBudgets.
|
|
1755
|
-
* @example
|
|
1756
|
-
* // Update many DepartmentBudgets
|
|
1757
|
-
* const departmentBudget = await prisma.departmentBudget.updateManyAndReturn({
|
|
1758
|
-
* where: {
|
|
1759
|
-
* // ... provide filter here
|
|
1760
|
-
* },
|
|
1761
|
-
* data: [
|
|
1762
|
-
* // ... provide data here
|
|
1763
|
-
* ]
|
|
1764
|
-
* })
|
|
1765
|
-
*
|
|
1766
|
-
* // Update zero or more DepartmentBudgets and only return the `id`
|
|
1767
|
-
* const departmentBudgetWithIdOnly = await prisma.departmentBudget.updateManyAndReturn({
|
|
1768
|
-
* select: { id: true },
|
|
1769
|
-
* where: {
|
|
1770
|
-
* // ... provide filter here
|
|
1771
|
-
* },
|
|
1772
|
-
* data: [
|
|
1773
|
-
* // ... provide data here
|
|
1774
|
-
* ]
|
|
1775
|
-
* })
|
|
1776
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1777
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1778
|
-
*
|
|
1779
|
-
*/
|
|
1780
|
-
updateManyAndReturn<T extends DepartmentBudgetUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1781
|
-
|
|
1782
|
-
/**
|
|
1783
|
-
* Create or update one DepartmentBudget.
|
|
1784
|
-
* @param {DepartmentBudgetUpsertArgs} args - Arguments to update or create a DepartmentBudget.
|
|
1785
|
-
* @example
|
|
1786
|
-
* // Update or create a DepartmentBudget
|
|
1787
|
-
* const departmentBudget = await prisma.departmentBudget.upsert({
|
|
1788
|
-
* create: {
|
|
1789
|
-
* // ... data to create a DepartmentBudget
|
|
1790
|
-
* },
|
|
1791
|
-
* update: {
|
|
1792
|
-
* // ... in case it already exists, update
|
|
1793
|
-
* },
|
|
1794
|
-
* where: {
|
|
1795
|
-
* // ... the filter for the DepartmentBudget we want to update
|
|
1796
|
-
* }
|
|
1797
|
-
* })
|
|
1798
|
-
*/
|
|
1799
|
-
upsert<T extends DepartmentBudgetUpsertArgs>(args: Prisma.SelectSubset<T, DepartmentBudgetUpsertArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
/**
|
|
1803
|
-
* Count the number of DepartmentBudgets.
|
|
1804
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1805
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1806
|
-
* @param {DepartmentBudgetCountArgs} args - Arguments to filter DepartmentBudgets to count.
|
|
1807
|
-
* @example
|
|
1808
|
-
* // Count the number of DepartmentBudgets
|
|
1809
|
-
* const count = await prisma.departmentBudget.count({
|
|
1810
|
-
* where: {
|
|
1811
|
-
* // ... the filter for the DepartmentBudgets we want to count
|
|
1812
|
-
* }
|
|
1813
|
-
* })
|
|
1814
|
-
**/
|
|
1815
|
-
count<T extends DepartmentBudgetCountArgs>(
|
|
1816
|
-
args?: Prisma.Subset<T, DepartmentBudgetCountArgs>,
|
|
1817
|
-
): Prisma.PrismaPromise<
|
|
1818
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1819
|
-
? T['select'] extends true
|
|
1820
|
-
? number
|
|
1821
|
-
: Prisma.GetScalarType<T['select'], DepartmentBudgetCountAggregateOutputType>
|
|
1822
|
-
: number
|
|
1823
|
-
>
|
|
1824
|
-
|
|
1825
|
-
/**
|
|
1826
|
-
* Allows you to perform aggregations operations on a DepartmentBudget.
|
|
1827
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1828
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1829
|
-
* @param {DepartmentBudgetAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1830
|
-
* @example
|
|
1831
|
-
* // Ordered by age ascending
|
|
1832
|
-
* // Where email contains prisma.io
|
|
1833
|
-
* // Limited to the 10 users
|
|
1834
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1835
|
-
* _avg: {
|
|
1836
|
-
* age: true,
|
|
1837
|
-
* },
|
|
1838
|
-
* where: {
|
|
1839
|
-
* email: {
|
|
1840
|
-
* contains: "prisma.io",
|
|
1841
|
-
* },
|
|
1842
|
-
* },
|
|
1843
|
-
* orderBy: {
|
|
1844
|
-
* age: "asc",
|
|
1845
|
-
* },
|
|
1846
|
-
* take: 10,
|
|
1847
|
-
* })
|
|
1848
|
-
**/
|
|
1849
|
-
aggregate<T extends DepartmentBudgetAggregateArgs>(args: Prisma.Subset<T, DepartmentBudgetAggregateArgs>): Prisma.PrismaPromise<GetDepartmentBudgetAggregateType<T>>
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* Group by DepartmentBudget.
|
|
1853
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1854
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1855
|
-
* @param {DepartmentBudgetGroupByArgs} args - Group by arguments.
|
|
1856
|
-
* @example
|
|
1857
|
-
* // Group by city, order by createdAt, get count
|
|
1858
|
-
* const result = await prisma.user.groupBy({
|
|
1859
|
-
* by: ['city', 'createdAt'],
|
|
1860
|
-
* orderBy: {
|
|
1861
|
-
* createdAt: true
|
|
1862
|
-
* },
|
|
1863
|
-
* _count: {
|
|
1864
|
-
* _all: true
|
|
1865
|
-
* },
|
|
1866
|
-
* })
|
|
1867
|
-
*
|
|
1868
|
-
**/
|
|
1869
|
-
groupBy<
|
|
1870
|
-
T extends DepartmentBudgetGroupByArgs,
|
|
1871
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1872
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1873
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1874
|
-
>,
|
|
1875
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1876
|
-
? { orderBy: DepartmentBudgetGroupByArgs['orderBy'] }
|
|
1877
|
-
: { orderBy?: DepartmentBudgetGroupByArgs['orderBy'] },
|
|
1878
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1879
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1880
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1881
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1882
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1883
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1884
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1885
|
-
? `Error: "by" must not be empty.`
|
|
1886
|
-
: HavingValid extends Prisma.False
|
|
1887
|
-
? {
|
|
1888
|
-
[P in HavingFields]: P extends ByFields
|
|
1889
|
-
? never
|
|
1890
|
-
: P extends string
|
|
1891
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1892
|
-
: [
|
|
1893
|
-
Error,
|
|
1894
|
-
'Field ',
|
|
1895
|
-
P,
|
|
1896
|
-
` in "having" needs to be provided in "by"`,
|
|
1897
|
-
]
|
|
1898
|
-
}[HavingFields]
|
|
1899
|
-
: 'take' extends Prisma.Keys<T>
|
|
1900
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1901
|
-
? ByValid extends Prisma.True
|
|
1902
|
-
? {}
|
|
1903
|
-
: {
|
|
1904
|
-
[P in OrderFields]: P extends ByFields
|
|
1905
|
-
? never
|
|
1906
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1907
|
-
}[OrderFields]
|
|
1908
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1909
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1910
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1911
|
-
? ByValid extends Prisma.True
|
|
1912
|
-
? {}
|
|
1913
|
-
: {
|
|
1914
|
-
[P in OrderFields]: P extends ByFields
|
|
1915
|
-
? never
|
|
1916
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1917
|
-
}[OrderFields]
|
|
1918
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1919
|
-
: ByValid extends Prisma.True
|
|
1920
|
-
? {}
|
|
1921
|
-
: {
|
|
1922
|
-
[P in OrderFields]: P extends ByFields
|
|
1923
|
-
? never
|
|
1924
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1925
|
-
}[OrderFields]
|
|
1926
|
-
>(args: Prisma.SubsetIntersection<T, DepartmentBudgetGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDepartmentBudgetGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1927
|
-
/**
|
|
1928
|
-
* Fields of the DepartmentBudget model
|
|
1929
|
-
*/
|
|
1930
|
-
readonly fields: DepartmentBudgetFieldRefs;
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
/**
|
|
1934
|
-
* The delegate class that acts as a "Promise-like" for DepartmentBudget.
|
|
1935
|
-
* Why is this prefixed with `Prisma__`?
|
|
1936
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1937
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1938
|
-
*/
|
|
1939
|
-
export interface Prisma__DepartmentBudgetClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1940
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1941
|
-
budget<T extends Prisma.DepartmentBudget$budgetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DepartmentBudget$budgetArgs<ExtArgs>>): Prisma.Prisma__BudgetClient<runtime.Types.Result.GetResult<Prisma.$BudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1942
|
-
department<T extends Prisma.DepartmentBudget$departmentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DepartmentBudget$departmentArgs<ExtArgs>>): Prisma.Prisma__DepartmentClient<runtime.Types.Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1943
|
-
category_budgets<T extends Prisma.DepartmentBudget$category_budgetsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DepartmentBudget$category_budgetsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1944
|
-
supporting_documents<T extends Prisma.DepartmentBudget$supporting_documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DepartmentBudget$supporting_documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1945
|
-
/**
|
|
1946
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1947
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1948
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1949
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1950
|
-
*/
|
|
1951
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1952
|
-
/**
|
|
1953
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1954
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1955
|
-
* @returns A Promise for the completion of the callback.
|
|
1956
|
-
*/
|
|
1957
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1958
|
-
/**
|
|
1959
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1960
|
-
* resolved value cannot be modified from the callback.
|
|
1961
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1962
|
-
* @returns A Promise for the completion of the callback.
|
|
1963
|
-
*/
|
|
1964
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1965
|
-
}
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
/**
|
|
1971
|
-
* Fields of the DepartmentBudget model
|
|
1972
|
-
*/
|
|
1973
|
-
export interface DepartmentBudgetFieldRefs {
|
|
1974
|
-
readonly id: Prisma.FieldRef<"DepartmentBudget", 'Int'>
|
|
1975
|
-
readonly uuid: Prisma.FieldRef<"DepartmentBudget", 'String'>
|
|
1976
|
-
readonly code: Prisma.FieldRef<"DepartmentBudget", 'String'>
|
|
1977
|
-
readonly budget_id: Prisma.FieldRef<"DepartmentBudget", 'Int'>
|
|
1978
|
-
readonly department_id: Prisma.FieldRef<"DepartmentBudget", 'Int'>
|
|
1979
|
-
readonly initial_allocated_budget: Prisma.FieldRef<"DepartmentBudget", 'Decimal'>
|
|
1980
|
-
readonly allocated_budget: Prisma.FieldRef<"DepartmentBudget", 'Decimal'>
|
|
1981
|
-
readonly remaining_budget: Prisma.FieldRef<"DepartmentBudget", 'Decimal'>
|
|
1982
|
-
readonly fiscal_year: Prisma.FieldRef<"DepartmentBudget", 'String'>
|
|
1983
|
-
readonly notes: Prisma.FieldRef<"DepartmentBudget", 'String'>
|
|
1984
|
-
readonly description: Prisma.FieldRef<"DepartmentBudget", 'String'>
|
|
1985
|
-
readonly created_by: Prisma.FieldRef<"DepartmentBudget", 'Int'>
|
|
1986
|
-
readonly created_at: Prisma.FieldRef<"DepartmentBudget", 'DateTime'>
|
|
1987
|
-
readonly updated_by: Prisma.FieldRef<"DepartmentBudget", 'Int'>
|
|
1988
|
-
readonly updated_at: Prisma.FieldRef<"DepartmentBudget", 'DateTime'>
|
|
1989
|
-
readonly is_deleted: Prisma.FieldRef<"DepartmentBudget", 'Boolean'>
|
|
1990
|
-
readonly deleted_by: Prisma.FieldRef<"DepartmentBudget", 'Int'>
|
|
1991
|
-
readonly deleted_at: Prisma.FieldRef<"DepartmentBudget", 'DateTime'>
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
// Custom InputTypes
|
|
1996
|
-
/**
|
|
1997
|
-
* DepartmentBudget findUnique
|
|
1998
|
-
*/
|
|
1999
|
-
export type DepartmentBudgetFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2000
|
-
/**
|
|
2001
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2002
|
-
*/
|
|
2003
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2004
|
-
/**
|
|
2005
|
-
* Omit specific fields from the DepartmentBudget
|
|
2006
|
-
*/
|
|
2007
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2008
|
-
/**
|
|
2009
|
-
* Choose, which related nodes to fetch as well
|
|
2010
|
-
*/
|
|
2011
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2012
|
-
/**
|
|
2013
|
-
* Filter, which DepartmentBudget to fetch.
|
|
2014
|
-
*/
|
|
2015
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
/**
|
|
2019
|
-
* DepartmentBudget findUniqueOrThrow
|
|
2020
|
-
*/
|
|
2021
|
-
export type DepartmentBudgetFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2022
|
-
/**
|
|
2023
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2024
|
-
*/
|
|
2025
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2026
|
-
/**
|
|
2027
|
-
* Omit specific fields from the DepartmentBudget
|
|
2028
|
-
*/
|
|
2029
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2030
|
-
/**
|
|
2031
|
-
* Choose, which related nodes to fetch as well
|
|
2032
|
-
*/
|
|
2033
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2034
|
-
/**
|
|
2035
|
-
* Filter, which DepartmentBudget to fetch.
|
|
2036
|
-
*/
|
|
2037
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
/**
|
|
2041
|
-
* DepartmentBudget findFirst
|
|
2042
|
-
*/
|
|
2043
|
-
export type DepartmentBudgetFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2044
|
-
/**
|
|
2045
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2046
|
-
*/
|
|
2047
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2048
|
-
/**
|
|
2049
|
-
* Omit specific fields from the DepartmentBudget
|
|
2050
|
-
*/
|
|
2051
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2052
|
-
/**
|
|
2053
|
-
* Choose, which related nodes to fetch as well
|
|
2054
|
-
*/
|
|
2055
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2056
|
-
/**
|
|
2057
|
-
* Filter, which DepartmentBudget to fetch.
|
|
2058
|
-
*/
|
|
2059
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
2060
|
-
/**
|
|
2061
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2062
|
-
*
|
|
2063
|
-
* Determine the order of DepartmentBudgets to fetch.
|
|
2064
|
-
*/
|
|
2065
|
-
orderBy?: Prisma.DepartmentBudgetOrderByWithRelationInput | Prisma.DepartmentBudgetOrderByWithRelationInput[]
|
|
2066
|
-
/**
|
|
2067
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2068
|
-
*
|
|
2069
|
-
* Sets the position for searching for DepartmentBudgets.
|
|
2070
|
-
*/
|
|
2071
|
-
cursor?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2072
|
-
/**
|
|
2073
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2074
|
-
*
|
|
2075
|
-
* Take `±n` DepartmentBudgets from the position of the cursor.
|
|
2076
|
-
*/
|
|
2077
|
-
take?: number
|
|
2078
|
-
/**
|
|
2079
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2080
|
-
*
|
|
2081
|
-
* Skip the first `n` DepartmentBudgets.
|
|
2082
|
-
*/
|
|
2083
|
-
skip?: number
|
|
2084
|
-
/**
|
|
2085
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2086
|
-
*
|
|
2087
|
-
* Filter by unique combinations of DepartmentBudgets.
|
|
2088
|
-
*/
|
|
2089
|
-
distinct?: Prisma.DepartmentBudgetScalarFieldEnum | Prisma.DepartmentBudgetScalarFieldEnum[]
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
|
-
/**
|
|
2093
|
-
* DepartmentBudget findFirstOrThrow
|
|
2094
|
-
*/
|
|
2095
|
-
export type DepartmentBudgetFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2096
|
-
/**
|
|
2097
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2098
|
-
*/
|
|
2099
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2100
|
-
/**
|
|
2101
|
-
* Omit specific fields from the DepartmentBudget
|
|
2102
|
-
*/
|
|
2103
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2104
|
-
/**
|
|
2105
|
-
* Choose, which related nodes to fetch as well
|
|
2106
|
-
*/
|
|
2107
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2108
|
-
/**
|
|
2109
|
-
* Filter, which DepartmentBudget to fetch.
|
|
2110
|
-
*/
|
|
2111
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
2112
|
-
/**
|
|
2113
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2114
|
-
*
|
|
2115
|
-
* Determine the order of DepartmentBudgets to fetch.
|
|
2116
|
-
*/
|
|
2117
|
-
orderBy?: Prisma.DepartmentBudgetOrderByWithRelationInput | Prisma.DepartmentBudgetOrderByWithRelationInput[]
|
|
2118
|
-
/**
|
|
2119
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2120
|
-
*
|
|
2121
|
-
* Sets the position for searching for DepartmentBudgets.
|
|
2122
|
-
*/
|
|
2123
|
-
cursor?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2124
|
-
/**
|
|
2125
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2126
|
-
*
|
|
2127
|
-
* Take `±n` DepartmentBudgets from the position of the cursor.
|
|
2128
|
-
*/
|
|
2129
|
-
take?: number
|
|
2130
|
-
/**
|
|
2131
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2132
|
-
*
|
|
2133
|
-
* Skip the first `n` DepartmentBudgets.
|
|
2134
|
-
*/
|
|
2135
|
-
skip?: number
|
|
2136
|
-
/**
|
|
2137
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2138
|
-
*
|
|
2139
|
-
* Filter by unique combinations of DepartmentBudgets.
|
|
2140
|
-
*/
|
|
2141
|
-
distinct?: Prisma.DepartmentBudgetScalarFieldEnum | Prisma.DepartmentBudgetScalarFieldEnum[]
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2144
|
-
/**
|
|
2145
|
-
* DepartmentBudget findMany
|
|
2146
|
-
*/
|
|
2147
|
-
export type DepartmentBudgetFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2148
|
-
/**
|
|
2149
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2150
|
-
*/
|
|
2151
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2152
|
-
/**
|
|
2153
|
-
* Omit specific fields from the DepartmentBudget
|
|
2154
|
-
*/
|
|
2155
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2156
|
-
/**
|
|
2157
|
-
* Choose, which related nodes to fetch as well
|
|
2158
|
-
*/
|
|
2159
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2160
|
-
/**
|
|
2161
|
-
* Filter, which DepartmentBudgets to fetch.
|
|
2162
|
-
*/
|
|
2163
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
2164
|
-
/**
|
|
2165
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2166
|
-
*
|
|
2167
|
-
* Determine the order of DepartmentBudgets to fetch.
|
|
2168
|
-
*/
|
|
2169
|
-
orderBy?: Prisma.DepartmentBudgetOrderByWithRelationInput | Prisma.DepartmentBudgetOrderByWithRelationInput[]
|
|
2170
|
-
/**
|
|
2171
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2172
|
-
*
|
|
2173
|
-
* Sets the position for listing DepartmentBudgets.
|
|
2174
|
-
*/
|
|
2175
|
-
cursor?: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2176
|
-
/**
|
|
2177
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2178
|
-
*
|
|
2179
|
-
* Take `±n` DepartmentBudgets from the position of the cursor.
|
|
2180
|
-
*/
|
|
2181
|
-
take?: number
|
|
2182
|
-
/**
|
|
2183
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2184
|
-
*
|
|
2185
|
-
* Skip the first `n` DepartmentBudgets.
|
|
2186
|
-
*/
|
|
2187
|
-
skip?: number
|
|
2188
|
-
/**
|
|
2189
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2190
|
-
*
|
|
2191
|
-
* Filter by unique combinations of DepartmentBudgets.
|
|
2192
|
-
*/
|
|
2193
|
-
distinct?: Prisma.DepartmentBudgetScalarFieldEnum | Prisma.DepartmentBudgetScalarFieldEnum[]
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
/**
|
|
2197
|
-
* DepartmentBudget create
|
|
2198
|
-
*/
|
|
2199
|
-
export type DepartmentBudgetCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2200
|
-
/**
|
|
2201
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2202
|
-
*/
|
|
2203
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2204
|
-
/**
|
|
2205
|
-
* Omit specific fields from the DepartmentBudget
|
|
2206
|
-
*/
|
|
2207
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2208
|
-
/**
|
|
2209
|
-
* Choose, which related nodes to fetch as well
|
|
2210
|
-
*/
|
|
2211
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2212
|
-
/**
|
|
2213
|
-
* The data needed to create a DepartmentBudget.
|
|
2214
|
-
*/
|
|
2215
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetCreateInput, Prisma.DepartmentBudgetUncheckedCreateInput>
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2218
|
-
/**
|
|
2219
|
-
* DepartmentBudget createMany
|
|
2220
|
-
*/
|
|
2221
|
-
export type DepartmentBudgetCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2222
|
-
/**
|
|
2223
|
-
* The data used to create many DepartmentBudgets.
|
|
2224
|
-
*/
|
|
2225
|
-
data: Prisma.DepartmentBudgetCreateManyInput | Prisma.DepartmentBudgetCreateManyInput[]
|
|
2226
|
-
skipDuplicates?: boolean
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
|
-
/**
|
|
2230
|
-
* DepartmentBudget createManyAndReturn
|
|
2231
|
-
*/
|
|
2232
|
-
export type DepartmentBudgetCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2233
|
-
/**
|
|
2234
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2235
|
-
*/
|
|
2236
|
-
select?: Prisma.DepartmentBudgetSelectCreateManyAndReturn<ExtArgs> | null
|
|
2237
|
-
/**
|
|
2238
|
-
* Omit specific fields from the DepartmentBudget
|
|
2239
|
-
*/
|
|
2240
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2241
|
-
/**
|
|
2242
|
-
* The data used to create many DepartmentBudgets.
|
|
2243
|
-
*/
|
|
2244
|
-
data: Prisma.DepartmentBudgetCreateManyInput | Prisma.DepartmentBudgetCreateManyInput[]
|
|
2245
|
-
skipDuplicates?: boolean
|
|
2246
|
-
/**
|
|
2247
|
-
* Choose, which related nodes to fetch as well
|
|
2248
|
-
*/
|
|
2249
|
-
include?: Prisma.DepartmentBudgetIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
|
-
/**
|
|
2253
|
-
* DepartmentBudget update
|
|
2254
|
-
*/
|
|
2255
|
-
export type DepartmentBudgetUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2256
|
-
/**
|
|
2257
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2258
|
-
*/
|
|
2259
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2260
|
-
/**
|
|
2261
|
-
* Omit specific fields from the DepartmentBudget
|
|
2262
|
-
*/
|
|
2263
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2264
|
-
/**
|
|
2265
|
-
* Choose, which related nodes to fetch as well
|
|
2266
|
-
*/
|
|
2267
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2268
|
-
/**
|
|
2269
|
-
* The data needed to update a DepartmentBudget.
|
|
2270
|
-
*/
|
|
2271
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateInput, Prisma.DepartmentBudgetUncheckedUpdateInput>
|
|
2272
|
-
/**
|
|
2273
|
-
* Choose, which DepartmentBudget to update.
|
|
2274
|
-
*/
|
|
2275
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
|
-
/**
|
|
2279
|
-
* DepartmentBudget updateMany
|
|
2280
|
-
*/
|
|
2281
|
-
export type DepartmentBudgetUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2282
|
-
/**
|
|
2283
|
-
* The data used to update DepartmentBudgets.
|
|
2284
|
-
*/
|
|
2285
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateManyMutationInput, Prisma.DepartmentBudgetUncheckedUpdateManyInput>
|
|
2286
|
-
/**
|
|
2287
|
-
* Filter which DepartmentBudgets to update
|
|
2288
|
-
*/
|
|
2289
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
2290
|
-
/**
|
|
2291
|
-
* Limit how many DepartmentBudgets to update.
|
|
2292
|
-
*/
|
|
2293
|
-
limit?: number
|
|
2294
|
-
}
|
|
2295
|
-
|
|
2296
|
-
/**
|
|
2297
|
-
* DepartmentBudget updateManyAndReturn
|
|
2298
|
-
*/
|
|
2299
|
-
export type DepartmentBudgetUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2300
|
-
/**
|
|
2301
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2302
|
-
*/
|
|
2303
|
-
select?: Prisma.DepartmentBudgetSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2304
|
-
/**
|
|
2305
|
-
* Omit specific fields from the DepartmentBudget
|
|
2306
|
-
*/
|
|
2307
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2308
|
-
/**
|
|
2309
|
-
* The data used to update DepartmentBudgets.
|
|
2310
|
-
*/
|
|
2311
|
-
data: Prisma.XOR<Prisma.DepartmentBudgetUpdateManyMutationInput, Prisma.DepartmentBudgetUncheckedUpdateManyInput>
|
|
2312
|
-
/**
|
|
2313
|
-
* Filter which DepartmentBudgets to update
|
|
2314
|
-
*/
|
|
2315
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
2316
|
-
/**
|
|
2317
|
-
* Limit how many DepartmentBudgets to update.
|
|
2318
|
-
*/
|
|
2319
|
-
limit?: number
|
|
2320
|
-
/**
|
|
2321
|
-
* Choose, which related nodes to fetch as well
|
|
2322
|
-
*/
|
|
2323
|
-
include?: Prisma.DepartmentBudgetIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
/**
|
|
2327
|
-
* DepartmentBudget upsert
|
|
2328
|
-
*/
|
|
2329
|
-
export type DepartmentBudgetUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2330
|
-
/**
|
|
2331
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2332
|
-
*/
|
|
2333
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2334
|
-
/**
|
|
2335
|
-
* Omit specific fields from the DepartmentBudget
|
|
2336
|
-
*/
|
|
2337
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2338
|
-
/**
|
|
2339
|
-
* Choose, which related nodes to fetch as well
|
|
2340
|
-
*/
|
|
2341
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2342
|
-
/**
|
|
2343
|
-
* The filter to search for the DepartmentBudget to update in case it exists.
|
|
2344
|
-
*/
|
|
2345
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2346
|
-
/**
|
|
2347
|
-
* In case the DepartmentBudget found by the `where` argument doesn't exist, create a new DepartmentBudget with this data.
|
|
2348
|
-
*/
|
|
2349
|
-
create: Prisma.XOR<Prisma.DepartmentBudgetCreateInput, Prisma.DepartmentBudgetUncheckedCreateInput>
|
|
2350
|
-
/**
|
|
2351
|
-
* In case the DepartmentBudget was found with the provided `where` argument, update it with this data.
|
|
2352
|
-
*/
|
|
2353
|
-
update: Prisma.XOR<Prisma.DepartmentBudgetUpdateInput, Prisma.DepartmentBudgetUncheckedUpdateInput>
|
|
2354
|
-
}
|
|
2355
|
-
|
|
2356
|
-
/**
|
|
2357
|
-
* DepartmentBudget delete
|
|
2358
|
-
*/
|
|
2359
|
-
export type DepartmentBudgetDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2360
|
-
/**
|
|
2361
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2362
|
-
*/
|
|
2363
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2364
|
-
/**
|
|
2365
|
-
* Omit specific fields from the DepartmentBudget
|
|
2366
|
-
*/
|
|
2367
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2368
|
-
/**
|
|
2369
|
-
* Choose, which related nodes to fetch as well
|
|
2370
|
-
*/
|
|
2371
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2372
|
-
/**
|
|
2373
|
-
* Filter which DepartmentBudget to delete.
|
|
2374
|
-
*/
|
|
2375
|
-
where: Prisma.DepartmentBudgetWhereUniqueInput
|
|
2376
|
-
}
|
|
2377
|
-
|
|
2378
|
-
/**
|
|
2379
|
-
* DepartmentBudget deleteMany
|
|
2380
|
-
*/
|
|
2381
|
-
export type DepartmentBudgetDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2382
|
-
/**
|
|
2383
|
-
* Filter which DepartmentBudgets to delete
|
|
2384
|
-
*/
|
|
2385
|
-
where?: Prisma.DepartmentBudgetWhereInput
|
|
2386
|
-
/**
|
|
2387
|
-
* Limit how many DepartmentBudgets to delete.
|
|
2388
|
-
*/
|
|
2389
|
-
limit?: number
|
|
2390
|
-
}
|
|
2391
|
-
|
|
2392
|
-
/**
|
|
2393
|
-
* DepartmentBudget.budget
|
|
2394
|
-
*/
|
|
2395
|
-
export type DepartmentBudget$budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2396
|
-
/**
|
|
2397
|
-
* Select specific fields to fetch from the Budget
|
|
2398
|
-
*/
|
|
2399
|
-
select?: Prisma.BudgetSelect<ExtArgs> | null
|
|
2400
|
-
/**
|
|
2401
|
-
* Omit specific fields from the Budget
|
|
2402
|
-
*/
|
|
2403
|
-
omit?: Prisma.BudgetOmit<ExtArgs> | null
|
|
2404
|
-
/**
|
|
2405
|
-
* Choose, which related nodes to fetch as well
|
|
2406
|
-
*/
|
|
2407
|
-
include?: Prisma.BudgetInclude<ExtArgs> | null
|
|
2408
|
-
where?: Prisma.BudgetWhereInput
|
|
2409
|
-
}
|
|
2410
|
-
|
|
2411
|
-
/**
|
|
2412
|
-
* DepartmentBudget.department
|
|
2413
|
-
*/
|
|
2414
|
-
export type DepartmentBudget$departmentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2415
|
-
/**
|
|
2416
|
-
* Select specific fields to fetch from the Department
|
|
2417
|
-
*/
|
|
2418
|
-
select?: Prisma.DepartmentSelect<ExtArgs> | null
|
|
2419
|
-
/**
|
|
2420
|
-
* Omit specific fields from the Department
|
|
2421
|
-
*/
|
|
2422
|
-
omit?: Prisma.DepartmentOmit<ExtArgs> | null
|
|
2423
|
-
/**
|
|
2424
|
-
* Choose, which related nodes to fetch as well
|
|
2425
|
-
*/
|
|
2426
|
-
include?: Prisma.DepartmentInclude<ExtArgs> | null
|
|
2427
|
-
where?: Prisma.DepartmentWhereInput
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
/**
|
|
2431
|
-
* DepartmentBudget.category_budgets
|
|
2432
|
-
*/
|
|
2433
|
-
export type DepartmentBudget$category_budgetsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2434
|
-
/**
|
|
2435
|
-
* Select specific fields to fetch from the CategoryBudget
|
|
2436
|
-
*/
|
|
2437
|
-
select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
|
|
2438
|
-
/**
|
|
2439
|
-
* Omit specific fields from the CategoryBudget
|
|
2440
|
-
*/
|
|
2441
|
-
omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
|
|
2442
|
-
/**
|
|
2443
|
-
* Choose, which related nodes to fetch as well
|
|
2444
|
-
*/
|
|
2445
|
-
include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
|
|
2446
|
-
where?: Prisma.CategoryBudgetWhereInput
|
|
2447
|
-
orderBy?: Prisma.CategoryBudgetOrderByWithRelationInput | Prisma.CategoryBudgetOrderByWithRelationInput[]
|
|
2448
|
-
cursor?: Prisma.CategoryBudgetWhereUniqueInput
|
|
2449
|
-
take?: number
|
|
2450
|
-
skip?: number
|
|
2451
|
-
distinct?: Prisma.CategoryBudgetScalarFieldEnum | Prisma.CategoryBudgetScalarFieldEnum[]
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2454
|
-
/**
|
|
2455
|
-
* DepartmentBudget.supporting_documents
|
|
2456
|
-
*/
|
|
2457
|
-
export type DepartmentBudget$supporting_documentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2458
|
-
/**
|
|
2459
|
-
* Select specific fields to fetch from the SupportingDocument
|
|
2460
|
-
*/
|
|
2461
|
-
select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
|
|
2462
|
-
/**
|
|
2463
|
-
* Omit specific fields from the SupportingDocument
|
|
2464
|
-
*/
|
|
2465
|
-
omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
|
|
2466
|
-
/**
|
|
2467
|
-
* Choose, which related nodes to fetch as well
|
|
2468
|
-
*/
|
|
2469
|
-
include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
|
|
2470
|
-
where?: Prisma.SupportingDocumentWhereInput
|
|
2471
|
-
orderBy?: Prisma.SupportingDocumentOrderByWithRelationInput | Prisma.SupportingDocumentOrderByWithRelationInput[]
|
|
2472
|
-
cursor?: Prisma.SupportingDocumentWhereUniqueInput
|
|
2473
|
-
take?: number
|
|
2474
|
-
skip?: number
|
|
2475
|
-
distinct?: Prisma.SupportingDocumentScalarFieldEnum | Prisma.SupportingDocumentScalarFieldEnum[]
|
|
2476
|
-
}
|
|
2477
|
-
|
|
2478
|
-
/**
|
|
2479
|
-
* DepartmentBudget without action
|
|
2480
|
-
*/
|
|
2481
|
-
export type DepartmentBudgetDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2482
|
-
/**
|
|
2483
|
-
* Select specific fields to fetch from the DepartmentBudget
|
|
2484
|
-
*/
|
|
2485
|
-
select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
|
|
2486
|
-
/**
|
|
2487
|
-
* Omit specific fields from the DepartmentBudget
|
|
2488
|
-
*/
|
|
2489
|
-
omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
|
|
2490
|
-
/**
|
|
2491
|
-
* Choose, which related nodes to fetch as well
|
|
2492
|
-
*/
|
|
2493
|
-
include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
|
|
2494
|
-
}
|