|
|
|
@@ -49,6 +49,7 @@ export type PurchaseReceiptItemMinAggregateOutputType = {
|
|
|
|
|
count: runtime.Decimal | null
|
|
|
|
|
fee: runtime.Decimal | null
|
|
|
|
|
total: runtime.Decimal | null
|
|
|
|
|
description: string | null
|
|
|
|
|
createdAt: Date | null
|
|
|
|
|
receiptId: number | null
|
|
|
|
|
productId: number | null
|
|
|
|
@@ -59,6 +60,7 @@ export type PurchaseReceiptItemMaxAggregateOutputType = {
|
|
|
|
|
count: runtime.Decimal | null
|
|
|
|
|
fee: runtime.Decimal | null
|
|
|
|
|
total: runtime.Decimal | null
|
|
|
|
|
description: string | null
|
|
|
|
|
createdAt: Date | null
|
|
|
|
|
receiptId: number | null
|
|
|
|
|
productId: number | null
|
|
|
|
@@ -69,6 +71,7 @@ export type PurchaseReceiptItemCountAggregateOutputType = {
|
|
|
|
|
count: number
|
|
|
|
|
fee: number
|
|
|
|
|
total: number
|
|
|
|
|
description: number
|
|
|
|
|
createdAt: number
|
|
|
|
|
receiptId: number
|
|
|
|
|
productId: number
|
|
|
|
@@ -99,6 +102,7 @@ export type PurchaseReceiptItemMinAggregateInputType = {
|
|
|
|
|
count?: true
|
|
|
|
|
fee?: true
|
|
|
|
|
total?: true
|
|
|
|
|
description?: true
|
|
|
|
|
createdAt?: true
|
|
|
|
|
receiptId?: true
|
|
|
|
|
productId?: true
|
|
|
|
@@ -109,6 +113,7 @@ export type PurchaseReceiptItemMaxAggregateInputType = {
|
|
|
|
|
count?: true
|
|
|
|
|
fee?: true
|
|
|
|
|
total?: true
|
|
|
|
|
description?: true
|
|
|
|
|
createdAt?: true
|
|
|
|
|
receiptId?: true
|
|
|
|
|
productId?: true
|
|
|
|
@@ -119,6 +124,7 @@ export type PurchaseReceiptItemCountAggregateInputType = {
|
|
|
|
|
count?: true
|
|
|
|
|
fee?: true
|
|
|
|
|
total?: true
|
|
|
|
|
description?: true
|
|
|
|
|
createdAt?: true
|
|
|
|
|
receiptId?: true
|
|
|
|
|
productId?: true
|
|
|
|
@@ -216,6 +222,7 @@ export type PurchaseReceiptItemGroupByOutputType = {
|
|
|
|
|
count: runtime.Decimal
|
|
|
|
|
fee: runtime.Decimal
|
|
|
|
|
total: runtime.Decimal
|
|
|
|
|
description: string | null
|
|
|
|
|
createdAt: Date
|
|
|
|
|
receiptId: number
|
|
|
|
|
productId: number
|
|
|
|
@@ -249,6 +256,7 @@ export type PurchaseReceiptItemWhereInput = {
|
|
|
|
|
count?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.StringNullableFilter<"PurchaseReceiptItem"> | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"PurchaseReceiptItem"> | Date | string
|
|
|
|
|
receiptId?: Prisma.IntFilter<"PurchaseReceiptItem"> | number
|
|
|
|
|
productId?: Prisma.IntFilter<"PurchaseReceiptItem"> | number
|
|
|
|
@@ -261,11 +269,13 @@ export type PurchaseReceiptItemOrderByWithRelationInput = {
|
|
|
|
|
count?: Prisma.SortOrder
|
|
|
|
|
fee?: Prisma.SortOrder
|
|
|
|
|
total?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
|
|
|
|
receiptId?: Prisma.SortOrder
|
|
|
|
|
productId?: Prisma.SortOrder
|
|
|
|
|
product?: Prisma.ProductOrderByWithRelationInput
|
|
|
|
|
receipt?: Prisma.PurchaseReceiptOrderByWithRelationInput
|
|
|
|
|
_relevance?: Prisma.PurchaseReceiptItemOrderByRelevanceInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PurchaseReceiptItemWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
@@ -276,6 +286,7 @@ export type PurchaseReceiptItemWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
count?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.StringNullableFilter<"PurchaseReceiptItem"> | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"PurchaseReceiptItem"> | Date | string
|
|
|
|
|
receiptId?: Prisma.IntFilter<"PurchaseReceiptItem"> | number
|
|
|
|
|
productId?: Prisma.IntFilter<"PurchaseReceiptItem"> | number
|
|
|
|
@@ -288,6 +299,7 @@ export type PurchaseReceiptItemOrderByWithAggregationInput = {
|
|
|
|
|
count?: Prisma.SortOrder
|
|
|
|
|
fee?: Prisma.SortOrder
|
|
|
|
|
total?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
|
|
|
|
receiptId?: Prisma.SortOrder
|
|
|
|
|
productId?: Prisma.SortOrder
|
|
|
|
@@ -306,6 +318,7 @@ export type PurchaseReceiptItemScalarWhereWithAggregatesInput = {
|
|
|
|
|
count?: Prisma.DecimalWithAggregatesFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalWithAggregatesFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalWithAggregatesFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.StringNullableWithAggregatesFilter<"PurchaseReceiptItem"> | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PurchaseReceiptItem"> | Date | string
|
|
|
|
|
receiptId?: Prisma.IntWithAggregatesFilter<"PurchaseReceiptItem"> | number
|
|
|
|
|
productId?: Prisma.IntWithAggregatesFilter<"PurchaseReceiptItem"> | number
|
|
|
|
@@ -315,6 +328,7 @@ export type PurchaseReceiptItemCreateInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
product: Prisma.ProductCreateNestedOneWithoutPurchaseReceiptItemsInput
|
|
|
|
|
receipt: Prisma.PurchaseReceiptCreateNestedOneWithoutItemsInput
|
|
|
|
@@ -325,6 +339,7 @@ export type PurchaseReceiptItemUncheckedCreateInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
receiptId: number
|
|
|
|
|
productId: number
|
|
|
|
@@ -334,6 +349,7 @@ export type PurchaseReceiptItemUpdateInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
product?: Prisma.ProductUpdateOneRequiredWithoutPurchaseReceiptItemsNestedInput
|
|
|
|
|
receipt?: Prisma.PurchaseReceiptUpdateOneRequiredWithoutItemsNestedInput
|
|
|
|
@@ -344,6 +360,7 @@ export type PurchaseReceiptItemUncheckedUpdateInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
receiptId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
@@ -354,6 +371,7 @@ export type PurchaseReceiptItemCreateManyInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
receiptId: number
|
|
|
|
|
productId: number
|
|
|
|
@@ -363,6 +381,7 @@ export type PurchaseReceiptItemUpdateManyMutationInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -371,6 +390,7 @@ export type PurchaseReceiptItemUncheckedUpdateManyInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
receiptId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
@@ -386,11 +406,18 @@ export type PurchaseReceiptItemOrderByRelationAggregateInput = {
|
|
|
|
|
_count?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PurchaseReceiptItemOrderByRelevanceInput = {
|
|
|
|
|
fields: Prisma.PurchaseReceiptItemOrderByRelevanceFieldEnum | Prisma.PurchaseReceiptItemOrderByRelevanceFieldEnum[]
|
|
|
|
|
sort: Prisma.SortOrder
|
|
|
|
|
search: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PurchaseReceiptItemCountOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
count?: Prisma.SortOrder
|
|
|
|
|
fee?: Prisma.SortOrder
|
|
|
|
|
total?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
|
|
|
|
receiptId?: Prisma.SortOrder
|
|
|
|
|
productId?: Prisma.SortOrder
|
|
|
|
@@ -410,6 +437,7 @@ export type PurchaseReceiptItemMaxOrderByAggregateInput = {
|
|
|
|
|
count?: Prisma.SortOrder
|
|
|
|
|
fee?: Prisma.SortOrder
|
|
|
|
|
total?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
|
|
|
|
receiptId?: Prisma.SortOrder
|
|
|
|
|
productId?: Prisma.SortOrder
|
|
|
|
@@ -420,6 +448,7 @@ export type PurchaseReceiptItemMinOrderByAggregateInput = {
|
|
|
|
|
count?: Prisma.SortOrder
|
|
|
|
|
fee?: Prisma.SortOrder
|
|
|
|
|
total?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
|
|
|
|
receiptId?: Prisma.SortOrder
|
|
|
|
|
productId?: Prisma.SortOrder
|
|
|
|
@@ -522,6 +551,7 @@ export type PurchaseReceiptItemCreateWithoutProductInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
receipt: Prisma.PurchaseReceiptCreateNestedOneWithoutItemsInput
|
|
|
|
|
}
|
|
|
|
@@ -531,6 +561,7 @@ export type PurchaseReceiptItemUncheckedCreateWithoutProductInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
receiptId: number
|
|
|
|
|
}
|
|
|
|
@@ -569,6 +600,7 @@ export type PurchaseReceiptItemScalarWhereInput = {
|
|
|
|
|
count?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFilter<"PurchaseReceiptItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.StringNullableFilter<"PurchaseReceiptItem"> | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"PurchaseReceiptItem"> | Date | string
|
|
|
|
|
receiptId?: Prisma.IntFilter<"PurchaseReceiptItem"> | number
|
|
|
|
|
productId?: Prisma.IntFilter<"PurchaseReceiptItem"> | number
|
|
|
|
@@ -578,6 +610,7 @@ export type PurchaseReceiptItemCreateWithoutReceiptInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
product: Prisma.ProductCreateNestedOneWithoutPurchaseReceiptItemsInput
|
|
|
|
|
}
|
|
|
|
@@ -587,6 +620,7 @@ export type PurchaseReceiptItemUncheckedCreateWithoutReceiptInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
productId: number
|
|
|
|
|
}
|
|
|
|
@@ -622,6 +656,7 @@ export type PurchaseReceiptItemCreateManyProductInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
receiptId: number
|
|
|
|
|
}
|
|
|
|
@@ -630,6 +665,7 @@ export type PurchaseReceiptItemUpdateWithoutProductInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
receipt?: Prisma.PurchaseReceiptUpdateOneRequiredWithoutItemsNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -639,6 +675,7 @@ export type PurchaseReceiptItemUncheckedUpdateWithoutProductInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
receiptId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
@@ -648,6 +685,7 @@ export type PurchaseReceiptItemUncheckedUpdateManyWithoutProductInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
receiptId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
@@ -657,6 +695,7 @@ export type PurchaseReceiptItemCreateManyReceiptInput = {
|
|
|
|
|
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
productId: number
|
|
|
|
|
}
|
|
|
|
@@ -665,6 +704,7 @@ export type PurchaseReceiptItemUpdateWithoutReceiptInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
product?: Prisma.ProductUpdateOneRequiredWithoutPurchaseReceiptItemsNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -674,6 +714,7 @@ export type PurchaseReceiptItemUncheckedUpdateWithoutReceiptInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
@@ -683,6 +724,7 @@ export type PurchaseReceiptItemUncheckedUpdateManyWithoutReceiptInput = {
|
|
|
|
|
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
fee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
total?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
}
|
|
|
|
@@ -694,6 +736,7 @@ export type PurchaseReceiptItemSelect<ExtArgs extends runtime.Types.Extensions.I
|
|
|
|
|
count?: boolean
|
|
|
|
|
fee?: boolean
|
|
|
|
|
total?: boolean
|
|
|
|
|
description?: boolean
|
|
|
|
|
createdAt?: boolean
|
|
|
|
|
receiptId?: boolean
|
|
|
|
|
productId?: boolean
|
|
|
|
@@ -708,12 +751,13 @@ export type PurchaseReceiptItemSelectScalar = {
|
|
|
|
|
count?: boolean
|
|
|
|
|
fee?: boolean
|
|
|
|
|
total?: boolean
|
|
|
|
|
description?: boolean
|
|
|
|
|
createdAt?: boolean
|
|
|
|
|
receiptId?: boolean
|
|
|
|
|
productId?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PurchaseReceiptItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "count" | "fee" | "total" | "createdAt" | "receiptId" | "productId", ExtArgs["result"]["purchaseReceiptItem"]>
|
|
|
|
|
export type PurchaseReceiptItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "count" | "fee" | "total" | "description" | "createdAt" | "receiptId" | "productId", ExtArgs["result"]["purchaseReceiptItem"]>
|
|
|
|
|
export type PurchaseReceiptItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>
|
|
|
|
|
receipt?: boolean | Prisma.PurchaseReceiptDefaultArgs<ExtArgs>
|
|
|
|
@@ -730,6 +774,7 @@ export type $PurchaseReceiptItemPayload<ExtArgs extends runtime.Types.Extensions
|
|
|
|
|
count: runtime.Decimal
|
|
|
|
|
fee: runtime.Decimal
|
|
|
|
|
total: runtime.Decimal
|
|
|
|
|
description: string | null
|
|
|
|
|
createdAt: Date
|
|
|
|
|
receiptId: number
|
|
|
|
|
productId: number
|
|
|
|
@@ -1108,6 +1153,7 @@ export interface PurchaseReceiptItemFieldRefs {
|
|
|
|
|
readonly count: Prisma.FieldRef<"PurchaseReceiptItem", 'Decimal'>
|
|
|
|
|
readonly fee: Prisma.FieldRef<"PurchaseReceiptItem", 'Decimal'>
|
|
|
|
|
readonly total: Prisma.FieldRef<"PurchaseReceiptItem", 'Decimal'>
|
|
|
|
|
readonly description: Prisma.FieldRef<"PurchaseReceiptItem", 'String'>
|
|
|
|
|
readonly createdAt: Prisma.FieldRef<"PurchaseReceiptItem", 'DateTime'>
|
|
|
|
|
readonly receiptId: Prisma.FieldRef<"PurchaseReceiptItem", 'Int'>
|
|
|
|
|
readonly productId: Prisma.FieldRef<"PurchaseReceiptItem", 'Int'>
|
|
|
|
|