efiber-prisma-schema 1.16.2 → 2.0.1
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/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +12 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/schema.prisma +2 -2
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,3070 @@
|
|
|
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 `DispatchMaterial` 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.js"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model DispatchMaterial
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type DispatchMaterialModel = runtime.Types.Result.DefaultSelection<Prisma.$DispatchMaterialPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateDispatchMaterial = {
|
|
22
|
+
_count: DispatchMaterialCountAggregateOutputType | null
|
|
23
|
+
_avg: DispatchMaterialAvgAggregateOutputType | null
|
|
24
|
+
_sum: DispatchMaterialSumAggregateOutputType | null
|
|
25
|
+
_min: DispatchMaterialMinAggregateOutputType | null
|
|
26
|
+
_max: DispatchMaterialMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type DispatchMaterialAvgAggregateOutputType = {
|
|
30
|
+
no: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type DispatchMaterialSumAggregateOutputType = {
|
|
34
|
+
no: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type DispatchMaterialMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
no: number | null
|
|
40
|
+
materialbomId: string | null
|
|
41
|
+
dispatchProjectId: string | null
|
|
42
|
+
materialCode: string | null
|
|
43
|
+
materialName: string | null
|
|
44
|
+
description: string | null
|
|
45
|
+
unit: string | null
|
|
46
|
+
status: string | null
|
|
47
|
+
quantityAdded: string | null
|
|
48
|
+
quantityUsed: string | null
|
|
49
|
+
quantityRemaining: string | null
|
|
50
|
+
createdAt: Date | null
|
|
51
|
+
updatedAt: Date | null
|
|
52
|
+
deletedAt: Date | null
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type DispatchMaterialMaxAggregateOutputType = {
|
|
56
|
+
id: string | null
|
|
57
|
+
no: number | null
|
|
58
|
+
materialbomId: string | null
|
|
59
|
+
dispatchProjectId: string | null
|
|
60
|
+
materialCode: string | null
|
|
61
|
+
materialName: string | null
|
|
62
|
+
description: string | null
|
|
63
|
+
unit: string | null
|
|
64
|
+
status: string | null
|
|
65
|
+
quantityAdded: string | null
|
|
66
|
+
quantityUsed: string | null
|
|
67
|
+
quantityRemaining: string | null
|
|
68
|
+
createdAt: Date | null
|
|
69
|
+
updatedAt: Date | null
|
|
70
|
+
deletedAt: Date | null
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type DispatchMaterialCountAggregateOutputType = {
|
|
74
|
+
id: number
|
|
75
|
+
no: number
|
|
76
|
+
materialbomId: number
|
|
77
|
+
dispatchProjectId: number
|
|
78
|
+
materialCode: number
|
|
79
|
+
materialName: number
|
|
80
|
+
description: number
|
|
81
|
+
unit: number
|
|
82
|
+
status: number
|
|
83
|
+
quantityAdded: number
|
|
84
|
+
quantityUsed: number
|
|
85
|
+
quantityRemaining: number
|
|
86
|
+
createdAt: number
|
|
87
|
+
updatedAt: number
|
|
88
|
+
deletedAt: number
|
|
89
|
+
_all: number
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
export type DispatchMaterialAvgAggregateInputType = {
|
|
94
|
+
no?: true
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type DispatchMaterialSumAggregateInputType = {
|
|
98
|
+
no?: true
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export type DispatchMaterialMinAggregateInputType = {
|
|
102
|
+
id?: true
|
|
103
|
+
no?: true
|
|
104
|
+
materialbomId?: true
|
|
105
|
+
dispatchProjectId?: true
|
|
106
|
+
materialCode?: true
|
|
107
|
+
materialName?: true
|
|
108
|
+
description?: true
|
|
109
|
+
unit?: true
|
|
110
|
+
status?: true
|
|
111
|
+
quantityAdded?: true
|
|
112
|
+
quantityUsed?: true
|
|
113
|
+
quantityRemaining?: true
|
|
114
|
+
createdAt?: true
|
|
115
|
+
updatedAt?: true
|
|
116
|
+
deletedAt?: true
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type DispatchMaterialMaxAggregateInputType = {
|
|
120
|
+
id?: true
|
|
121
|
+
no?: true
|
|
122
|
+
materialbomId?: true
|
|
123
|
+
dispatchProjectId?: true
|
|
124
|
+
materialCode?: true
|
|
125
|
+
materialName?: true
|
|
126
|
+
description?: true
|
|
127
|
+
unit?: true
|
|
128
|
+
status?: true
|
|
129
|
+
quantityAdded?: true
|
|
130
|
+
quantityUsed?: true
|
|
131
|
+
quantityRemaining?: true
|
|
132
|
+
createdAt?: true
|
|
133
|
+
updatedAt?: true
|
|
134
|
+
deletedAt?: true
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export type DispatchMaterialCountAggregateInputType = {
|
|
138
|
+
id?: true
|
|
139
|
+
no?: true
|
|
140
|
+
materialbomId?: true
|
|
141
|
+
dispatchProjectId?: true
|
|
142
|
+
materialCode?: true
|
|
143
|
+
materialName?: true
|
|
144
|
+
description?: true
|
|
145
|
+
unit?: true
|
|
146
|
+
status?: true
|
|
147
|
+
quantityAdded?: true
|
|
148
|
+
quantityUsed?: true
|
|
149
|
+
quantityRemaining?: true
|
|
150
|
+
createdAt?: true
|
|
151
|
+
updatedAt?: true
|
|
152
|
+
deletedAt?: true
|
|
153
|
+
_all?: true
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export type DispatchMaterialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
157
|
+
/**
|
|
158
|
+
* Filter which DispatchMaterial to aggregate.
|
|
159
|
+
*/
|
|
160
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
163
|
+
*
|
|
164
|
+
* Determine the order of DispatchMaterials to fetch.
|
|
165
|
+
*/
|
|
166
|
+
orderBy?: Prisma.DispatchMaterialOrderByWithRelationInput | Prisma.DispatchMaterialOrderByWithRelationInput[]
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
169
|
+
*
|
|
170
|
+
* Sets the start position
|
|
171
|
+
*/
|
|
172
|
+
cursor?: Prisma.DispatchMaterialWhereUniqueInput
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
175
|
+
*
|
|
176
|
+
* Take `±n` DispatchMaterials from the position of the cursor.
|
|
177
|
+
*/
|
|
178
|
+
take?: number
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
181
|
+
*
|
|
182
|
+
* Skip the first `n` DispatchMaterials.
|
|
183
|
+
*/
|
|
184
|
+
skip?: number
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
+
*
|
|
188
|
+
* Count returned DispatchMaterials
|
|
189
|
+
**/
|
|
190
|
+
_count?: true | DispatchMaterialCountAggregateInputType
|
|
191
|
+
/**
|
|
192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
193
|
+
*
|
|
194
|
+
* Select which fields to average
|
|
195
|
+
**/
|
|
196
|
+
_avg?: DispatchMaterialAvgAggregateInputType
|
|
197
|
+
/**
|
|
198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
199
|
+
*
|
|
200
|
+
* Select which fields to sum
|
|
201
|
+
**/
|
|
202
|
+
_sum?: DispatchMaterialSumAggregateInputType
|
|
203
|
+
/**
|
|
204
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
205
|
+
*
|
|
206
|
+
* Select which fields to find the minimum value
|
|
207
|
+
**/
|
|
208
|
+
_min?: DispatchMaterialMinAggregateInputType
|
|
209
|
+
/**
|
|
210
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
211
|
+
*
|
|
212
|
+
* Select which fields to find the maximum value
|
|
213
|
+
**/
|
|
214
|
+
_max?: DispatchMaterialMaxAggregateInputType
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export type GetDispatchMaterialAggregateType<T extends DispatchMaterialAggregateArgs> = {
|
|
218
|
+
[P in keyof T & keyof AggregateDispatchMaterial]: P extends '_count' | 'count'
|
|
219
|
+
? T[P] extends true
|
|
220
|
+
? number
|
|
221
|
+
: Prisma.GetScalarType<T[P], AggregateDispatchMaterial[P]>
|
|
222
|
+
: Prisma.GetScalarType<T[P], AggregateDispatchMaterial[P]>
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
export type DispatchMaterialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
229
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
230
|
+
orderBy?: Prisma.DispatchMaterialOrderByWithAggregationInput | Prisma.DispatchMaterialOrderByWithAggregationInput[]
|
|
231
|
+
by: Prisma.DispatchMaterialScalarFieldEnum[] | Prisma.DispatchMaterialScalarFieldEnum
|
|
232
|
+
having?: Prisma.DispatchMaterialScalarWhereWithAggregatesInput
|
|
233
|
+
take?: number
|
|
234
|
+
skip?: number
|
|
235
|
+
_count?: DispatchMaterialCountAggregateInputType | true
|
|
236
|
+
_avg?: DispatchMaterialAvgAggregateInputType
|
|
237
|
+
_sum?: DispatchMaterialSumAggregateInputType
|
|
238
|
+
_min?: DispatchMaterialMinAggregateInputType
|
|
239
|
+
_max?: DispatchMaterialMaxAggregateInputType
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type DispatchMaterialGroupByOutputType = {
|
|
243
|
+
id: string
|
|
244
|
+
no: number
|
|
245
|
+
materialbomId: string | null
|
|
246
|
+
dispatchProjectId: string | null
|
|
247
|
+
materialCode: string | null
|
|
248
|
+
materialName: string | null
|
|
249
|
+
description: string | null
|
|
250
|
+
unit: string | null
|
|
251
|
+
status: string
|
|
252
|
+
quantityAdded: string
|
|
253
|
+
quantityUsed: string
|
|
254
|
+
quantityRemaining: string
|
|
255
|
+
createdAt: Date
|
|
256
|
+
updatedAt: Date
|
|
257
|
+
deletedAt: Date | null
|
|
258
|
+
_count: DispatchMaterialCountAggregateOutputType | null
|
|
259
|
+
_avg: DispatchMaterialAvgAggregateOutputType | null
|
|
260
|
+
_sum: DispatchMaterialSumAggregateOutputType | null
|
|
261
|
+
_min: DispatchMaterialMinAggregateOutputType | null
|
|
262
|
+
_max: DispatchMaterialMaxAggregateOutputType | null
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
type GetDispatchMaterialGroupByPayload<T extends DispatchMaterialGroupByArgs> = Prisma.PrismaPromise<
|
|
266
|
+
Array<
|
|
267
|
+
Prisma.PickEnumerable<DispatchMaterialGroupByOutputType, T['by']> &
|
|
268
|
+
{
|
|
269
|
+
[P in ((keyof T) & (keyof DispatchMaterialGroupByOutputType))]: P extends '_count'
|
|
270
|
+
? T[P] extends boolean
|
|
271
|
+
? number
|
|
272
|
+
: Prisma.GetScalarType<T[P], DispatchMaterialGroupByOutputType[P]>
|
|
273
|
+
: Prisma.GetScalarType<T[P], DispatchMaterialGroupByOutputType[P]>
|
|
274
|
+
}
|
|
275
|
+
>
|
|
276
|
+
>
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
export type DispatchMaterialWhereInput = {
|
|
281
|
+
AND?: Prisma.DispatchMaterialWhereInput | Prisma.DispatchMaterialWhereInput[]
|
|
282
|
+
OR?: Prisma.DispatchMaterialWhereInput[]
|
|
283
|
+
NOT?: Prisma.DispatchMaterialWhereInput | Prisma.DispatchMaterialWhereInput[]
|
|
284
|
+
id?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
285
|
+
no?: Prisma.IntFilter<"DispatchMaterial"> | number
|
|
286
|
+
materialbomId?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
287
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
288
|
+
materialCode?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
289
|
+
materialName?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
290
|
+
description?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
291
|
+
unit?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
292
|
+
status?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
293
|
+
quantityAdded?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
294
|
+
quantityUsed?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
295
|
+
quantityRemaining?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
296
|
+
createdAt?: Prisma.DateTimeFilter<"DispatchMaterial"> | Date | string
|
|
297
|
+
updatedAt?: Prisma.DateTimeFilter<"DispatchMaterial"> | Date | string
|
|
298
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DispatchMaterial"> | Date | string | null
|
|
299
|
+
materialBillOfMaterial?: Prisma.XOR<Prisma.MaterialBillOfMaterialNullableScalarRelationFilter, Prisma.MaterialBillOfMaterialWhereInput> | null
|
|
300
|
+
dispatchProject?: Prisma.XOR<Prisma.DispatchProjectNullableScalarRelationFilter, Prisma.DispatchProjectWhereInput> | null
|
|
301
|
+
stockMovement?: Prisma.StockMovementListRelationFilter
|
|
302
|
+
clientMaterial?: Prisma.ClientMaterialListRelationFilter
|
|
303
|
+
teamMaterial?: Prisma.TeamMaterialListRelationFilter
|
|
304
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialListRelationFilter
|
|
305
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialListRelationFilter
|
|
306
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogListRelationFilter
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export type DispatchMaterialOrderByWithRelationInput = {
|
|
310
|
+
id?: Prisma.SortOrder
|
|
311
|
+
no?: Prisma.SortOrder
|
|
312
|
+
materialbomId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
313
|
+
dispatchProjectId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
314
|
+
materialCode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
315
|
+
materialName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
316
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
317
|
+
unit?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
318
|
+
status?: Prisma.SortOrder
|
|
319
|
+
quantityAdded?: Prisma.SortOrder
|
|
320
|
+
quantityUsed?: Prisma.SortOrder
|
|
321
|
+
quantityRemaining?: Prisma.SortOrder
|
|
322
|
+
createdAt?: Prisma.SortOrder
|
|
323
|
+
updatedAt?: Prisma.SortOrder
|
|
324
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
325
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialOrderByWithRelationInput
|
|
326
|
+
dispatchProject?: Prisma.DispatchProjectOrderByWithRelationInput
|
|
327
|
+
stockMovement?: Prisma.StockMovementOrderByRelationAggregateInput
|
|
328
|
+
clientMaterial?: Prisma.clientMaterialOrderByRelationAggregateInput
|
|
329
|
+
teamMaterial?: Prisma.TeamMaterialOrderByRelationAggregateInput
|
|
330
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialOrderByRelationAggregateInput
|
|
331
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialOrderByRelationAggregateInput
|
|
332
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogOrderByRelationAggregateInput
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export type DispatchMaterialWhereUniqueInput = Prisma.AtLeast<{
|
|
336
|
+
id?: string
|
|
337
|
+
AND?: Prisma.DispatchMaterialWhereInput | Prisma.DispatchMaterialWhereInput[]
|
|
338
|
+
OR?: Prisma.DispatchMaterialWhereInput[]
|
|
339
|
+
NOT?: Prisma.DispatchMaterialWhereInput | Prisma.DispatchMaterialWhereInput[]
|
|
340
|
+
no?: Prisma.IntFilter<"DispatchMaterial"> | number
|
|
341
|
+
materialbomId?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
342
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
343
|
+
materialCode?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
344
|
+
materialName?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
345
|
+
description?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
346
|
+
unit?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
347
|
+
status?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
348
|
+
quantityAdded?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
349
|
+
quantityUsed?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
350
|
+
quantityRemaining?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
351
|
+
createdAt?: Prisma.DateTimeFilter<"DispatchMaterial"> | Date | string
|
|
352
|
+
updatedAt?: Prisma.DateTimeFilter<"DispatchMaterial"> | Date | string
|
|
353
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DispatchMaterial"> | Date | string | null
|
|
354
|
+
materialBillOfMaterial?: Prisma.XOR<Prisma.MaterialBillOfMaterialNullableScalarRelationFilter, Prisma.MaterialBillOfMaterialWhereInput> | null
|
|
355
|
+
dispatchProject?: Prisma.XOR<Prisma.DispatchProjectNullableScalarRelationFilter, Prisma.DispatchProjectWhereInput> | null
|
|
356
|
+
stockMovement?: Prisma.StockMovementListRelationFilter
|
|
357
|
+
clientMaterial?: Prisma.ClientMaterialListRelationFilter
|
|
358
|
+
teamMaterial?: Prisma.TeamMaterialListRelationFilter
|
|
359
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialListRelationFilter
|
|
360
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialListRelationFilter
|
|
361
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogListRelationFilter
|
|
362
|
+
}, "id" | "id">
|
|
363
|
+
|
|
364
|
+
export type DispatchMaterialOrderByWithAggregationInput = {
|
|
365
|
+
id?: Prisma.SortOrder
|
|
366
|
+
no?: Prisma.SortOrder
|
|
367
|
+
materialbomId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
368
|
+
dispatchProjectId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
369
|
+
materialCode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
370
|
+
materialName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
371
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
372
|
+
unit?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
373
|
+
status?: Prisma.SortOrder
|
|
374
|
+
quantityAdded?: Prisma.SortOrder
|
|
375
|
+
quantityUsed?: Prisma.SortOrder
|
|
376
|
+
quantityRemaining?: Prisma.SortOrder
|
|
377
|
+
createdAt?: Prisma.SortOrder
|
|
378
|
+
updatedAt?: Prisma.SortOrder
|
|
379
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
380
|
+
_count?: Prisma.DispatchMaterialCountOrderByAggregateInput
|
|
381
|
+
_avg?: Prisma.DispatchMaterialAvgOrderByAggregateInput
|
|
382
|
+
_max?: Prisma.DispatchMaterialMaxOrderByAggregateInput
|
|
383
|
+
_min?: Prisma.DispatchMaterialMinOrderByAggregateInput
|
|
384
|
+
_sum?: Prisma.DispatchMaterialSumOrderByAggregateInput
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type DispatchMaterialScalarWhereWithAggregatesInput = {
|
|
388
|
+
AND?: Prisma.DispatchMaterialScalarWhereWithAggregatesInput | Prisma.DispatchMaterialScalarWhereWithAggregatesInput[]
|
|
389
|
+
OR?: Prisma.DispatchMaterialScalarWhereWithAggregatesInput[]
|
|
390
|
+
NOT?: Prisma.DispatchMaterialScalarWhereWithAggregatesInput | Prisma.DispatchMaterialScalarWhereWithAggregatesInput[]
|
|
391
|
+
id?: Prisma.StringWithAggregatesFilter<"DispatchMaterial"> | string
|
|
392
|
+
no?: Prisma.IntWithAggregatesFilter<"DispatchMaterial"> | number
|
|
393
|
+
materialbomId?: Prisma.StringNullableWithAggregatesFilter<"DispatchMaterial"> | string | null
|
|
394
|
+
dispatchProjectId?: Prisma.StringNullableWithAggregatesFilter<"DispatchMaterial"> | string | null
|
|
395
|
+
materialCode?: Prisma.StringNullableWithAggregatesFilter<"DispatchMaterial"> | string | null
|
|
396
|
+
materialName?: Prisma.StringNullableWithAggregatesFilter<"DispatchMaterial"> | string | null
|
|
397
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"DispatchMaterial"> | string | null
|
|
398
|
+
unit?: Prisma.StringNullableWithAggregatesFilter<"DispatchMaterial"> | string | null
|
|
399
|
+
status?: Prisma.StringWithAggregatesFilter<"DispatchMaterial"> | string
|
|
400
|
+
quantityAdded?: Prisma.StringWithAggregatesFilter<"DispatchMaterial"> | string
|
|
401
|
+
quantityUsed?: Prisma.StringWithAggregatesFilter<"DispatchMaterial"> | string
|
|
402
|
+
quantityRemaining?: Prisma.StringWithAggregatesFilter<"DispatchMaterial"> | string
|
|
403
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DispatchMaterial"> | Date | string
|
|
404
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DispatchMaterial"> | Date | string
|
|
405
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DispatchMaterial"> | Date | string | null
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type DispatchMaterialCreateInput = {
|
|
409
|
+
id?: string
|
|
410
|
+
no?: number
|
|
411
|
+
materialCode?: string | null
|
|
412
|
+
materialName?: string | null
|
|
413
|
+
description?: string | null
|
|
414
|
+
unit?: string | null
|
|
415
|
+
status?: string
|
|
416
|
+
quantityAdded?: string
|
|
417
|
+
quantityUsed?: string
|
|
418
|
+
quantityRemaining?: string
|
|
419
|
+
createdAt?: Date | string
|
|
420
|
+
updatedAt?: Date | string
|
|
421
|
+
deletedAt?: Date | string | null
|
|
422
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
423
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
424
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
425
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
426
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
427
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
428
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
429
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type DispatchMaterialUncheckedCreateInput = {
|
|
433
|
+
id?: string
|
|
434
|
+
no?: number
|
|
435
|
+
materialbomId?: string | null
|
|
436
|
+
dispatchProjectId?: string | null
|
|
437
|
+
materialCode?: string | null
|
|
438
|
+
materialName?: string | null
|
|
439
|
+
description?: string | null
|
|
440
|
+
unit?: string | null
|
|
441
|
+
status?: string
|
|
442
|
+
quantityAdded?: string
|
|
443
|
+
quantityUsed?: string
|
|
444
|
+
quantityRemaining?: string
|
|
445
|
+
createdAt?: Date | string
|
|
446
|
+
updatedAt?: Date | string
|
|
447
|
+
deletedAt?: Date | string | null
|
|
448
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
449
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
450
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
451
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
452
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
453
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type DispatchMaterialUpdateInput = {
|
|
457
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
458
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
459
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
460
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
461
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
462
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
463
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
464
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
465
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
466
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
467
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
468
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
469
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
470
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
471
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
472
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
473
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
474
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
475
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
476
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
477
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type DispatchMaterialUncheckedUpdateInput = {
|
|
481
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
482
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
483
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
484
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
485
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
486
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
487
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
488
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
489
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
490
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
491
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
492
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
493
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
494
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
495
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
496
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
497
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
498
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
499
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
500
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
501
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type DispatchMaterialCreateManyInput = {
|
|
505
|
+
id?: string
|
|
506
|
+
no?: number
|
|
507
|
+
materialbomId?: string | null
|
|
508
|
+
dispatchProjectId?: string | null
|
|
509
|
+
materialCode?: string | null
|
|
510
|
+
materialName?: string | null
|
|
511
|
+
description?: string | null
|
|
512
|
+
unit?: string | null
|
|
513
|
+
status?: string
|
|
514
|
+
quantityAdded?: string
|
|
515
|
+
quantityUsed?: string
|
|
516
|
+
quantityRemaining?: string
|
|
517
|
+
createdAt?: Date | string
|
|
518
|
+
updatedAt?: Date | string
|
|
519
|
+
deletedAt?: Date | string | null
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export type DispatchMaterialUpdateManyMutationInput = {
|
|
523
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
524
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
525
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
526
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
527
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
528
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
529
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
530
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
531
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
532
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
533
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
534
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
535
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
export type DispatchMaterialUncheckedUpdateManyInput = {
|
|
539
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
540
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
541
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
542
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
543
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
544
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
545
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
546
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
547
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
548
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
549
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
550
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
551
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
552
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
553
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type DispatchMaterialListRelationFilter = {
|
|
557
|
+
every?: Prisma.DispatchMaterialWhereInput
|
|
558
|
+
some?: Prisma.DispatchMaterialWhereInput
|
|
559
|
+
none?: Prisma.DispatchMaterialWhereInput
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type DispatchMaterialOrderByRelationAggregateInput = {
|
|
563
|
+
_count?: Prisma.SortOrder
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export type DispatchMaterialCountOrderByAggregateInput = {
|
|
567
|
+
id?: Prisma.SortOrder
|
|
568
|
+
no?: Prisma.SortOrder
|
|
569
|
+
materialbomId?: Prisma.SortOrder
|
|
570
|
+
dispatchProjectId?: Prisma.SortOrder
|
|
571
|
+
materialCode?: Prisma.SortOrder
|
|
572
|
+
materialName?: Prisma.SortOrder
|
|
573
|
+
description?: Prisma.SortOrder
|
|
574
|
+
unit?: Prisma.SortOrder
|
|
575
|
+
status?: Prisma.SortOrder
|
|
576
|
+
quantityAdded?: Prisma.SortOrder
|
|
577
|
+
quantityUsed?: Prisma.SortOrder
|
|
578
|
+
quantityRemaining?: Prisma.SortOrder
|
|
579
|
+
createdAt?: Prisma.SortOrder
|
|
580
|
+
updatedAt?: Prisma.SortOrder
|
|
581
|
+
deletedAt?: Prisma.SortOrder
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export type DispatchMaterialAvgOrderByAggregateInput = {
|
|
585
|
+
no?: Prisma.SortOrder
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type DispatchMaterialMaxOrderByAggregateInput = {
|
|
589
|
+
id?: Prisma.SortOrder
|
|
590
|
+
no?: Prisma.SortOrder
|
|
591
|
+
materialbomId?: Prisma.SortOrder
|
|
592
|
+
dispatchProjectId?: Prisma.SortOrder
|
|
593
|
+
materialCode?: Prisma.SortOrder
|
|
594
|
+
materialName?: Prisma.SortOrder
|
|
595
|
+
description?: Prisma.SortOrder
|
|
596
|
+
unit?: Prisma.SortOrder
|
|
597
|
+
status?: Prisma.SortOrder
|
|
598
|
+
quantityAdded?: Prisma.SortOrder
|
|
599
|
+
quantityUsed?: Prisma.SortOrder
|
|
600
|
+
quantityRemaining?: Prisma.SortOrder
|
|
601
|
+
createdAt?: Prisma.SortOrder
|
|
602
|
+
updatedAt?: Prisma.SortOrder
|
|
603
|
+
deletedAt?: Prisma.SortOrder
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export type DispatchMaterialMinOrderByAggregateInput = {
|
|
607
|
+
id?: Prisma.SortOrder
|
|
608
|
+
no?: Prisma.SortOrder
|
|
609
|
+
materialbomId?: Prisma.SortOrder
|
|
610
|
+
dispatchProjectId?: Prisma.SortOrder
|
|
611
|
+
materialCode?: Prisma.SortOrder
|
|
612
|
+
materialName?: Prisma.SortOrder
|
|
613
|
+
description?: Prisma.SortOrder
|
|
614
|
+
unit?: Prisma.SortOrder
|
|
615
|
+
status?: Prisma.SortOrder
|
|
616
|
+
quantityAdded?: Prisma.SortOrder
|
|
617
|
+
quantityUsed?: Prisma.SortOrder
|
|
618
|
+
quantityRemaining?: Prisma.SortOrder
|
|
619
|
+
createdAt?: Prisma.SortOrder
|
|
620
|
+
updatedAt?: Prisma.SortOrder
|
|
621
|
+
deletedAt?: Prisma.SortOrder
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export type DispatchMaterialSumOrderByAggregateInput = {
|
|
625
|
+
no?: Prisma.SortOrder
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export type DispatchMaterialScalarRelationFilter = {
|
|
629
|
+
is?: Prisma.DispatchMaterialWhereInput
|
|
630
|
+
isNot?: Prisma.DispatchMaterialWhereInput
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export type DispatchMaterialCreateNestedManyWithoutDispatchProjectInput = {
|
|
634
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.DispatchMaterialCreateWithoutDispatchProjectInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
635
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
636
|
+
createMany?: Prisma.DispatchMaterialCreateManyDispatchProjectInputEnvelope
|
|
637
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export type DispatchMaterialUncheckedCreateNestedManyWithoutDispatchProjectInput = {
|
|
641
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.DispatchMaterialCreateWithoutDispatchProjectInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
642
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
643
|
+
createMany?: Prisma.DispatchMaterialCreateManyDispatchProjectInputEnvelope
|
|
644
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
export type DispatchMaterialUpdateManyWithoutDispatchProjectNestedInput = {
|
|
648
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.DispatchMaterialCreateWithoutDispatchProjectInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
649
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
650
|
+
upsert?: Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
651
|
+
createMany?: Prisma.DispatchMaterialCreateManyDispatchProjectInputEnvelope
|
|
652
|
+
set?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
653
|
+
disconnect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
654
|
+
delete?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
655
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
656
|
+
update?: Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
657
|
+
updateMany?: Prisma.DispatchMaterialUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.DispatchMaterialUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
658
|
+
deleteMany?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
export type DispatchMaterialUncheckedUpdateManyWithoutDispatchProjectNestedInput = {
|
|
662
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.DispatchMaterialCreateWithoutDispatchProjectInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
663
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.DispatchMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
664
|
+
upsert?: Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
665
|
+
createMany?: Prisma.DispatchMaterialCreateManyDispatchProjectInputEnvelope
|
|
666
|
+
set?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
667
|
+
disconnect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
668
|
+
delete?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
669
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
670
|
+
update?: Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
671
|
+
updateMany?: Prisma.DispatchMaterialUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.DispatchMaterialUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
672
|
+
deleteMany?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export type DispatchMaterialCreateNestedManyWithoutMaterialBillOfMaterialInput = {
|
|
676
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput> | Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput[]
|
|
677
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput[]
|
|
678
|
+
createMany?: Prisma.DispatchMaterialCreateManyMaterialBillOfMaterialInputEnvelope
|
|
679
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
export type DispatchMaterialUncheckedCreateNestedManyWithoutMaterialBillOfMaterialInput = {
|
|
683
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput> | Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput[]
|
|
684
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput[]
|
|
685
|
+
createMany?: Prisma.DispatchMaterialCreateManyMaterialBillOfMaterialInputEnvelope
|
|
686
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export type DispatchMaterialUpdateManyWithoutMaterialBillOfMaterialNestedInput = {
|
|
690
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput> | Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput[]
|
|
691
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput[]
|
|
692
|
+
upsert?: Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutMaterialBillOfMaterialInput[]
|
|
693
|
+
createMany?: Prisma.DispatchMaterialCreateManyMaterialBillOfMaterialInputEnvelope
|
|
694
|
+
set?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
695
|
+
disconnect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
696
|
+
delete?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
697
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
698
|
+
update?: Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutMaterialBillOfMaterialInput[]
|
|
699
|
+
updateMany?: Prisma.DispatchMaterialUpdateManyWithWhereWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialUpdateManyWithWhereWithoutMaterialBillOfMaterialInput[]
|
|
700
|
+
deleteMany?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export type DispatchMaterialUncheckedUpdateManyWithoutMaterialBillOfMaterialNestedInput = {
|
|
704
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput> | Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput[]
|
|
705
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput[]
|
|
706
|
+
upsert?: Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutMaterialBillOfMaterialInput[]
|
|
707
|
+
createMany?: Prisma.DispatchMaterialCreateManyMaterialBillOfMaterialInputEnvelope
|
|
708
|
+
set?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
709
|
+
disconnect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
710
|
+
delete?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
711
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
712
|
+
update?: Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutMaterialBillOfMaterialInput[]
|
|
713
|
+
updateMany?: Prisma.DispatchMaterialUpdateManyWithWhereWithoutMaterialBillOfMaterialInput | Prisma.DispatchMaterialUpdateManyWithWhereWithoutMaterialBillOfMaterialInput[]
|
|
714
|
+
deleteMany?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export type DispatchMaterialCreateNestedManyWithoutStockMovementInput = {
|
|
718
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput> | Prisma.DispatchMaterialCreateWithoutStockMovementInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput[]
|
|
719
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput | Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput[]
|
|
720
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export type DispatchMaterialUncheckedCreateNestedManyWithoutStockMovementInput = {
|
|
724
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput> | Prisma.DispatchMaterialCreateWithoutStockMovementInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput[]
|
|
725
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput | Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput[]
|
|
726
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export type DispatchMaterialUpdateManyWithoutStockMovementNestedInput = {
|
|
730
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput> | Prisma.DispatchMaterialCreateWithoutStockMovementInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput[]
|
|
731
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput | Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput[]
|
|
732
|
+
upsert?: Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutStockMovementInput | Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutStockMovementInput[]
|
|
733
|
+
set?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
734
|
+
disconnect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
735
|
+
delete?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
736
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
737
|
+
update?: Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutStockMovementInput | Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutStockMovementInput[]
|
|
738
|
+
updateMany?: Prisma.DispatchMaterialUpdateManyWithWhereWithoutStockMovementInput | Prisma.DispatchMaterialUpdateManyWithWhereWithoutStockMovementInput[]
|
|
739
|
+
deleteMany?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type DispatchMaterialUncheckedUpdateManyWithoutStockMovementNestedInput = {
|
|
743
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput> | Prisma.DispatchMaterialCreateWithoutStockMovementInput[] | Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput[]
|
|
744
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput | Prisma.DispatchMaterialCreateOrConnectWithoutStockMovementInput[]
|
|
745
|
+
upsert?: Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutStockMovementInput | Prisma.DispatchMaterialUpsertWithWhereUniqueWithoutStockMovementInput[]
|
|
746
|
+
set?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
747
|
+
disconnect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
748
|
+
delete?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
749
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput | Prisma.DispatchMaterialWhereUniqueInput[]
|
|
750
|
+
update?: Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutStockMovementInput | Prisma.DispatchMaterialUpdateWithWhereUniqueWithoutStockMovementInput[]
|
|
751
|
+
updateMany?: Prisma.DispatchMaterialUpdateManyWithWhereWithoutStockMovementInput | Prisma.DispatchMaterialUpdateManyWithWhereWithoutStockMovementInput[]
|
|
752
|
+
deleteMany?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
export type DispatchMaterialCreateNestedOneWithoutClientMaterialInput = {
|
|
756
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutClientMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutClientMaterialInput>
|
|
757
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutClientMaterialInput
|
|
758
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
export type DispatchMaterialUpdateOneRequiredWithoutClientMaterialNestedInput = {
|
|
762
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutClientMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutClientMaterialInput>
|
|
763
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutClientMaterialInput
|
|
764
|
+
upsert?: Prisma.DispatchMaterialUpsertWithoutClientMaterialInput
|
|
765
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
766
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchMaterialUpdateToOneWithWhereWithoutClientMaterialInput, Prisma.DispatchMaterialUpdateWithoutClientMaterialInput>, Prisma.DispatchMaterialUncheckedUpdateWithoutClientMaterialInput>
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export type DispatchMaterialCreateNestedOneWithoutSubsidiaryMaterialInput = {
|
|
770
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutSubsidiaryMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutSubsidiaryMaterialInput>
|
|
771
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutSubsidiaryMaterialInput
|
|
772
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
export type DispatchMaterialUpdateOneRequiredWithoutSubsidiaryMaterialNestedInput = {
|
|
776
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutSubsidiaryMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutSubsidiaryMaterialInput>
|
|
777
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutSubsidiaryMaterialInput
|
|
778
|
+
upsert?: Prisma.DispatchMaterialUpsertWithoutSubsidiaryMaterialInput
|
|
779
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
780
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchMaterialUpdateToOneWithWhereWithoutSubsidiaryMaterialInput, Prisma.DispatchMaterialUpdateWithoutSubsidiaryMaterialInput>, Prisma.DispatchMaterialUncheckedUpdateWithoutSubsidiaryMaterialInput>
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export type DispatchMaterialCreateNestedOneWithoutTeamMaterialInput = {
|
|
784
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutTeamMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutTeamMaterialInput>
|
|
785
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutTeamMaterialInput
|
|
786
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export type DispatchMaterialUpdateOneRequiredWithoutTeamMaterialNestedInput = {
|
|
790
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutTeamMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutTeamMaterialInput>
|
|
791
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutTeamMaterialInput
|
|
792
|
+
upsert?: Prisma.DispatchMaterialUpsertWithoutTeamMaterialInput
|
|
793
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
794
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchMaterialUpdateToOneWithWhereWithoutTeamMaterialInput, Prisma.DispatchMaterialUpdateWithoutTeamMaterialInput>, Prisma.DispatchMaterialUncheckedUpdateWithoutTeamMaterialInput>
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
export type DispatchMaterialCreateNestedOneWithoutWorkOrderMaterialInput = {
|
|
798
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutWorkOrderMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutWorkOrderMaterialInput>
|
|
799
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutWorkOrderMaterialInput
|
|
800
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
export type DispatchMaterialUpdateOneRequiredWithoutWorkOrderMaterialNestedInput = {
|
|
804
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutWorkOrderMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutWorkOrderMaterialInput>
|
|
805
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutWorkOrderMaterialInput
|
|
806
|
+
upsert?: Prisma.DispatchMaterialUpsertWithoutWorkOrderMaterialInput
|
|
807
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
808
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchMaterialUpdateToOneWithWhereWithoutWorkOrderMaterialInput, Prisma.DispatchMaterialUpdateWithoutWorkOrderMaterialInput>, Prisma.DispatchMaterialUncheckedUpdateWithoutWorkOrderMaterialInput>
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export type DispatchMaterialCreateNestedOneWithoutMaterialChangeLogInput = {
|
|
812
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialChangeLogInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialChangeLogInput>
|
|
813
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutMaterialChangeLogInput
|
|
814
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export type DispatchMaterialUpdateOneRequiredWithoutMaterialChangeLogNestedInput = {
|
|
818
|
+
create?: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialChangeLogInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialChangeLogInput>
|
|
819
|
+
connectOrCreate?: Prisma.DispatchMaterialCreateOrConnectWithoutMaterialChangeLogInput
|
|
820
|
+
upsert?: Prisma.DispatchMaterialUpsertWithoutMaterialChangeLogInput
|
|
821
|
+
connect?: Prisma.DispatchMaterialWhereUniqueInput
|
|
822
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchMaterialUpdateToOneWithWhereWithoutMaterialChangeLogInput, Prisma.DispatchMaterialUpdateWithoutMaterialChangeLogInput>, Prisma.DispatchMaterialUncheckedUpdateWithoutMaterialChangeLogInput>
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
export type DispatchMaterialCreateWithoutDispatchProjectInput = {
|
|
826
|
+
id?: string
|
|
827
|
+
no?: number
|
|
828
|
+
materialCode?: string | null
|
|
829
|
+
materialName?: string | null
|
|
830
|
+
description?: string | null
|
|
831
|
+
unit?: string | null
|
|
832
|
+
status?: string
|
|
833
|
+
quantityAdded?: string
|
|
834
|
+
quantityUsed?: string
|
|
835
|
+
quantityRemaining?: string
|
|
836
|
+
createdAt?: Date | string
|
|
837
|
+
updatedAt?: Date | string
|
|
838
|
+
deletedAt?: Date | string | null
|
|
839
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
840
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
841
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
842
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
843
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
844
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
845
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
export type DispatchMaterialUncheckedCreateWithoutDispatchProjectInput = {
|
|
849
|
+
id?: string
|
|
850
|
+
no?: number
|
|
851
|
+
materialbomId?: string | null
|
|
852
|
+
materialCode?: string | null
|
|
853
|
+
materialName?: string | null
|
|
854
|
+
description?: string | null
|
|
855
|
+
unit?: string | null
|
|
856
|
+
status?: string
|
|
857
|
+
quantityAdded?: string
|
|
858
|
+
quantityUsed?: string
|
|
859
|
+
quantityRemaining?: string
|
|
860
|
+
createdAt?: Date | string
|
|
861
|
+
updatedAt?: Date | string
|
|
862
|
+
deletedAt?: Date | string | null
|
|
863
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
864
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
865
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
866
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
867
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
868
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export type DispatchMaterialCreateOrConnectWithoutDispatchProjectInput = {
|
|
872
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
873
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput>
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export type DispatchMaterialCreateManyDispatchProjectInputEnvelope = {
|
|
877
|
+
data: Prisma.DispatchMaterialCreateManyDispatchProjectInput | Prisma.DispatchMaterialCreateManyDispatchProjectInput[]
|
|
878
|
+
skipDuplicates?: boolean
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export type DispatchMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput = {
|
|
882
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
883
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedUpdateWithoutDispatchProjectInput>
|
|
884
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedCreateWithoutDispatchProjectInput>
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
export type DispatchMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput = {
|
|
888
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
889
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutDispatchProjectInput, Prisma.DispatchMaterialUncheckedUpdateWithoutDispatchProjectInput>
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
export type DispatchMaterialUpdateManyWithWhereWithoutDispatchProjectInput = {
|
|
893
|
+
where: Prisma.DispatchMaterialScalarWhereInput
|
|
894
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateManyMutationInput, Prisma.DispatchMaterialUncheckedUpdateManyWithoutDispatchProjectInput>
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
export type DispatchMaterialScalarWhereInput = {
|
|
898
|
+
AND?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
899
|
+
OR?: Prisma.DispatchMaterialScalarWhereInput[]
|
|
900
|
+
NOT?: Prisma.DispatchMaterialScalarWhereInput | Prisma.DispatchMaterialScalarWhereInput[]
|
|
901
|
+
id?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
902
|
+
no?: Prisma.IntFilter<"DispatchMaterial"> | number
|
|
903
|
+
materialbomId?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
904
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
905
|
+
materialCode?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
906
|
+
materialName?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
907
|
+
description?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
908
|
+
unit?: Prisma.StringNullableFilter<"DispatchMaterial"> | string | null
|
|
909
|
+
status?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
910
|
+
quantityAdded?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
911
|
+
quantityUsed?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
912
|
+
quantityRemaining?: Prisma.StringFilter<"DispatchMaterial"> | string
|
|
913
|
+
createdAt?: Prisma.DateTimeFilter<"DispatchMaterial"> | Date | string
|
|
914
|
+
updatedAt?: Prisma.DateTimeFilter<"DispatchMaterial"> | Date | string
|
|
915
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DispatchMaterial"> | Date | string | null
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export type DispatchMaterialCreateWithoutMaterialBillOfMaterialInput = {
|
|
919
|
+
id?: string
|
|
920
|
+
no?: number
|
|
921
|
+
materialCode?: string | null
|
|
922
|
+
materialName?: string | null
|
|
923
|
+
description?: string | null
|
|
924
|
+
unit?: string | null
|
|
925
|
+
status?: string
|
|
926
|
+
quantityAdded?: string
|
|
927
|
+
quantityUsed?: string
|
|
928
|
+
quantityRemaining?: string
|
|
929
|
+
createdAt?: Date | string
|
|
930
|
+
updatedAt?: Date | string
|
|
931
|
+
deletedAt?: Date | string | null
|
|
932
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
933
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
934
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
935
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
936
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
937
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
938
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export type DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput = {
|
|
942
|
+
id?: string
|
|
943
|
+
no?: number
|
|
944
|
+
dispatchProjectId?: string | null
|
|
945
|
+
materialCode?: string | null
|
|
946
|
+
materialName?: string | null
|
|
947
|
+
description?: string | null
|
|
948
|
+
unit?: string | null
|
|
949
|
+
status?: string
|
|
950
|
+
quantityAdded?: string
|
|
951
|
+
quantityUsed?: string
|
|
952
|
+
quantityRemaining?: string
|
|
953
|
+
createdAt?: Date | string
|
|
954
|
+
updatedAt?: Date | string
|
|
955
|
+
deletedAt?: Date | string | null
|
|
956
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
957
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
958
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
959
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
960
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
961
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export type DispatchMaterialCreateOrConnectWithoutMaterialBillOfMaterialInput = {
|
|
965
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
966
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput>
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export type DispatchMaterialCreateManyMaterialBillOfMaterialInputEnvelope = {
|
|
970
|
+
data: Prisma.DispatchMaterialCreateManyMaterialBillOfMaterialInput | Prisma.DispatchMaterialCreateManyMaterialBillOfMaterialInput[]
|
|
971
|
+
skipDuplicates?: boolean
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
export type DispatchMaterialUpsertWithWhereUniqueWithoutMaterialBillOfMaterialInput = {
|
|
975
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
976
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutMaterialBillOfMaterialInput>
|
|
977
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialBillOfMaterialInput>
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export type DispatchMaterialUpdateWithWhereUniqueWithoutMaterialBillOfMaterialInput = {
|
|
981
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
982
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutMaterialBillOfMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutMaterialBillOfMaterialInput>
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
export type DispatchMaterialUpdateManyWithWhereWithoutMaterialBillOfMaterialInput = {
|
|
986
|
+
where: Prisma.DispatchMaterialScalarWhereInput
|
|
987
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateManyMutationInput, Prisma.DispatchMaterialUncheckedUpdateManyWithoutMaterialBillOfMaterialInput>
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
export type DispatchMaterialCreateWithoutStockMovementInput = {
|
|
991
|
+
id?: string
|
|
992
|
+
no?: number
|
|
993
|
+
materialCode?: string | null
|
|
994
|
+
materialName?: string | null
|
|
995
|
+
description?: string | null
|
|
996
|
+
unit?: string | null
|
|
997
|
+
status?: string
|
|
998
|
+
quantityAdded?: string
|
|
999
|
+
quantityUsed?: string
|
|
1000
|
+
quantityRemaining?: string
|
|
1001
|
+
createdAt?: Date | string
|
|
1002
|
+
updatedAt?: Date | string
|
|
1003
|
+
deletedAt?: Date | string | null
|
|
1004
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
1005
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
1006
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
1007
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
1008
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
1009
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
1010
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export type DispatchMaterialUncheckedCreateWithoutStockMovementInput = {
|
|
1014
|
+
id?: string
|
|
1015
|
+
no?: number
|
|
1016
|
+
materialbomId?: string | null
|
|
1017
|
+
dispatchProjectId?: string | null
|
|
1018
|
+
materialCode?: string | null
|
|
1019
|
+
materialName?: string | null
|
|
1020
|
+
description?: string | null
|
|
1021
|
+
unit?: string | null
|
|
1022
|
+
status?: string
|
|
1023
|
+
quantityAdded?: string
|
|
1024
|
+
quantityUsed?: string
|
|
1025
|
+
quantityRemaining?: string
|
|
1026
|
+
createdAt?: Date | string
|
|
1027
|
+
updatedAt?: Date | string
|
|
1028
|
+
deletedAt?: Date | string | null
|
|
1029
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1030
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1031
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1032
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1033
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
export type DispatchMaterialCreateOrConnectWithoutStockMovementInput = {
|
|
1037
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1038
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput>
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export type DispatchMaterialUpsertWithWhereUniqueWithoutStockMovementInput = {
|
|
1042
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1043
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedUpdateWithoutStockMovementInput>
|
|
1044
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedCreateWithoutStockMovementInput>
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
export type DispatchMaterialUpdateWithWhereUniqueWithoutStockMovementInput = {
|
|
1048
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1049
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutStockMovementInput, Prisma.DispatchMaterialUncheckedUpdateWithoutStockMovementInput>
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
export type DispatchMaterialUpdateManyWithWhereWithoutStockMovementInput = {
|
|
1053
|
+
where: Prisma.DispatchMaterialScalarWhereInput
|
|
1054
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateManyMutationInput, Prisma.DispatchMaterialUncheckedUpdateManyWithoutStockMovementInput>
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
export type DispatchMaterialCreateWithoutClientMaterialInput = {
|
|
1058
|
+
id?: string
|
|
1059
|
+
no?: number
|
|
1060
|
+
materialCode?: string | null
|
|
1061
|
+
materialName?: string | null
|
|
1062
|
+
description?: string | null
|
|
1063
|
+
unit?: string | null
|
|
1064
|
+
status?: string
|
|
1065
|
+
quantityAdded?: string
|
|
1066
|
+
quantityUsed?: string
|
|
1067
|
+
quantityRemaining?: string
|
|
1068
|
+
createdAt?: Date | string
|
|
1069
|
+
updatedAt?: Date | string
|
|
1070
|
+
deletedAt?: Date | string | null
|
|
1071
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
1072
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
1073
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
1074
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
1075
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
1076
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
1077
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
export type DispatchMaterialUncheckedCreateWithoutClientMaterialInput = {
|
|
1081
|
+
id?: string
|
|
1082
|
+
no?: number
|
|
1083
|
+
materialbomId?: string | null
|
|
1084
|
+
dispatchProjectId?: string | null
|
|
1085
|
+
materialCode?: string | null
|
|
1086
|
+
materialName?: string | null
|
|
1087
|
+
description?: string | null
|
|
1088
|
+
unit?: string | null
|
|
1089
|
+
status?: string
|
|
1090
|
+
quantityAdded?: string
|
|
1091
|
+
quantityUsed?: string
|
|
1092
|
+
quantityRemaining?: string
|
|
1093
|
+
createdAt?: Date | string
|
|
1094
|
+
updatedAt?: Date | string
|
|
1095
|
+
deletedAt?: Date | string | null
|
|
1096
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
1097
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1098
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1099
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1100
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
export type DispatchMaterialCreateOrConnectWithoutClientMaterialInput = {
|
|
1104
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1105
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutClientMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutClientMaterialInput>
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export type DispatchMaterialUpsertWithoutClientMaterialInput = {
|
|
1109
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutClientMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutClientMaterialInput>
|
|
1110
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutClientMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutClientMaterialInput>
|
|
1111
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
export type DispatchMaterialUpdateToOneWithWhereWithoutClientMaterialInput = {
|
|
1115
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1116
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutClientMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutClientMaterialInput>
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export type DispatchMaterialUpdateWithoutClientMaterialInput = {
|
|
1120
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1121
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1122
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1123
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1124
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1125
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1126
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1127
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1128
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1129
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1130
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1131
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1132
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1133
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
1134
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
1135
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
1136
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
1137
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
1138
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
1139
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export type DispatchMaterialUncheckedUpdateWithoutClientMaterialInput = {
|
|
1143
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1144
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1145
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1146
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1147
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1148
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1149
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1150
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1151
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1152
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1153
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1154
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1155
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1156
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1157
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1158
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1159
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1160
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1161
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1162
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
export type DispatchMaterialCreateWithoutSubsidiaryMaterialInput = {
|
|
1166
|
+
id?: string
|
|
1167
|
+
no?: number
|
|
1168
|
+
materialCode?: string | null
|
|
1169
|
+
materialName?: string | null
|
|
1170
|
+
description?: string | null
|
|
1171
|
+
unit?: string | null
|
|
1172
|
+
status?: string
|
|
1173
|
+
quantityAdded?: string
|
|
1174
|
+
quantityUsed?: string
|
|
1175
|
+
quantityRemaining?: string
|
|
1176
|
+
createdAt?: Date | string
|
|
1177
|
+
updatedAt?: Date | string
|
|
1178
|
+
deletedAt?: Date | string | null
|
|
1179
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
1180
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
1181
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
1182
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
1183
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
1184
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
1185
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
export type DispatchMaterialUncheckedCreateWithoutSubsidiaryMaterialInput = {
|
|
1189
|
+
id?: string
|
|
1190
|
+
no?: number
|
|
1191
|
+
materialbomId?: string | null
|
|
1192
|
+
dispatchProjectId?: string | null
|
|
1193
|
+
materialCode?: string | null
|
|
1194
|
+
materialName?: string | null
|
|
1195
|
+
description?: string | null
|
|
1196
|
+
unit?: string | null
|
|
1197
|
+
status?: string
|
|
1198
|
+
quantityAdded?: string
|
|
1199
|
+
quantityUsed?: string
|
|
1200
|
+
quantityRemaining?: string
|
|
1201
|
+
createdAt?: Date | string
|
|
1202
|
+
updatedAt?: Date | string
|
|
1203
|
+
deletedAt?: Date | string | null
|
|
1204
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
1205
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1206
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1207
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1208
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
export type DispatchMaterialCreateOrConnectWithoutSubsidiaryMaterialInput = {
|
|
1212
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1213
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutSubsidiaryMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutSubsidiaryMaterialInput>
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
export type DispatchMaterialUpsertWithoutSubsidiaryMaterialInput = {
|
|
1217
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutSubsidiaryMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutSubsidiaryMaterialInput>
|
|
1218
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutSubsidiaryMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutSubsidiaryMaterialInput>
|
|
1219
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
export type DispatchMaterialUpdateToOneWithWhereWithoutSubsidiaryMaterialInput = {
|
|
1223
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1224
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutSubsidiaryMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutSubsidiaryMaterialInput>
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
export type DispatchMaterialUpdateWithoutSubsidiaryMaterialInput = {
|
|
1228
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1229
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1230
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1231
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1232
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1233
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1234
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1235
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1236
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1237
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1238
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1239
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1240
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1241
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
1242
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
1243
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
1244
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
1245
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
1246
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
1247
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
export type DispatchMaterialUncheckedUpdateWithoutSubsidiaryMaterialInput = {
|
|
1251
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1252
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1253
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1254
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1255
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1256
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1257
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1258
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1259
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1260
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1261
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1262
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1263
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1264
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1265
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1266
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1267
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1268
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1269
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1270
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export type DispatchMaterialCreateWithoutTeamMaterialInput = {
|
|
1274
|
+
id?: string
|
|
1275
|
+
no?: number
|
|
1276
|
+
materialCode?: string | null
|
|
1277
|
+
materialName?: string | null
|
|
1278
|
+
description?: string | null
|
|
1279
|
+
unit?: string | null
|
|
1280
|
+
status?: string
|
|
1281
|
+
quantityAdded?: string
|
|
1282
|
+
quantityUsed?: string
|
|
1283
|
+
quantityRemaining?: string
|
|
1284
|
+
createdAt?: Date | string
|
|
1285
|
+
updatedAt?: Date | string
|
|
1286
|
+
deletedAt?: Date | string | null
|
|
1287
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
1288
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
1289
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
1290
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
1291
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
1292
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
1293
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
export type DispatchMaterialUncheckedCreateWithoutTeamMaterialInput = {
|
|
1297
|
+
id?: string
|
|
1298
|
+
no?: number
|
|
1299
|
+
materialbomId?: string | null
|
|
1300
|
+
dispatchProjectId?: string | null
|
|
1301
|
+
materialCode?: string | null
|
|
1302
|
+
materialName?: string | null
|
|
1303
|
+
description?: string | null
|
|
1304
|
+
unit?: string | null
|
|
1305
|
+
status?: string
|
|
1306
|
+
quantityAdded?: string
|
|
1307
|
+
quantityUsed?: string
|
|
1308
|
+
quantityRemaining?: string
|
|
1309
|
+
createdAt?: Date | string
|
|
1310
|
+
updatedAt?: Date | string
|
|
1311
|
+
deletedAt?: Date | string | null
|
|
1312
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
1313
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1314
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1315
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1316
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
export type DispatchMaterialCreateOrConnectWithoutTeamMaterialInput = {
|
|
1320
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1321
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutTeamMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutTeamMaterialInput>
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export type DispatchMaterialUpsertWithoutTeamMaterialInput = {
|
|
1325
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutTeamMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutTeamMaterialInput>
|
|
1326
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutTeamMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutTeamMaterialInput>
|
|
1327
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
export type DispatchMaterialUpdateToOneWithWhereWithoutTeamMaterialInput = {
|
|
1331
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1332
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutTeamMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutTeamMaterialInput>
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
export type DispatchMaterialUpdateWithoutTeamMaterialInput = {
|
|
1336
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1337
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1338
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1339
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1340
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1341
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1342
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1343
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1344
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1345
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1346
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1347
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1348
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1349
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
1350
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
1351
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
1352
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
1353
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
1354
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
1355
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
export type DispatchMaterialUncheckedUpdateWithoutTeamMaterialInput = {
|
|
1359
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1360
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1361
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1362
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1363
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1364
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1365
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1366
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1367
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1368
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1369
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1370
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1371
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1372
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1373
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1374
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1375
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1376
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1377
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1378
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
export type DispatchMaterialCreateWithoutWorkOrderMaterialInput = {
|
|
1382
|
+
id?: string
|
|
1383
|
+
no?: number
|
|
1384
|
+
materialCode?: string | null
|
|
1385
|
+
materialName?: string | null
|
|
1386
|
+
description?: string | null
|
|
1387
|
+
unit?: string | null
|
|
1388
|
+
status?: string
|
|
1389
|
+
quantityAdded?: string
|
|
1390
|
+
quantityUsed?: string
|
|
1391
|
+
quantityRemaining?: string
|
|
1392
|
+
createdAt?: Date | string
|
|
1393
|
+
updatedAt?: Date | string
|
|
1394
|
+
deletedAt?: Date | string | null
|
|
1395
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
1396
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
1397
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
1398
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
1399
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
1400
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
1401
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogCreateNestedManyWithoutMaterialInput
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
export type DispatchMaterialUncheckedCreateWithoutWorkOrderMaterialInput = {
|
|
1405
|
+
id?: string
|
|
1406
|
+
no?: number
|
|
1407
|
+
materialbomId?: string | null
|
|
1408
|
+
dispatchProjectId?: string | null
|
|
1409
|
+
materialCode?: string | null
|
|
1410
|
+
materialName?: string | null
|
|
1411
|
+
description?: string | null
|
|
1412
|
+
unit?: string | null
|
|
1413
|
+
status?: string
|
|
1414
|
+
quantityAdded?: string
|
|
1415
|
+
quantityUsed?: string
|
|
1416
|
+
quantityRemaining?: string
|
|
1417
|
+
createdAt?: Date | string
|
|
1418
|
+
updatedAt?: Date | string
|
|
1419
|
+
deletedAt?: Date | string | null
|
|
1420
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
1421
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1422
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1423
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1424
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
export type DispatchMaterialCreateOrConnectWithoutWorkOrderMaterialInput = {
|
|
1428
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1429
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutWorkOrderMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutWorkOrderMaterialInput>
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
export type DispatchMaterialUpsertWithoutWorkOrderMaterialInput = {
|
|
1433
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutWorkOrderMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutWorkOrderMaterialInput>
|
|
1434
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutWorkOrderMaterialInput, Prisma.DispatchMaterialUncheckedCreateWithoutWorkOrderMaterialInput>
|
|
1435
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
export type DispatchMaterialUpdateToOneWithWhereWithoutWorkOrderMaterialInput = {
|
|
1439
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1440
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutWorkOrderMaterialInput, Prisma.DispatchMaterialUncheckedUpdateWithoutWorkOrderMaterialInput>
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
export type DispatchMaterialUpdateWithoutWorkOrderMaterialInput = {
|
|
1444
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1445
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1446
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1447
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1448
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1449
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1450
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1451
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1452
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1453
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1454
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1455
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1456
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1457
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
1458
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
1459
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
1460
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
1461
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
1462
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
1463
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
export type DispatchMaterialUncheckedUpdateWithoutWorkOrderMaterialInput = {
|
|
1467
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1468
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1469
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1470
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1471
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1472
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1473
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1474
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1475
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1476
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1477
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1478
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1479
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1480
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1481
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1482
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1483
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1484
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1485
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1486
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
export type DispatchMaterialCreateWithoutMaterialChangeLogInput = {
|
|
1490
|
+
id?: string
|
|
1491
|
+
no?: number
|
|
1492
|
+
materialCode?: string | null
|
|
1493
|
+
materialName?: string | null
|
|
1494
|
+
description?: string | null
|
|
1495
|
+
unit?: string | null
|
|
1496
|
+
status?: string
|
|
1497
|
+
quantityAdded?: string
|
|
1498
|
+
quantityUsed?: string
|
|
1499
|
+
quantityRemaining?: string
|
|
1500
|
+
createdAt?: Date | string
|
|
1501
|
+
updatedAt?: Date | string
|
|
1502
|
+
deletedAt?: Date | string | null
|
|
1503
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput
|
|
1504
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutDispatchMaterialInput
|
|
1505
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutMaterialInput
|
|
1506
|
+
clientMaterial?: Prisma.clientMaterialCreateNestedManyWithoutMaterialInput
|
|
1507
|
+
teamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutMaterialInput
|
|
1508
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialCreateNestedManyWithoutMaterialInput
|
|
1509
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialCreateNestedManyWithoutMaterialInput
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
export type DispatchMaterialUncheckedCreateWithoutMaterialChangeLogInput = {
|
|
1513
|
+
id?: string
|
|
1514
|
+
no?: number
|
|
1515
|
+
materialbomId?: string | null
|
|
1516
|
+
dispatchProjectId?: string | null
|
|
1517
|
+
materialCode?: string | null
|
|
1518
|
+
materialName?: string | null
|
|
1519
|
+
description?: string | null
|
|
1520
|
+
unit?: string | null
|
|
1521
|
+
status?: string
|
|
1522
|
+
quantityAdded?: string
|
|
1523
|
+
quantityUsed?: string
|
|
1524
|
+
quantityRemaining?: string
|
|
1525
|
+
createdAt?: Date | string
|
|
1526
|
+
updatedAt?: Date | string
|
|
1527
|
+
deletedAt?: Date | string | null
|
|
1528
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutMaterialInput
|
|
1529
|
+
clientMaterial?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1530
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1531
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1532
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
export type DispatchMaterialCreateOrConnectWithoutMaterialChangeLogInput = {
|
|
1536
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
1537
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialChangeLogInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialChangeLogInput>
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
export type DispatchMaterialUpsertWithoutMaterialChangeLogInput = {
|
|
1541
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutMaterialChangeLogInput, Prisma.DispatchMaterialUncheckedUpdateWithoutMaterialChangeLogInput>
|
|
1542
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateWithoutMaterialChangeLogInput, Prisma.DispatchMaterialUncheckedCreateWithoutMaterialChangeLogInput>
|
|
1543
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
export type DispatchMaterialUpdateToOneWithWhereWithoutMaterialChangeLogInput = {
|
|
1547
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
1548
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateWithoutMaterialChangeLogInput, Prisma.DispatchMaterialUncheckedUpdateWithoutMaterialChangeLogInput>
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
export type DispatchMaterialUpdateWithoutMaterialChangeLogInput = {
|
|
1552
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1553
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1554
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1555
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1556
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1557
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1558
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1559
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1560
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1561
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1562
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1563
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1564
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1565
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
1566
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
1567
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
1568
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
1569
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
1570
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
1571
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
export type DispatchMaterialUncheckedUpdateWithoutMaterialChangeLogInput = {
|
|
1575
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1576
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1577
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1578
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1579
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1580
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1581
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1582
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1583
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1584
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1585
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1586
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1587
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1588
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1589
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1590
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1591
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1592
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1593
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1594
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
export type DispatchMaterialCreateManyDispatchProjectInput = {
|
|
1598
|
+
id?: string
|
|
1599
|
+
no?: number
|
|
1600
|
+
materialbomId?: string | null
|
|
1601
|
+
materialCode?: string | null
|
|
1602
|
+
materialName?: string | null
|
|
1603
|
+
description?: string | null
|
|
1604
|
+
unit?: string | null
|
|
1605
|
+
status?: string
|
|
1606
|
+
quantityAdded?: string
|
|
1607
|
+
quantityUsed?: string
|
|
1608
|
+
quantityRemaining?: string
|
|
1609
|
+
createdAt?: Date | string
|
|
1610
|
+
updatedAt?: Date | string
|
|
1611
|
+
deletedAt?: Date | string | null
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
export type DispatchMaterialUpdateWithoutDispatchProjectInput = {
|
|
1615
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1616
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1617
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1618
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1619
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1620
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1621
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1622
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1623
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1624
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1625
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1626
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1627
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1628
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
1629
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
1630
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
1631
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
1632
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
1633
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
1634
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
export type DispatchMaterialUncheckedUpdateWithoutDispatchProjectInput = {
|
|
1638
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1639
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1640
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1641
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1642
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1643
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1644
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1645
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1646
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1647
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1648
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1649
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1650
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1651
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1652
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1653
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1654
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1655
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1656
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1657
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
export type DispatchMaterialUncheckedUpdateManyWithoutDispatchProjectInput = {
|
|
1661
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1662
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1663
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1664
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1665
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1666
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1667
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1668
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1669
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1670
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1671
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1672
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1673
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1674
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
export type DispatchMaterialCreateManyMaterialBillOfMaterialInput = {
|
|
1678
|
+
id?: string
|
|
1679
|
+
no?: number
|
|
1680
|
+
dispatchProjectId?: string | null
|
|
1681
|
+
materialCode?: string | null
|
|
1682
|
+
materialName?: string | null
|
|
1683
|
+
description?: string | null
|
|
1684
|
+
unit?: string | null
|
|
1685
|
+
status?: string
|
|
1686
|
+
quantityAdded?: string
|
|
1687
|
+
quantityUsed?: string
|
|
1688
|
+
quantityRemaining?: string
|
|
1689
|
+
createdAt?: Date | string
|
|
1690
|
+
updatedAt?: Date | string
|
|
1691
|
+
deletedAt?: Date | string | null
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
export type DispatchMaterialUpdateWithoutMaterialBillOfMaterialInput = {
|
|
1695
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1696
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1697
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1698
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1699
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1700
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1701
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1702
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1703
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1704
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1705
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1706
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1707
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1708
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
1709
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutMaterialNestedInput
|
|
1710
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
1711
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
1712
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
1713
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
1714
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
export type DispatchMaterialUncheckedUpdateWithoutMaterialBillOfMaterialInput = {
|
|
1718
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1719
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1720
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1721
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1722
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1723
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1724
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1725
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1726
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1727
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1728
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1729
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1730
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1731
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1732
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1733
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1734
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1735
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1736
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1737
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
export type DispatchMaterialUncheckedUpdateManyWithoutMaterialBillOfMaterialInput = {
|
|
1741
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1742
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1743
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1744
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1745
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1746
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1747
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1748
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1749
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1750
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1751
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1752
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1753
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1754
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
export type DispatchMaterialUpdateWithoutStockMovementInput = {
|
|
1758
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1759
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1760
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1761
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1762
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1763
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1764
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1765
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1766
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1767
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1768
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1769
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1770
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1771
|
+
materialBillOfMaterial?: Prisma.MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput
|
|
1772
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutDispatchMaterialNestedInput
|
|
1773
|
+
clientMaterial?: Prisma.clientMaterialUpdateManyWithoutMaterialNestedInput
|
|
1774
|
+
teamMaterial?: Prisma.TeamMaterialUpdateManyWithoutMaterialNestedInput
|
|
1775
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUpdateManyWithoutMaterialNestedInput
|
|
1776
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUpdateManyWithoutMaterialNestedInput
|
|
1777
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUpdateManyWithoutMaterialNestedInput
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
export type DispatchMaterialUncheckedUpdateWithoutStockMovementInput = {
|
|
1781
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1782
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1783
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1784
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1785
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1786
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1787
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1788
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1789
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1790
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1791
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1792
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1793
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1794
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1795
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1796
|
+
clientMaterial?: Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1797
|
+
teamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1798
|
+
workOrderMaterial?: Prisma.WorkOrderMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1799
|
+
subsidiaryMaterial?: Prisma.SubsidiaryMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1800
|
+
MaterialChangeLog?: Prisma.MaterialChangeLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
export type DispatchMaterialUncheckedUpdateManyWithoutStockMovementInput = {
|
|
1804
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1805
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1806
|
+
materialbomId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1807
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1808
|
+
materialCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1809
|
+
materialName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1810
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1811
|
+
unit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1812
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1813
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1814
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1815
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1816
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1817
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1818
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* Count Type DispatchMaterialCountOutputType
|
|
1824
|
+
*/
|
|
1825
|
+
|
|
1826
|
+
export type DispatchMaterialCountOutputType = {
|
|
1827
|
+
stockMovement: number
|
|
1828
|
+
clientMaterial: number
|
|
1829
|
+
teamMaterial: number
|
|
1830
|
+
workOrderMaterial: number
|
|
1831
|
+
subsidiaryMaterial: number
|
|
1832
|
+
MaterialChangeLog: number
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
export type DispatchMaterialCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1836
|
+
stockMovement?: boolean | DispatchMaterialCountOutputTypeCountStockMovementArgs
|
|
1837
|
+
clientMaterial?: boolean | DispatchMaterialCountOutputTypeCountClientMaterialArgs
|
|
1838
|
+
teamMaterial?: boolean | DispatchMaterialCountOutputTypeCountTeamMaterialArgs
|
|
1839
|
+
workOrderMaterial?: boolean | DispatchMaterialCountOutputTypeCountWorkOrderMaterialArgs
|
|
1840
|
+
subsidiaryMaterial?: boolean | DispatchMaterialCountOutputTypeCountSubsidiaryMaterialArgs
|
|
1841
|
+
MaterialChangeLog?: boolean | DispatchMaterialCountOutputTypeCountMaterialChangeLogArgs
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* DispatchMaterialCountOutputType without action
|
|
1846
|
+
*/
|
|
1847
|
+
export type DispatchMaterialCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1848
|
+
/**
|
|
1849
|
+
* Select specific fields to fetch from the DispatchMaterialCountOutputType
|
|
1850
|
+
*/
|
|
1851
|
+
select?: Prisma.DispatchMaterialCountOutputTypeSelect<ExtArgs> | null
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* DispatchMaterialCountOutputType without action
|
|
1856
|
+
*/
|
|
1857
|
+
export type DispatchMaterialCountOutputTypeCountStockMovementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1858
|
+
where?: Prisma.StockMovementWhereInput
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* DispatchMaterialCountOutputType without action
|
|
1863
|
+
*/
|
|
1864
|
+
export type DispatchMaterialCountOutputTypeCountClientMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1865
|
+
where?: Prisma.clientMaterialWhereInput
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* DispatchMaterialCountOutputType without action
|
|
1870
|
+
*/
|
|
1871
|
+
export type DispatchMaterialCountOutputTypeCountTeamMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1872
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* DispatchMaterialCountOutputType without action
|
|
1877
|
+
*/
|
|
1878
|
+
export type DispatchMaterialCountOutputTypeCountWorkOrderMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1879
|
+
where?: Prisma.WorkOrderMaterialWhereInput
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* DispatchMaterialCountOutputType without action
|
|
1884
|
+
*/
|
|
1885
|
+
export type DispatchMaterialCountOutputTypeCountSubsidiaryMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1886
|
+
where?: Prisma.SubsidiaryMaterialWhereInput
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* DispatchMaterialCountOutputType without action
|
|
1891
|
+
*/
|
|
1892
|
+
export type DispatchMaterialCountOutputTypeCountMaterialChangeLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1893
|
+
where?: Prisma.MaterialChangeLogWhereInput
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
export type DispatchMaterialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1898
|
+
id?: boolean
|
|
1899
|
+
no?: boolean
|
|
1900
|
+
materialbomId?: boolean
|
|
1901
|
+
dispatchProjectId?: boolean
|
|
1902
|
+
materialCode?: boolean
|
|
1903
|
+
materialName?: boolean
|
|
1904
|
+
description?: boolean
|
|
1905
|
+
unit?: boolean
|
|
1906
|
+
status?: boolean
|
|
1907
|
+
quantityAdded?: boolean
|
|
1908
|
+
quantityUsed?: boolean
|
|
1909
|
+
quantityRemaining?: boolean
|
|
1910
|
+
createdAt?: boolean
|
|
1911
|
+
updatedAt?: boolean
|
|
1912
|
+
deletedAt?: boolean
|
|
1913
|
+
materialBillOfMaterial?: boolean | Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs>
|
|
1914
|
+
dispatchProject?: boolean | Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs>
|
|
1915
|
+
stockMovement?: boolean | Prisma.DispatchMaterial$stockMovementArgs<ExtArgs>
|
|
1916
|
+
clientMaterial?: boolean | Prisma.DispatchMaterial$clientMaterialArgs<ExtArgs>
|
|
1917
|
+
teamMaterial?: boolean | Prisma.DispatchMaterial$teamMaterialArgs<ExtArgs>
|
|
1918
|
+
workOrderMaterial?: boolean | Prisma.DispatchMaterial$workOrderMaterialArgs<ExtArgs>
|
|
1919
|
+
subsidiaryMaterial?: boolean | Prisma.DispatchMaterial$subsidiaryMaterialArgs<ExtArgs>
|
|
1920
|
+
MaterialChangeLog?: boolean | Prisma.DispatchMaterial$MaterialChangeLogArgs<ExtArgs>
|
|
1921
|
+
_count?: boolean | Prisma.DispatchMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
1922
|
+
}, ExtArgs["result"]["dispatchMaterial"]>
|
|
1923
|
+
|
|
1924
|
+
export type DispatchMaterialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1925
|
+
id?: boolean
|
|
1926
|
+
no?: boolean
|
|
1927
|
+
materialbomId?: boolean
|
|
1928
|
+
dispatchProjectId?: boolean
|
|
1929
|
+
materialCode?: boolean
|
|
1930
|
+
materialName?: boolean
|
|
1931
|
+
description?: boolean
|
|
1932
|
+
unit?: boolean
|
|
1933
|
+
status?: boolean
|
|
1934
|
+
quantityAdded?: boolean
|
|
1935
|
+
quantityUsed?: boolean
|
|
1936
|
+
quantityRemaining?: boolean
|
|
1937
|
+
createdAt?: boolean
|
|
1938
|
+
updatedAt?: boolean
|
|
1939
|
+
deletedAt?: boolean
|
|
1940
|
+
materialBillOfMaterial?: boolean | Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs>
|
|
1941
|
+
dispatchProject?: boolean | Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs>
|
|
1942
|
+
}, ExtArgs["result"]["dispatchMaterial"]>
|
|
1943
|
+
|
|
1944
|
+
export type DispatchMaterialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1945
|
+
id?: boolean
|
|
1946
|
+
no?: boolean
|
|
1947
|
+
materialbomId?: boolean
|
|
1948
|
+
dispatchProjectId?: boolean
|
|
1949
|
+
materialCode?: boolean
|
|
1950
|
+
materialName?: boolean
|
|
1951
|
+
description?: boolean
|
|
1952
|
+
unit?: boolean
|
|
1953
|
+
status?: boolean
|
|
1954
|
+
quantityAdded?: boolean
|
|
1955
|
+
quantityUsed?: boolean
|
|
1956
|
+
quantityRemaining?: boolean
|
|
1957
|
+
createdAt?: boolean
|
|
1958
|
+
updatedAt?: boolean
|
|
1959
|
+
deletedAt?: boolean
|
|
1960
|
+
materialBillOfMaterial?: boolean | Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs>
|
|
1961
|
+
dispatchProject?: boolean | Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs>
|
|
1962
|
+
}, ExtArgs["result"]["dispatchMaterial"]>
|
|
1963
|
+
|
|
1964
|
+
export type DispatchMaterialSelectScalar = {
|
|
1965
|
+
id?: boolean
|
|
1966
|
+
no?: boolean
|
|
1967
|
+
materialbomId?: boolean
|
|
1968
|
+
dispatchProjectId?: boolean
|
|
1969
|
+
materialCode?: boolean
|
|
1970
|
+
materialName?: boolean
|
|
1971
|
+
description?: boolean
|
|
1972
|
+
unit?: boolean
|
|
1973
|
+
status?: boolean
|
|
1974
|
+
quantityAdded?: boolean
|
|
1975
|
+
quantityUsed?: boolean
|
|
1976
|
+
quantityRemaining?: boolean
|
|
1977
|
+
createdAt?: boolean
|
|
1978
|
+
updatedAt?: boolean
|
|
1979
|
+
deletedAt?: boolean
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
export type DispatchMaterialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "materialbomId" | "dispatchProjectId" | "materialCode" | "materialName" | "description" | "unit" | "status" | "quantityAdded" | "quantityUsed" | "quantityRemaining" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["dispatchMaterial"]>
|
|
1983
|
+
export type DispatchMaterialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1984
|
+
materialBillOfMaterial?: boolean | Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs>
|
|
1985
|
+
dispatchProject?: boolean | Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs>
|
|
1986
|
+
stockMovement?: boolean | Prisma.DispatchMaterial$stockMovementArgs<ExtArgs>
|
|
1987
|
+
clientMaterial?: boolean | Prisma.DispatchMaterial$clientMaterialArgs<ExtArgs>
|
|
1988
|
+
teamMaterial?: boolean | Prisma.DispatchMaterial$teamMaterialArgs<ExtArgs>
|
|
1989
|
+
workOrderMaterial?: boolean | Prisma.DispatchMaterial$workOrderMaterialArgs<ExtArgs>
|
|
1990
|
+
subsidiaryMaterial?: boolean | Prisma.DispatchMaterial$subsidiaryMaterialArgs<ExtArgs>
|
|
1991
|
+
MaterialChangeLog?: boolean | Prisma.DispatchMaterial$MaterialChangeLogArgs<ExtArgs>
|
|
1992
|
+
_count?: boolean | Prisma.DispatchMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
1993
|
+
}
|
|
1994
|
+
export type DispatchMaterialIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1995
|
+
materialBillOfMaterial?: boolean | Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs>
|
|
1996
|
+
dispatchProject?: boolean | Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs>
|
|
1997
|
+
}
|
|
1998
|
+
export type DispatchMaterialIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1999
|
+
materialBillOfMaterial?: boolean | Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs>
|
|
2000
|
+
dispatchProject?: boolean | Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs>
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
export type $DispatchMaterialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2004
|
+
name: "DispatchMaterial"
|
|
2005
|
+
objects: {
|
|
2006
|
+
materialBillOfMaterial: Prisma.$MaterialBillOfMaterialPayload<ExtArgs> | null
|
|
2007
|
+
dispatchProject: Prisma.$DispatchProjectPayload<ExtArgs> | null
|
|
2008
|
+
stockMovement: Prisma.$StockMovementPayload<ExtArgs>[]
|
|
2009
|
+
clientMaterial: Prisma.$clientMaterialPayload<ExtArgs>[]
|
|
2010
|
+
teamMaterial: Prisma.$TeamMaterialPayload<ExtArgs>[]
|
|
2011
|
+
workOrderMaterial: Prisma.$WorkOrderMaterialPayload<ExtArgs>[]
|
|
2012
|
+
subsidiaryMaterial: Prisma.$SubsidiaryMaterialPayload<ExtArgs>[]
|
|
2013
|
+
MaterialChangeLog: Prisma.$MaterialChangeLogPayload<ExtArgs>[]
|
|
2014
|
+
}
|
|
2015
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2016
|
+
id: string
|
|
2017
|
+
no: number
|
|
2018
|
+
materialbomId: string | null
|
|
2019
|
+
dispatchProjectId: string | null
|
|
2020
|
+
materialCode: string | null
|
|
2021
|
+
materialName: string | null
|
|
2022
|
+
description: string | null
|
|
2023
|
+
unit: string | null
|
|
2024
|
+
status: string
|
|
2025
|
+
quantityAdded: string
|
|
2026
|
+
quantityUsed: string
|
|
2027
|
+
quantityRemaining: string
|
|
2028
|
+
createdAt: Date
|
|
2029
|
+
updatedAt: Date
|
|
2030
|
+
deletedAt: Date | null
|
|
2031
|
+
}, ExtArgs["result"]["dispatchMaterial"]>
|
|
2032
|
+
composites: {}
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
export type DispatchMaterialGetPayload<S extends boolean | null | undefined | DispatchMaterialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload, S>
|
|
2036
|
+
|
|
2037
|
+
export type DispatchMaterialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
2038
|
+
Omit<DispatchMaterialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2039
|
+
select?: DispatchMaterialCountAggregateInputType | true
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
export interface DispatchMaterialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2043
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DispatchMaterial'], meta: { name: 'DispatchMaterial' } }
|
|
2044
|
+
/**
|
|
2045
|
+
* Find zero or one DispatchMaterial that matches the filter.
|
|
2046
|
+
* @param {DispatchMaterialFindUniqueArgs} args - Arguments to find a DispatchMaterial
|
|
2047
|
+
* @example
|
|
2048
|
+
* // Get one DispatchMaterial
|
|
2049
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.findUnique({
|
|
2050
|
+
* where: {
|
|
2051
|
+
* // ... provide filter here
|
|
2052
|
+
* }
|
|
2053
|
+
* })
|
|
2054
|
+
*/
|
|
2055
|
+
findUnique<T extends DispatchMaterialFindUniqueArgs>(args: Prisma.SelectSubset<T, DispatchMaterialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Find one DispatchMaterial that matches the filter or throw an error with `error.code='P2025'`
|
|
2059
|
+
* if no matches were found.
|
|
2060
|
+
* @param {DispatchMaterialFindUniqueOrThrowArgs} args - Arguments to find a DispatchMaterial
|
|
2061
|
+
* @example
|
|
2062
|
+
* // Get one DispatchMaterial
|
|
2063
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.findUniqueOrThrow({
|
|
2064
|
+
* where: {
|
|
2065
|
+
* // ... provide filter here
|
|
2066
|
+
* }
|
|
2067
|
+
* })
|
|
2068
|
+
*/
|
|
2069
|
+
findUniqueOrThrow<T extends DispatchMaterialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DispatchMaterialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2070
|
+
|
|
2071
|
+
/**
|
|
2072
|
+
* Find the first DispatchMaterial that matches the filter.
|
|
2073
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2074
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2075
|
+
* @param {DispatchMaterialFindFirstArgs} args - Arguments to find a DispatchMaterial
|
|
2076
|
+
* @example
|
|
2077
|
+
* // Get one DispatchMaterial
|
|
2078
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.findFirst({
|
|
2079
|
+
* where: {
|
|
2080
|
+
* // ... provide filter here
|
|
2081
|
+
* }
|
|
2082
|
+
* })
|
|
2083
|
+
*/
|
|
2084
|
+
findFirst<T extends DispatchMaterialFindFirstArgs>(args?: Prisma.SelectSubset<T, DispatchMaterialFindFirstArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* Find the first DispatchMaterial that matches the filter or
|
|
2088
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2089
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2090
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2091
|
+
* @param {DispatchMaterialFindFirstOrThrowArgs} args - Arguments to find a DispatchMaterial
|
|
2092
|
+
* @example
|
|
2093
|
+
* // Get one DispatchMaterial
|
|
2094
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.findFirstOrThrow({
|
|
2095
|
+
* where: {
|
|
2096
|
+
* // ... provide filter here
|
|
2097
|
+
* }
|
|
2098
|
+
* })
|
|
2099
|
+
*/
|
|
2100
|
+
findFirstOrThrow<T extends DispatchMaterialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DispatchMaterialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Find zero or more DispatchMaterials that matches the filter.
|
|
2104
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2105
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2106
|
+
* @param {DispatchMaterialFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2107
|
+
* @example
|
|
2108
|
+
* // Get all DispatchMaterials
|
|
2109
|
+
* const dispatchMaterials = await prisma.dispatchMaterial.findMany()
|
|
2110
|
+
*
|
|
2111
|
+
* // Get first 10 DispatchMaterials
|
|
2112
|
+
* const dispatchMaterials = await prisma.dispatchMaterial.findMany({ take: 10 })
|
|
2113
|
+
*
|
|
2114
|
+
* // Only select the `id`
|
|
2115
|
+
* const dispatchMaterialWithIdOnly = await prisma.dispatchMaterial.findMany({ select: { id: true } })
|
|
2116
|
+
*
|
|
2117
|
+
*/
|
|
2118
|
+
findMany<T extends DispatchMaterialFindManyArgs>(args?: Prisma.SelectSubset<T, DispatchMaterialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* Create a DispatchMaterial.
|
|
2122
|
+
* @param {DispatchMaterialCreateArgs} args - Arguments to create a DispatchMaterial.
|
|
2123
|
+
* @example
|
|
2124
|
+
* // Create one DispatchMaterial
|
|
2125
|
+
* const DispatchMaterial = await prisma.dispatchMaterial.create({
|
|
2126
|
+
* data: {
|
|
2127
|
+
* // ... data to create a DispatchMaterial
|
|
2128
|
+
* }
|
|
2129
|
+
* })
|
|
2130
|
+
*
|
|
2131
|
+
*/
|
|
2132
|
+
create<T extends DispatchMaterialCreateArgs>(args: Prisma.SelectSubset<T, DispatchMaterialCreateArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Create many DispatchMaterials.
|
|
2136
|
+
* @param {DispatchMaterialCreateManyArgs} args - Arguments to create many DispatchMaterials.
|
|
2137
|
+
* @example
|
|
2138
|
+
* // Create many DispatchMaterials
|
|
2139
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.createMany({
|
|
2140
|
+
* data: [
|
|
2141
|
+
* // ... provide data here
|
|
2142
|
+
* ]
|
|
2143
|
+
* })
|
|
2144
|
+
*
|
|
2145
|
+
*/
|
|
2146
|
+
createMany<T extends DispatchMaterialCreateManyArgs>(args?: Prisma.SelectSubset<T, DispatchMaterialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* Create many DispatchMaterials and returns the data saved in the database.
|
|
2150
|
+
* @param {DispatchMaterialCreateManyAndReturnArgs} args - Arguments to create many DispatchMaterials.
|
|
2151
|
+
* @example
|
|
2152
|
+
* // Create many DispatchMaterials
|
|
2153
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.createManyAndReturn({
|
|
2154
|
+
* data: [
|
|
2155
|
+
* // ... provide data here
|
|
2156
|
+
* ]
|
|
2157
|
+
* })
|
|
2158
|
+
*
|
|
2159
|
+
* // Create many DispatchMaterials and only return the `id`
|
|
2160
|
+
* const dispatchMaterialWithIdOnly = await prisma.dispatchMaterial.createManyAndReturn({
|
|
2161
|
+
* select: { id: true },
|
|
2162
|
+
* data: [
|
|
2163
|
+
* // ... provide data here
|
|
2164
|
+
* ]
|
|
2165
|
+
* })
|
|
2166
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2167
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2168
|
+
*
|
|
2169
|
+
*/
|
|
2170
|
+
createManyAndReturn<T extends DispatchMaterialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DispatchMaterialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* Delete a DispatchMaterial.
|
|
2174
|
+
* @param {DispatchMaterialDeleteArgs} args - Arguments to delete one DispatchMaterial.
|
|
2175
|
+
* @example
|
|
2176
|
+
* // Delete one DispatchMaterial
|
|
2177
|
+
* const DispatchMaterial = await prisma.dispatchMaterial.delete({
|
|
2178
|
+
* where: {
|
|
2179
|
+
* // ... filter to delete one DispatchMaterial
|
|
2180
|
+
* }
|
|
2181
|
+
* })
|
|
2182
|
+
*
|
|
2183
|
+
*/
|
|
2184
|
+
delete<T extends DispatchMaterialDeleteArgs>(args: Prisma.SelectSubset<T, DispatchMaterialDeleteArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* Update one DispatchMaterial.
|
|
2188
|
+
* @param {DispatchMaterialUpdateArgs} args - Arguments to update one DispatchMaterial.
|
|
2189
|
+
* @example
|
|
2190
|
+
* // Update one DispatchMaterial
|
|
2191
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.update({
|
|
2192
|
+
* where: {
|
|
2193
|
+
* // ... provide filter here
|
|
2194
|
+
* },
|
|
2195
|
+
* data: {
|
|
2196
|
+
* // ... provide data here
|
|
2197
|
+
* }
|
|
2198
|
+
* })
|
|
2199
|
+
*
|
|
2200
|
+
*/
|
|
2201
|
+
update<T extends DispatchMaterialUpdateArgs>(args: Prisma.SelectSubset<T, DispatchMaterialUpdateArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2202
|
+
|
|
2203
|
+
/**
|
|
2204
|
+
* Delete zero or more DispatchMaterials.
|
|
2205
|
+
* @param {DispatchMaterialDeleteManyArgs} args - Arguments to filter DispatchMaterials to delete.
|
|
2206
|
+
* @example
|
|
2207
|
+
* // Delete a few DispatchMaterials
|
|
2208
|
+
* const { count } = await prisma.dispatchMaterial.deleteMany({
|
|
2209
|
+
* where: {
|
|
2210
|
+
* // ... provide filter here
|
|
2211
|
+
* }
|
|
2212
|
+
* })
|
|
2213
|
+
*
|
|
2214
|
+
*/
|
|
2215
|
+
deleteMany<T extends DispatchMaterialDeleteManyArgs>(args?: Prisma.SelectSubset<T, DispatchMaterialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* Update zero or more DispatchMaterials.
|
|
2219
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2220
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2221
|
+
* @param {DispatchMaterialUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2222
|
+
* @example
|
|
2223
|
+
* // Update many DispatchMaterials
|
|
2224
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.updateMany({
|
|
2225
|
+
* where: {
|
|
2226
|
+
* // ... provide filter here
|
|
2227
|
+
* },
|
|
2228
|
+
* data: {
|
|
2229
|
+
* // ... provide data here
|
|
2230
|
+
* }
|
|
2231
|
+
* })
|
|
2232
|
+
*
|
|
2233
|
+
*/
|
|
2234
|
+
updateMany<T extends DispatchMaterialUpdateManyArgs>(args: Prisma.SelectSubset<T, DispatchMaterialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Update zero or more DispatchMaterials and returns the data updated in the database.
|
|
2238
|
+
* @param {DispatchMaterialUpdateManyAndReturnArgs} args - Arguments to update many DispatchMaterials.
|
|
2239
|
+
* @example
|
|
2240
|
+
* // Update many DispatchMaterials
|
|
2241
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.updateManyAndReturn({
|
|
2242
|
+
* where: {
|
|
2243
|
+
* // ... provide filter here
|
|
2244
|
+
* },
|
|
2245
|
+
* data: [
|
|
2246
|
+
* // ... provide data here
|
|
2247
|
+
* ]
|
|
2248
|
+
* })
|
|
2249
|
+
*
|
|
2250
|
+
* // Update zero or more DispatchMaterials and only return the `id`
|
|
2251
|
+
* const dispatchMaterialWithIdOnly = await prisma.dispatchMaterial.updateManyAndReturn({
|
|
2252
|
+
* select: { id: true },
|
|
2253
|
+
* where: {
|
|
2254
|
+
* // ... provide filter here
|
|
2255
|
+
* },
|
|
2256
|
+
* data: [
|
|
2257
|
+
* // ... provide data here
|
|
2258
|
+
* ]
|
|
2259
|
+
* })
|
|
2260
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2261
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2262
|
+
*
|
|
2263
|
+
*/
|
|
2264
|
+
updateManyAndReturn<T extends DispatchMaterialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DispatchMaterialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* Create or update one DispatchMaterial.
|
|
2268
|
+
* @param {DispatchMaterialUpsertArgs} args - Arguments to update or create a DispatchMaterial.
|
|
2269
|
+
* @example
|
|
2270
|
+
* // Update or create a DispatchMaterial
|
|
2271
|
+
* const dispatchMaterial = await prisma.dispatchMaterial.upsert({
|
|
2272
|
+
* create: {
|
|
2273
|
+
* // ... data to create a DispatchMaterial
|
|
2274
|
+
* },
|
|
2275
|
+
* update: {
|
|
2276
|
+
* // ... in case it already exists, update
|
|
2277
|
+
* },
|
|
2278
|
+
* where: {
|
|
2279
|
+
* // ... the filter for the DispatchMaterial we want to update
|
|
2280
|
+
* }
|
|
2281
|
+
* })
|
|
2282
|
+
*/
|
|
2283
|
+
upsert<T extends DispatchMaterialUpsertArgs>(args: Prisma.SelectSubset<T, DispatchMaterialUpsertArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
* Count the number of DispatchMaterials.
|
|
2288
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2289
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2290
|
+
* @param {DispatchMaterialCountArgs} args - Arguments to filter DispatchMaterials to count.
|
|
2291
|
+
* @example
|
|
2292
|
+
* // Count the number of DispatchMaterials
|
|
2293
|
+
* const count = await prisma.dispatchMaterial.count({
|
|
2294
|
+
* where: {
|
|
2295
|
+
* // ... the filter for the DispatchMaterials we want to count
|
|
2296
|
+
* }
|
|
2297
|
+
* })
|
|
2298
|
+
**/
|
|
2299
|
+
count<T extends DispatchMaterialCountArgs>(
|
|
2300
|
+
args?: Prisma.Subset<T, DispatchMaterialCountArgs>,
|
|
2301
|
+
): Prisma.PrismaPromise<
|
|
2302
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
2303
|
+
? T['select'] extends true
|
|
2304
|
+
? number
|
|
2305
|
+
: Prisma.GetScalarType<T['select'], DispatchMaterialCountAggregateOutputType>
|
|
2306
|
+
: number
|
|
2307
|
+
>
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Allows you to perform aggregations operations on a DispatchMaterial.
|
|
2311
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2312
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2313
|
+
* @param {DispatchMaterialAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2314
|
+
* @example
|
|
2315
|
+
* // Ordered by age ascending
|
|
2316
|
+
* // Where email contains prisma.io
|
|
2317
|
+
* // Limited to the 10 users
|
|
2318
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2319
|
+
* _avg: {
|
|
2320
|
+
* age: true,
|
|
2321
|
+
* },
|
|
2322
|
+
* where: {
|
|
2323
|
+
* email: {
|
|
2324
|
+
* contains: "prisma.io",
|
|
2325
|
+
* },
|
|
2326
|
+
* },
|
|
2327
|
+
* orderBy: {
|
|
2328
|
+
* age: "asc",
|
|
2329
|
+
* },
|
|
2330
|
+
* take: 10,
|
|
2331
|
+
* })
|
|
2332
|
+
**/
|
|
2333
|
+
aggregate<T extends DispatchMaterialAggregateArgs>(args: Prisma.Subset<T, DispatchMaterialAggregateArgs>): Prisma.PrismaPromise<GetDispatchMaterialAggregateType<T>>
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* Group by DispatchMaterial.
|
|
2337
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2338
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2339
|
+
* @param {DispatchMaterialGroupByArgs} args - Group by arguments.
|
|
2340
|
+
* @example
|
|
2341
|
+
* // Group by city, order by createdAt, get count
|
|
2342
|
+
* const result = await prisma.user.groupBy({
|
|
2343
|
+
* by: ['city', 'createdAt'],
|
|
2344
|
+
* orderBy: {
|
|
2345
|
+
* createdAt: true
|
|
2346
|
+
* },
|
|
2347
|
+
* _count: {
|
|
2348
|
+
* _all: true
|
|
2349
|
+
* },
|
|
2350
|
+
* })
|
|
2351
|
+
*
|
|
2352
|
+
**/
|
|
2353
|
+
groupBy<
|
|
2354
|
+
T extends DispatchMaterialGroupByArgs,
|
|
2355
|
+
HasSelectOrTake extends Prisma.Or<
|
|
2356
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
2357
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
2358
|
+
>,
|
|
2359
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
2360
|
+
? { orderBy: DispatchMaterialGroupByArgs['orderBy'] }
|
|
2361
|
+
: { orderBy?: DispatchMaterialGroupByArgs['orderBy'] },
|
|
2362
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
2363
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
2364
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
2365
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
2366
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
2367
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
2368
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
2369
|
+
? `Error: "by" must not be empty.`
|
|
2370
|
+
: HavingValid extends Prisma.False
|
|
2371
|
+
? {
|
|
2372
|
+
[P in HavingFields]: P extends ByFields
|
|
2373
|
+
? never
|
|
2374
|
+
: P extends string
|
|
2375
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2376
|
+
: [
|
|
2377
|
+
Error,
|
|
2378
|
+
'Field ',
|
|
2379
|
+
P,
|
|
2380
|
+
` in "having" needs to be provided in "by"`,
|
|
2381
|
+
]
|
|
2382
|
+
}[HavingFields]
|
|
2383
|
+
: 'take' extends Prisma.Keys<T>
|
|
2384
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2385
|
+
? ByValid extends Prisma.True
|
|
2386
|
+
? {}
|
|
2387
|
+
: {
|
|
2388
|
+
[P in OrderFields]: P extends ByFields
|
|
2389
|
+
? never
|
|
2390
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2391
|
+
}[OrderFields]
|
|
2392
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2393
|
+
: 'skip' extends Prisma.Keys<T>
|
|
2394
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2395
|
+
? ByValid extends Prisma.True
|
|
2396
|
+
? {}
|
|
2397
|
+
: {
|
|
2398
|
+
[P in OrderFields]: P extends ByFields
|
|
2399
|
+
? never
|
|
2400
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2401
|
+
}[OrderFields]
|
|
2402
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2403
|
+
: ByValid extends Prisma.True
|
|
2404
|
+
? {}
|
|
2405
|
+
: {
|
|
2406
|
+
[P in OrderFields]: P extends ByFields
|
|
2407
|
+
? never
|
|
2408
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2409
|
+
}[OrderFields]
|
|
2410
|
+
>(args: Prisma.SubsetIntersection<T, DispatchMaterialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDispatchMaterialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2411
|
+
/**
|
|
2412
|
+
* Fields of the DispatchMaterial model
|
|
2413
|
+
*/
|
|
2414
|
+
readonly fields: DispatchMaterialFieldRefs;
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* The delegate class that acts as a "Promise-like" for DispatchMaterial.
|
|
2419
|
+
* Why is this prefixed with `Prisma__`?
|
|
2420
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2421
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2422
|
+
*/
|
|
2423
|
+
export interface Prisma__DispatchMaterialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2424
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2425
|
+
materialBillOfMaterial<T extends Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$materialBillOfMaterialArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2426
|
+
dispatchProject<T extends Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$dispatchProjectArgs<ExtArgs>>): Prisma.Prisma__DispatchProjectClient<runtime.Types.Result.GetResult<Prisma.$DispatchProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2427
|
+
stockMovement<T extends Prisma.DispatchMaterial$stockMovementArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$stockMovementArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockMovementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2428
|
+
clientMaterial<T extends Prisma.DispatchMaterial$clientMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$clientMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2429
|
+
teamMaterial<T extends Prisma.DispatchMaterial$teamMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$teamMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2430
|
+
workOrderMaterial<T extends Prisma.DispatchMaterial$workOrderMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$workOrderMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2431
|
+
subsidiaryMaterial<T extends Prisma.DispatchMaterial$subsidiaryMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$subsidiaryMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubsidiaryMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2432
|
+
MaterialChangeLog<T extends Prisma.DispatchMaterial$MaterialChangeLogArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterial$MaterialChangeLogArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialChangeLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2433
|
+
/**
|
|
2434
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2435
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2436
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2437
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2438
|
+
*/
|
|
2439
|
+
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>
|
|
2440
|
+
/**
|
|
2441
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2442
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2443
|
+
* @returns A Promise for the completion of the callback.
|
|
2444
|
+
*/
|
|
2445
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2446
|
+
/**
|
|
2447
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2448
|
+
* resolved value cannot be modified from the callback.
|
|
2449
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2450
|
+
* @returns A Promise for the completion of the callback.
|
|
2451
|
+
*/
|
|
2452
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* Fields of the DispatchMaterial model
|
|
2460
|
+
*/
|
|
2461
|
+
export interface DispatchMaterialFieldRefs {
|
|
2462
|
+
readonly id: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2463
|
+
readonly no: Prisma.FieldRef<"DispatchMaterial", 'Int'>
|
|
2464
|
+
readonly materialbomId: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2465
|
+
readonly dispatchProjectId: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2466
|
+
readonly materialCode: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2467
|
+
readonly materialName: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2468
|
+
readonly description: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2469
|
+
readonly unit: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2470
|
+
readonly status: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2471
|
+
readonly quantityAdded: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2472
|
+
readonly quantityUsed: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2473
|
+
readonly quantityRemaining: Prisma.FieldRef<"DispatchMaterial", 'String'>
|
|
2474
|
+
readonly createdAt: Prisma.FieldRef<"DispatchMaterial", 'DateTime'>
|
|
2475
|
+
readonly updatedAt: Prisma.FieldRef<"DispatchMaterial", 'DateTime'>
|
|
2476
|
+
readonly deletedAt: Prisma.FieldRef<"DispatchMaterial", 'DateTime'>
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
// Custom InputTypes
|
|
2481
|
+
/**
|
|
2482
|
+
* DispatchMaterial findUnique
|
|
2483
|
+
*/
|
|
2484
|
+
export type DispatchMaterialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2485
|
+
/**
|
|
2486
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2487
|
+
*/
|
|
2488
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2489
|
+
/**
|
|
2490
|
+
* Omit specific fields from the DispatchMaterial
|
|
2491
|
+
*/
|
|
2492
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2493
|
+
/**
|
|
2494
|
+
* Choose, which related nodes to fetch as well
|
|
2495
|
+
*/
|
|
2496
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2497
|
+
/**
|
|
2498
|
+
* Filter, which DispatchMaterial to fetch.
|
|
2499
|
+
*/
|
|
2500
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* DispatchMaterial findUniqueOrThrow
|
|
2505
|
+
*/
|
|
2506
|
+
export type DispatchMaterialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2507
|
+
/**
|
|
2508
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2509
|
+
*/
|
|
2510
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2511
|
+
/**
|
|
2512
|
+
* Omit specific fields from the DispatchMaterial
|
|
2513
|
+
*/
|
|
2514
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2515
|
+
/**
|
|
2516
|
+
* Choose, which related nodes to fetch as well
|
|
2517
|
+
*/
|
|
2518
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2519
|
+
/**
|
|
2520
|
+
* Filter, which DispatchMaterial to fetch.
|
|
2521
|
+
*/
|
|
2522
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* DispatchMaterial findFirst
|
|
2527
|
+
*/
|
|
2528
|
+
export type DispatchMaterialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2529
|
+
/**
|
|
2530
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2531
|
+
*/
|
|
2532
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2533
|
+
/**
|
|
2534
|
+
* Omit specific fields from the DispatchMaterial
|
|
2535
|
+
*/
|
|
2536
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2537
|
+
/**
|
|
2538
|
+
* Choose, which related nodes to fetch as well
|
|
2539
|
+
*/
|
|
2540
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2541
|
+
/**
|
|
2542
|
+
* Filter, which DispatchMaterial to fetch.
|
|
2543
|
+
*/
|
|
2544
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
2545
|
+
/**
|
|
2546
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2547
|
+
*
|
|
2548
|
+
* Determine the order of DispatchMaterials to fetch.
|
|
2549
|
+
*/
|
|
2550
|
+
orderBy?: Prisma.DispatchMaterialOrderByWithRelationInput | Prisma.DispatchMaterialOrderByWithRelationInput[]
|
|
2551
|
+
/**
|
|
2552
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2553
|
+
*
|
|
2554
|
+
* Sets the position for searching for DispatchMaterials.
|
|
2555
|
+
*/
|
|
2556
|
+
cursor?: Prisma.DispatchMaterialWhereUniqueInput
|
|
2557
|
+
/**
|
|
2558
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2559
|
+
*
|
|
2560
|
+
* Take `±n` DispatchMaterials from the position of the cursor.
|
|
2561
|
+
*/
|
|
2562
|
+
take?: number
|
|
2563
|
+
/**
|
|
2564
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2565
|
+
*
|
|
2566
|
+
* Skip the first `n` DispatchMaterials.
|
|
2567
|
+
*/
|
|
2568
|
+
skip?: number
|
|
2569
|
+
/**
|
|
2570
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2571
|
+
*
|
|
2572
|
+
* Filter by unique combinations of DispatchMaterials.
|
|
2573
|
+
*/
|
|
2574
|
+
distinct?: Prisma.DispatchMaterialScalarFieldEnum | Prisma.DispatchMaterialScalarFieldEnum[]
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
/**
|
|
2578
|
+
* DispatchMaterial findFirstOrThrow
|
|
2579
|
+
*/
|
|
2580
|
+
export type DispatchMaterialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2581
|
+
/**
|
|
2582
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2583
|
+
*/
|
|
2584
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2585
|
+
/**
|
|
2586
|
+
* Omit specific fields from the DispatchMaterial
|
|
2587
|
+
*/
|
|
2588
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2589
|
+
/**
|
|
2590
|
+
* Choose, which related nodes to fetch as well
|
|
2591
|
+
*/
|
|
2592
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2593
|
+
/**
|
|
2594
|
+
* Filter, which DispatchMaterial to fetch.
|
|
2595
|
+
*/
|
|
2596
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
2597
|
+
/**
|
|
2598
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2599
|
+
*
|
|
2600
|
+
* Determine the order of DispatchMaterials to fetch.
|
|
2601
|
+
*/
|
|
2602
|
+
orderBy?: Prisma.DispatchMaterialOrderByWithRelationInput | Prisma.DispatchMaterialOrderByWithRelationInput[]
|
|
2603
|
+
/**
|
|
2604
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2605
|
+
*
|
|
2606
|
+
* Sets the position for searching for DispatchMaterials.
|
|
2607
|
+
*/
|
|
2608
|
+
cursor?: Prisma.DispatchMaterialWhereUniqueInput
|
|
2609
|
+
/**
|
|
2610
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2611
|
+
*
|
|
2612
|
+
* Take `±n` DispatchMaterials from the position of the cursor.
|
|
2613
|
+
*/
|
|
2614
|
+
take?: number
|
|
2615
|
+
/**
|
|
2616
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2617
|
+
*
|
|
2618
|
+
* Skip the first `n` DispatchMaterials.
|
|
2619
|
+
*/
|
|
2620
|
+
skip?: number
|
|
2621
|
+
/**
|
|
2622
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2623
|
+
*
|
|
2624
|
+
* Filter by unique combinations of DispatchMaterials.
|
|
2625
|
+
*/
|
|
2626
|
+
distinct?: Prisma.DispatchMaterialScalarFieldEnum | Prisma.DispatchMaterialScalarFieldEnum[]
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* DispatchMaterial findMany
|
|
2631
|
+
*/
|
|
2632
|
+
export type DispatchMaterialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2633
|
+
/**
|
|
2634
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2635
|
+
*/
|
|
2636
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2637
|
+
/**
|
|
2638
|
+
* Omit specific fields from the DispatchMaterial
|
|
2639
|
+
*/
|
|
2640
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2641
|
+
/**
|
|
2642
|
+
* Choose, which related nodes to fetch as well
|
|
2643
|
+
*/
|
|
2644
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2645
|
+
/**
|
|
2646
|
+
* Filter, which DispatchMaterials to fetch.
|
|
2647
|
+
*/
|
|
2648
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
2649
|
+
/**
|
|
2650
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2651
|
+
*
|
|
2652
|
+
* Determine the order of DispatchMaterials to fetch.
|
|
2653
|
+
*/
|
|
2654
|
+
orderBy?: Prisma.DispatchMaterialOrderByWithRelationInput | Prisma.DispatchMaterialOrderByWithRelationInput[]
|
|
2655
|
+
/**
|
|
2656
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2657
|
+
*
|
|
2658
|
+
* Sets the position for listing DispatchMaterials.
|
|
2659
|
+
*/
|
|
2660
|
+
cursor?: Prisma.DispatchMaterialWhereUniqueInput
|
|
2661
|
+
/**
|
|
2662
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2663
|
+
*
|
|
2664
|
+
* Take `±n` DispatchMaterials from the position of the cursor.
|
|
2665
|
+
*/
|
|
2666
|
+
take?: number
|
|
2667
|
+
/**
|
|
2668
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2669
|
+
*
|
|
2670
|
+
* Skip the first `n` DispatchMaterials.
|
|
2671
|
+
*/
|
|
2672
|
+
skip?: number
|
|
2673
|
+
distinct?: Prisma.DispatchMaterialScalarFieldEnum | Prisma.DispatchMaterialScalarFieldEnum[]
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* DispatchMaterial create
|
|
2678
|
+
*/
|
|
2679
|
+
export type DispatchMaterialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2680
|
+
/**
|
|
2681
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2682
|
+
*/
|
|
2683
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2684
|
+
/**
|
|
2685
|
+
* Omit specific fields from the DispatchMaterial
|
|
2686
|
+
*/
|
|
2687
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2688
|
+
/**
|
|
2689
|
+
* Choose, which related nodes to fetch as well
|
|
2690
|
+
*/
|
|
2691
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2692
|
+
/**
|
|
2693
|
+
* The data needed to create a DispatchMaterial.
|
|
2694
|
+
*/
|
|
2695
|
+
data: Prisma.XOR<Prisma.DispatchMaterialCreateInput, Prisma.DispatchMaterialUncheckedCreateInput>
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
/**
|
|
2699
|
+
* DispatchMaterial createMany
|
|
2700
|
+
*/
|
|
2701
|
+
export type DispatchMaterialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2702
|
+
/**
|
|
2703
|
+
* The data used to create many DispatchMaterials.
|
|
2704
|
+
*/
|
|
2705
|
+
data: Prisma.DispatchMaterialCreateManyInput | Prisma.DispatchMaterialCreateManyInput[]
|
|
2706
|
+
skipDuplicates?: boolean
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* DispatchMaterial createManyAndReturn
|
|
2711
|
+
*/
|
|
2712
|
+
export type DispatchMaterialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2713
|
+
/**
|
|
2714
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2715
|
+
*/
|
|
2716
|
+
select?: Prisma.DispatchMaterialSelectCreateManyAndReturn<ExtArgs> | null
|
|
2717
|
+
/**
|
|
2718
|
+
* Omit specific fields from the DispatchMaterial
|
|
2719
|
+
*/
|
|
2720
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2721
|
+
/**
|
|
2722
|
+
* The data used to create many DispatchMaterials.
|
|
2723
|
+
*/
|
|
2724
|
+
data: Prisma.DispatchMaterialCreateManyInput | Prisma.DispatchMaterialCreateManyInput[]
|
|
2725
|
+
skipDuplicates?: boolean
|
|
2726
|
+
/**
|
|
2727
|
+
* Choose, which related nodes to fetch as well
|
|
2728
|
+
*/
|
|
2729
|
+
include?: Prisma.DispatchMaterialIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
/**
|
|
2733
|
+
* DispatchMaterial update
|
|
2734
|
+
*/
|
|
2735
|
+
export type DispatchMaterialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2736
|
+
/**
|
|
2737
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2738
|
+
*/
|
|
2739
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2740
|
+
/**
|
|
2741
|
+
* Omit specific fields from the DispatchMaterial
|
|
2742
|
+
*/
|
|
2743
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2744
|
+
/**
|
|
2745
|
+
* Choose, which related nodes to fetch as well
|
|
2746
|
+
*/
|
|
2747
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2748
|
+
/**
|
|
2749
|
+
* The data needed to update a DispatchMaterial.
|
|
2750
|
+
*/
|
|
2751
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateInput, Prisma.DispatchMaterialUncheckedUpdateInput>
|
|
2752
|
+
/**
|
|
2753
|
+
* Choose, which DispatchMaterial to update.
|
|
2754
|
+
*/
|
|
2755
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* DispatchMaterial updateMany
|
|
2760
|
+
*/
|
|
2761
|
+
export type DispatchMaterialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2762
|
+
/**
|
|
2763
|
+
* The data used to update DispatchMaterials.
|
|
2764
|
+
*/
|
|
2765
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateManyMutationInput, Prisma.DispatchMaterialUncheckedUpdateManyInput>
|
|
2766
|
+
/**
|
|
2767
|
+
* Filter which DispatchMaterials to update
|
|
2768
|
+
*/
|
|
2769
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
2770
|
+
/**
|
|
2771
|
+
* Limit how many DispatchMaterials to update.
|
|
2772
|
+
*/
|
|
2773
|
+
limit?: number
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* DispatchMaterial updateManyAndReturn
|
|
2778
|
+
*/
|
|
2779
|
+
export type DispatchMaterialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2780
|
+
/**
|
|
2781
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2782
|
+
*/
|
|
2783
|
+
select?: Prisma.DispatchMaterialSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2784
|
+
/**
|
|
2785
|
+
* Omit specific fields from the DispatchMaterial
|
|
2786
|
+
*/
|
|
2787
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2788
|
+
/**
|
|
2789
|
+
* The data used to update DispatchMaterials.
|
|
2790
|
+
*/
|
|
2791
|
+
data: Prisma.XOR<Prisma.DispatchMaterialUpdateManyMutationInput, Prisma.DispatchMaterialUncheckedUpdateManyInput>
|
|
2792
|
+
/**
|
|
2793
|
+
* Filter which DispatchMaterials to update
|
|
2794
|
+
*/
|
|
2795
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
2796
|
+
/**
|
|
2797
|
+
* Limit how many DispatchMaterials to update.
|
|
2798
|
+
*/
|
|
2799
|
+
limit?: number
|
|
2800
|
+
/**
|
|
2801
|
+
* Choose, which related nodes to fetch as well
|
|
2802
|
+
*/
|
|
2803
|
+
include?: Prisma.DispatchMaterialIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* DispatchMaterial upsert
|
|
2808
|
+
*/
|
|
2809
|
+
export type DispatchMaterialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2810
|
+
/**
|
|
2811
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2812
|
+
*/
|
|
2813
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2814
|
+
/**
|
|
2815
|
+
* Omit specific fields from the DispatchMaterial
|
|
2816
|
+
*/
|
|
2817
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2818
|
+
/**
|
|
2819
|
+
* Choose, which related nodes to fetch as well
|
|
2820
|
+
*/
|
|
2821
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2822
|
+
/**
|
|
2823
|
+
* The filter to search for the DispatchMaterial to update in case it exists.
|
|
2824
|
+
*/
|
|
2825
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
2826
|
+
/**
|
|
2827
|
+
* In case the DispatchMaterial found by the `where` argument doesn't exist, create a new DispatchMaterial with this data.
|
|
2828
|
+
*/
|
|
2829
|
+
create: Prisma.XOR<Prisma.DispatchMaterialCreateInput, Prisma.DispatchMaterialUncheckedCreateInput>
|
|
2830
|
+
/**
|
|
2831
|
+
* In case the DispatchMaterial was found with the provided `where` argument, update it with this data.
|
|
2832
|
+
*/
|
|
2833
|
+
update: Prisma.XOR<Prisma.DispatchMaterialUpdateInput, Prisma.DispatchMaterialUncheckedUpdateInput>
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* DispatchMaterial delete
|
|
2838
|
+
*/
|
|
2839
|
+
export type DispatchMaterialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2840
|
+
/**
|
|
2841
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
2842
|
+
*/
|
|
2843
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
2844
|
+
/**
|
|
2845
|
+
* Omit specific fields from the DispatchMaterial
|
|
2846
|
+
*/
|
|
2847
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
2848
|
+
/**
|
|
2849
|
+
* Choose, which related nodes to fetch as well
|
|
2850
|
+
*/
|
|
2851
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
2852
|
+
/**
|
|
2853
|
+
* Filter which DispatchMaterial to delete.
|
|
2854
|
+
*/
|
|
2855
|
+
where: Prisma.DispatchMaterialWhereUniqueInput
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* DispatchMaterial deleteMany
|
|
2860
|
+
*/
|
|
2861
|
+
export type DispatchMaterialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2862
|
+
/**
|
|
2863
|
+
* Filter which DispatchMaterials to delete
|
|
2864
|
+
*/
|
|
2865
|
+
where?: Prisma.DispatchMaterialWhereInput
|
|
2866
|
+
/**
|
|
2867
|
+
* Limit how many DispatchMaterials to delete.
|
|
2868
|
+
*/
|
|
2869
|
+
limit?: number
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
/**
|
|
2873
|
+
* DispatchMaterial.materialBillOfMaterial
|
|
2874
|
+
*/
|
|
2875
|
+
export type DispatchMaterial$materialBillOfMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2876
|
+
/**
|
|
2877
|
+
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
2878
|
+
*/
|
|
2879
|
+
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
2880
|
+
/**
|
|
2881
|
+
* Omit specific fields from the MaterialBillOfMaterial
|
|
2882
|
+
*/
|
|
2883
|
+
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
2884
|
+
/**
|
|
2885
|
+
* Choose, which related nodes to fetch as well
|
|
2886
|
+
*/
|
|
2887
|
+
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
2888
|
+
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
/**
|
|
2892
|
+
* DispatchMaterial.dispatchProject
|
|
2893
|
+
*/
|
|
2894
|
+
export type DispatchMaterial$dispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2895
|
+
/**
|
|
2896
|
+
* Select specific fields to fetch from the DispatchProject
|
|
2897
|
+
*/
|
|
2898
|
+
select?: Prisma.DispatchProjectSelect<ExtArgs> | null
|
|
2899
|
+
/**
|
|
2900
|
+
* Omit specific fields from the DispatchProject
|
|
2901
|
+
*/
|
|
2902
|
+
omit?: Prisma.DispatchProjectOmit<ExtArgs> | null
|
|
2903
|
+
/**
|
|
2904
|
+
* Choose, which related nodes to fetch as well
|
|
2905
|
+
*/
|
|
2906
|
+
include?: Prisma.DispatchProjectInclude<ExtArgs> | null
|
|
2907
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* DispatchMaterial.stockMovement
|
|
2912
|
+
*/
|
|
2913
|
+
export type DispatchMaterial$stockMovementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2914
|
+
/**
|
|
2915
|
+
* Select specific fields to fetch from the StockMovement
|
|
2916
|
+
*/
|
|
2917
|
+
select?: Prisma.StockMovementSelect<ExtArgs> | null
|
|
2918
|
+
/**
|
|
2919
|
+
* Omit specific fields from the StockMovement
|
|
2920
|
+
*/
|
|
2921
|
+
omit?: Prisma.StockMovementOmit<ExtArgs> | null
|
|
2922
|
+
/**
|
|
2923
|
+
* Choose, which related nodes to fetch as well
|
|
2924
|
+
*/
|
|
2925
|
+
include?: Prisma.StockMovementInclude<ExtArgs> | null
|
|
2926
|
+
where?: Prisma.StockMovementWhereInput
|
|
2927
|
+
orderBy?: Prisma.StockMovementOrderByWithRelationInput | Prisma.StockMovementOrderByWithRelationInput[]
|
|
2928
|
+
cursor?: Prisma.StockMovementWhereUniqueInput
|
|
2929
|
+
take?: number
|
|
2930
|
+
skip?: number
|
|
2931
|
+
distinct?: Prisma.StockMovementScalarFieldEnum | Prisma.StockMovementScalarFieldEnum[]
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
/**
|
|
2935
|
+
* DispatchMaterial.clientMaterial
|
|
2936
|
+
*/
|
|
2937
|
+
export type DispatchMaterial$clientMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2938
|
+
/**
|
|
2939
|
+
* Select specific fields to fetch from the clientMaterial
|
|
2940
|
+
*/
|
|
2941
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
2942
|
+
/**
|
|
2943
|
+
* Omit specific fields from the clientMaterial
|
|
2944
|
+
*/
|
|
2945
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
2946
|
+
/**
|
|
2947
|
+
* Choose, which related nodes to fetch as well
|
|
2948
|
+
*/
|
|
2949
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
2950
|
+
where?: Prisma.clientMaterialWhereInput
|
|
2951
|
+
orderBy?: Prisma.clientMaterialOrderByWithRelationInput | Prisma.clientMaterialOrderByWithRelationInput[]
|
|
2952
|
+
cursor?: Prisma.clientMaterialWhereUniqueInput
|
|
2953
|
+
take?: number
|
|
2954
|
+
skip?: number
|
|
2955
|
+
distinct?: Prisma.ClientMaterialScalarFieldEnum | Prisma.ClientMaterialScalarFieldEnum[]
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* DispatchMaterial.teamMaterial
|
|
2960
|
+
*/
|
|
2961
|
+
export type DispatchMaterial$teamMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2962
|
+
/**
|
|
2963
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
2964
|
+
*/
|
|
2965
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
2966
|
+
/**
|
|
2967
|
+
* Omit specific fields from the TeamMaterial
|
|
2968
|
+
*/
|
|
2969
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
2970
|
+
/**
|
|
2971
|
+
* Choose, which related nodes to fetch as well
|
|
2972
|
+
*/
|
|
2973
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
2974
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
2975
|
+
orderBy?: Prisma.TeamMaterialOrderByWithRelationInput | Prisma.TeamMaterialOrderByWithRelationInput[]
|
|
2976
|
+
cursor?: Prisma.TeamMaterialWhereUniqueInput
|
|
2977
|
+
take?: number
|
|
2978
|
+
skip?: number
|
|
2979
|
+
distinct?: Prisma.TeamMaterialScalarFieldEnum | Prisma.TeamMaterialScalarFieldEnum[]
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
/**
|
|
2983
|
+
* DispatchMaterial.workOrderMaterial
|
|
2984
|
+
*/
|
|
2985
|
+
export type DispatchMaterial$workOrderMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2986
|
+
/**
|
|
2987
|
+
* Select specific fields to fetch from the WorkOrderMaterial
|
|
2988
|
+
*/
|
|
2989
|
+
select?: Prisma.WorkOrderMaterialSelect<ExtArgs> | null
|
|
2990
|
+
/**
|
|
2991
|
+
* Omit specific fields from the WorkOrderMaterial
|
|
2992
|
+
*/
|
|
2993
|
+
omit?: Prisma.WorkOrderMaterialOmit<ExtArgs> | null
|
|
2994
|
+
/**
|
|
2995
|
+
* Choose, which related nodes to fetch as well
|
|
2996
|
+
*/
|
|
2997
|
+
include?: Prisma.WorkOrderMaterialInclude<ExtArgs> | null
|
|
2998
|
+
where?: Prisma.WorkOrderMaterialWhereInput
|
|
2999
|
+
orderBy?: Prisma.WorkOrderMaterialOrderByWithRelationInput | Prisma.WorkOrderMaterialOrderByWithRelationInput[]
|
|
3000
|
+
cursor?: Prisma.WorkOrderMaterialWhereUniqueInput
|
|
3001
|
+
take?: number
|
|
3002
|
+
skip?: number
|
|
3003
|
+
distinct?: Prisma.WorkOrderMaterialScalarFieldEnum | Prisma.WorkOrderMaterialScalarFieldEnum[]
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* DispatchMaterial.subsidiaryMaterial
|
|
3008
|
+
*/
|
|
3009
|
+
export type DispatchMaterial$subsidiaryMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3010
|
+
/**
|
|
3011
|
+
* Select specific fields to fetch from the SubsidiaryMaterial
|
|
3012
|
+
*/
|
|
3013
|
+
select?: Prisma.SubsidiaryMaterialSelect<ExtArgs> | null
|
|
3014
|
+
/**
|
|
3015
|
+
* Omit specific fields from the SubsidiaryMaterial
|
|
3016
|
+
*/
|
|
3017
|
+
omit?: Prisma.SubsidiaryMaterialOmit<ExtArgs> | null
|
|
3018
|
+
/**
|
|
3019
|
+
* Choose, which related nodes to fetch as well
|
|
3020
|
+
*/
|
|
3021
|
+
include?: Prisma.SubsidiaryMaterialInclude<ExtArgs> | null
|
|
3022
|
+
where?: Prisma.SubsidiaryMaterialWhereInput
|
|
3023
|
+
orderBy?: Prisma.SubsidiaryMaterialOrderByWithRelationInput | Prisma.SubsidiaryMaterialOrderByWithRelationInput[]
|
|
3024
|
+
cursor?: Prisma.SubsidiaryMaterialWhereUniqueInput
|
|
3025
|
+
take?: number
|
|
3026
|
+
skip?: number
|
|
3027
|
+
distinct?: Prisma.SubsidiaryMaterialScalarFieldEnum | Prisma.SubsidiaryMaterialScalarFieldEnum[]
|
|
3028
|
+
}
|
|
3029
|
+
|
|
3030
|
+
/**
|
|
3031
|
+
* DispatchMaterial.MaterialChangeLog
|
|
3032
|
+
*/
|
|
3033
|
+
export type DispatchMaterial$MaterialChangeLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3034
|
+
/**
|
|
3035
|
+
* Select specific fields to fetch from the MaterialChangeLog
|
|
3036
|
+
*/
|
|
3037
|
+
select?: Prisma.MaterialChangeLogSelect<ExtArgs> | null
|
|
3038
|
+
/**
|
|
3039
|
+
* Omit specific fields from the MaterialChangeLog
|
|
3040
|
+
*/
|
|
3041
|
+
omit?: Prisma.MaterialChangeLogOmit<ExtArgs> | null
|
|
3042
|
+
/**
|
|
3043
|
+
* Choose, which related nodes to fetch as well
|
|
3044
|
+
*/
|
|
3045
|
+
include?: Prisma.MaterialChangeLogInclude<ExtArgs> | null
|
|
3046
|
+
where?: Prisma.MaterialChangeLogWhereInput
|
|
3047
|
+
orderBy?: Prisma.MaterialChangeLogOrderByWithRelationInput | Prisma.MaterialChangeLogOrderByWithRelationInput[]
|
|
3048
|
+
cursor?: Prisma.MaterialChangeLogWhereUniqueInput
|
|
3049
|
+
take?: number
|
|
3050
|
+
skip?: number
|
|
3051
|
+
distinct?: Prisma.MaterialChangeLogScalarFieldEnum | Prisma.MaterialChangeLogScalarFieldEnum[]
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
/**
|
|
3055
|
+
* DispatchMaterial without action
|
|
3056
|
+
*/
|
|
3057
|
+
export type DispatchMaterialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3058
|
+
/**
|
|
3059
|
+
* Select specific fields to fetch from the DispatchMaterial
|
|
3060
|
+
*/
|
|
3061
|
+
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
3062
|
+
/**
|
|
3063
|
+
* Omit specific fields from the DispatchMaterial
|
|
3064
|
+
*/
|
|
3065
|
+
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
3066
|
+
/**
|
|
3067
|
+
* Choose, which related nodes to fetch as well
|
|
3068
|
+
*/
|
|
3069
|
+
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
3070
|
+
}
|