feat: add config module with controller and service
- Implemented ConfigController for handling config-related requests. - Created ConfigService for business logic related to configurations. - Added CreateConfigDto for validating configuration data. feat: add good categories module with controller and service - Implemented GoodCategoriesController for managing good categories. - Created GoodCategoriesService for business logic related to good categories. - Added CreateGoodCategoryDto for validating good category data. feat: add goods module with controller and service - Implemented GoodsController for managing goods. - Created GoodsService for business logic related to goods. - Added CreateGoodDto for validating good data. feat: add profile module with controller and service - Implemented ProfileController for managing user profiles. - Created ProfileService for business logic related to profiles. - Added CreateProfileDto for profile data structure. feat: add sales invoice payments module with controller and service - Implemented SalesInvoicePaymentsController for managing invoice payments. - Created SalesInvoicePaymentsService for business logic related to payments. - Added CreateSalesInvoicePaymentDto for validating payment data. feat: add service categories module with controller and service - Implemented ServiceCategoriesController for managing service categories. - Created ServiceCategoriesService for business logic related to service categories. - Added CreateServiceCategoryDto for validating service category data. feat: add services module with controller and service - Implemented ServicesController for managing services. - Created ServicesService for business logic related to services. - Added CreateServiceDto for validating service data. feat: add trigger logs module with controller and service - Implemented TriggerLogsController for managing trigger logs. - Created TriggerLogsService for business logic related to trigger logs. - Added CreateTriggerLogDto for validating trigger log data. feat: add uploaders module for handling file uploads - Implemented UploadersController for managing file uploads. - Created ImageUploaderService for image upload logic. - Created UploaderService for file handling and storage.
This commit is contained in:
@@ -20,88 +20,82 @@ export type GoodCategoryModel = runtime.Types.Result.DefaultSelection<Prisma.$Go
|
||||
|
||||
export type AggregateGoodCategory = {
|
||||
_count: GoodCategoryCountAggregateOutputType | null
|
||||
_avg: GoodCategoryAvgAggregateOutputType | null
|
||||
_sum: GoodCategorySumAggregateOutputType | null
|
||||
_min: GoodCategoryMinAggregateOutputType | null
|
||||
_max: GoodCategoryMaxAggregateOutputType | null
|
||||
}
|
||||
|
||||
export type GoodCategoryAvgAggregateOutputType = {
|
||||
id: number | null
|
||||
}
|
||||
|
||||
export type GoodCategorySumAggregateOutputType = {
|
||||
id: number | null
|
||||
}
|
||||
|
||||
export type GoodCategoryMinAggregateOutputType = {
|
||||
id: number | null
|
||||
id: string | null
|
||||
name: string | null
|
||||
description: string | null
|
||||
imageUrl: string | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
deletedAt: Date | null
|
||||
image_url: string | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
deleted_at: Date | null
|
||||
}
|
||||
|
||||
export type GoodCategoryMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
id: string | null
|
||||
name: string | null
|
||||
description: string | null
|
||||
imageUrl: string | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
deletedAt: Date | null
|
||||
image_url: string | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
deleted_at: Date | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
description: number
|
||||
imageUrl: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
deletedAt: number
|
||||
image_url: number
|
||||
account_id: number
|
||||
complex_id: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
deleted_at: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
|
||||
export type GoodCategoryAvgAggregateInputType = {
|
||||
id?: true
|
||||
}
|
||||
|
||||
export type GoodCategorySumAggregateInputType = {
|
||||
id?: true
|
||||
}
|
||||
|
||||
export type GoodCategoryMinAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
description?: true
|
||||
imageUrl?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
deletedAt?: true
|
||||
image_url?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
}
|
||||
|
||||
export type GoodCategoryMaxAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
description?: true
|
||||
imageUrl?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
deletedAt?: true
|
||||
image_url?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
}
|
||||
|
||||
export type GoodCategoryCountAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
description?: true
|
||||
imageUrl?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
deletedAt?: true
|
||||
image_url?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -140,18 +134,6 @@ export type GoodCategoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.I
|
||||
* Count returned GoodCategories
|
||||
**/
|
||||
_count?: true | GoodCategoryCountAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to average
|
||||
**/
|
||||
_avg?: GoodCategoryAvgAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to sum
|
||||
**/
|
||||
_sum?: GoodCategorySumAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
@@ -185,23 +167,21 @@ export type GoodCategoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.Int
|
||||
take?: number
|
||||
skip?: number
|
||||
_count?: GoodCategoryCountAggregateInputType | true
|
||||
_avg?: GoodCategoryAvgAggregateInputType
|
||||
_sum?: GoodCategorySumAggregateInputType
|
||||
_min?: GoodCategoryMinAggregateInputType
|
||||
_max?: GoodCategoryMaxAggregateInputType
|
||||
}
|
||||
|
||||
export type GoodCategoryGroupByOutputType = {
|
||||
id: number
|
||||
id: string
|
||||
name: string
|
||||
description: string | null
|
||||
imageUrl: string | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
deletedAt: Date | null
|
||||
image_url: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
_count: GoodCategoryCountAggregateOutputType | null
|
||||
_avg: GoodCategoryAvgAggregateOutputType | null
|
||||
_sum: GoodCategorySumAggregateOutputType | null
|
||||
_min: GoodCategoryMinAggregateOutputType | null
|
||||
_max: GoodCategoryMaxAggregateOutputType | null
|
||||
}
|
||||
@@ -225,13 +205,15 @@ export type GoodCategoryWhereInput = {
|
||||
AND?: Prisma.GoodCategoryWhereInput | Prisma.GoodCategoryWhereInput[]
|
||||
OR?: Prisma.GoodCategoryWhereInput[]
|
||||
NOT?: Prisma.GoodCategoryWhereInput | Prisma.GoodCategoryWhereInput[]
|
||||
id?: Prisma.IntFilter<"GoodCategory"> | number
|
||||
id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
name?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
imageUrl?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deletedAt?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
account_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
}
|
||||
|
||||
@@ -239,25 +221,29 @@ export type GoodCategoryOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
imageUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
goods?: Prisma.GoodOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.GoodCategoryOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type GoodCategoryWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: number
|
||||
id?: string
|
||||
AND?: Prisma.GoodCategoryWhereInput | Prisma.GoodCategoryWhereInput[]
|
||||
OR?: Prisma.GoodCategoryWhereInput[]
|
||||
NOT?: Prisma.GoodCategoryWhereInput | Prisma.GoodCategoryWhereInput[]
|
||||
name?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
imageUrl?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deletedAt?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
account_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
}, "id">
|
||||
|
||||
@@ -265,99 +251,118 @@ export type GoodCategoryOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
imageUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.GoodCategoryCountOrderByAggregateInput
|
||||
_avg?: Prisma.GoodCategoryAvgOrderByAggregateInput
|
||||
_max?: Prisma.GoodCategoryMaxOrderByAggregateInput
|
||||
_min?: Prisma.GoodCategoryMinOrderByAggregateInput
|
||||
_sum?: Prisma.GoodCategorySumOrderByAggregateInput
|
||||
}
|
||||
|
||||
export type GoodCategoryScalarWhereWithAggregatesInput = {
|
||||
AND?: Prisma.GoodCategoryScalarWhereWithAggregatesInput | Prisma.GoodCategoryScalarWhereWithAggregatesInput[]
|
||||
OR?: Prisma.GoodCategoryScalarWhereWithAggregatesInput[]
|
||||
NOT?: Prisma.GoodCategoryScalarWhereWithAggregatesInput | Prisma.GoodCategoryScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"GoodCategory"> | number
|
||||
id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
|
||||
name?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
|
||||
imageUrl?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
|
||||
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"GoodCategory"> | Date | string | null
|
||||
image_url?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
|
||||
account_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"GoodCategory"> | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
imageUrl?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
imageUrl?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
imageUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
imageUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
imageUrl?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
imageUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
imageUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryNullableScalarRelationFilter = {
|
||||
@@ -375,38 +380,36 @@ export type GoodCategoryCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
imageUrl?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategoryAvgOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategoryMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
imageUrl?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategoryMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
imageUrl?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategorySumOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateNestedOneWithoutGoodsInput = {
|
||||
@@ -426,22 +429,27 @@ export type GoodCategoryUpdateOneWithoutGoodsNestedInput = {
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateWithoutGoodsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
imageUrl?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateWithoutGoodsInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
imageUrl?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateOrConnectWithoutGoodsInput = {
|
||||
@@ -461,22 +469,27 @@ export type GoodCategoryUpdateToOneWithWhereWithoutGoodsInput = {
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithoutGoodsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
imageUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
imageUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
|
||||
@@ -514,10 +527,12 @@ export type GoodCategorySelect<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
imageUrl?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
deletedAt?: boolean
|
||||
image_url?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
deleted_at?: boolean
|
||||
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["goodCategory"]>
|
||||
@@ -528,13 +543,15 @@ export type GoodCategorySelectScalar = {
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
imageUrl?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
deletedAt?: boolean
|
||||
image_url?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
deleted_at?: boolean
|
||||
}
|
||||
|
||||
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "imageUrl" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["goodCategory"]>
|
||||
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image_url" | "account_id" | "complex_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["goodCategory"]>
|
||||
export type GoodCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
||||
@@ -546,13 +563,15 @@ export type $GoodCategoryPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
goods: Prisma.$GoodPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
id: string
|
||||
name: string
|
||||
description: string | null
|
||||
imageUrl: string | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
deletedAt: Date | null
|
||||
image_url: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
}, ExtArgs["result"]["goodCategory"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -923,13 +942,15 @@ export interface Prisma__GoodCategoryClient<T, Null = never, ExtArgs extends run
|
||||
* Fields of the GoodCategory model
|
||||
*/
|
||||
export interface GoodCategoryFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"GoodCategory", 'Int'>
|
||||
readonly id: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly name: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly description: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly imageUrl: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly createdAt: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
readonly updatedAt: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
readonly deletedAt: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
readonly image_url: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly account_id: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly complex_id: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly created_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
readonly deleted_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user