
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `ReviewComment` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model ReviewComment
 * 
 */
export type ReviewCommentModel = runtime.Types.Result.DefaultSelection<Prisma.$ReviewCommentPayload>

export type AggregateReviewComment = {
  _count: ReviewCommentCountAggregateOutputType | null
  _min: ReviewCommentMinAggregateOutputType | null
  _max: ReviewCommentMaxAggregateOutputType | null
}

export type ReviewCommentMinAggregateOutputType = {
  id: string | null
  content: string | null
  userId: string | null
  reviewId: string | null
  createdAt: Date | null
  updatedAt: Date | null
  isDeleted: boolean | null
}

export type ReviewCommentMaxAggregateOutputType = {
  id: string | null
  content: string | null
  userId: string | null
  reviewId: string | null
  createdAt: Date | null
  updatedAt: Date | null
  isDeleted: boolean | null
}

export type ReviewCommentCountAggregateOutputType = {
  id: number
  content: number
  userId: number
  reviewId: number
  createdAt: number
  updatedAt: number
  isDeleted: number
  _all: number
}


export type ReviewCommentMinAggregateInputType = {
  id?: true
  content?: true
  userId?: true
  reviewId?: true
  createdAt?: true
  updatedAt?: true
  isDeleted?: true
}

export type ReviewCommentMaxAggregateInputType = {
  id?: true
  content?: true
  userId?: true
  reviewId?: true
  createdAt?: true
  updatedAt?: true
  isDeleted?: true
}

export type ReviewCommentCountAggregateInputType = {
  id?: true
  content?: true
  userId?: true
  reviewId?: true
  createdAt?: true
  updatedAt?: true
  isDeleted?: true
  _all?: true
}

export type ReviewCommentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which ReviewComment to aggregate.
   */
  where?: Prisma.ReviewCommentWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ReviewComments to fetch.
   */
  orderBy?: Prisma.ReviewCommentOrderByWithRelationInput | Prisma.ReviewCommentOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.ReviewCommentWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ReviewComments from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` ReviewComments.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned ReviewComments
  **/
  _count?: true | ReviewCommentCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: ReviewCommentMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: ReviewCommentMaxAggregateInputType
}

export type GetReviewCommentAggregateType<T extends ReviewCommentAggregateArgs> = {
      [P in keyof T & keyof AggregateReviewComment]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateReviewComment[P]>
    : Prisma.GetScalarType<T[P], AggregateReviewComment[P]>
}




export type ReviewCommentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.ReviewCommentWhereInput
  orderBy?: Prisma.ReviewCommentOrderByWithAggregationInput | Prisma.ReviewCommentOrderByWithAggregationInput[]
  by: Prisma.ReviewCommentScalarFieldEnum[] | Prisma.ReviewCommentScalarFieldEnum
  having?: Prisma.ReviewCommentScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: ReviewCommentCountAggregateInputType | true
  _min?: ReviewCommentMinAggregateInputType
  _max?: ReviewCommentMaxAggregateInputType
}

export type ReviewCommentGroupByOutputType = {
  id: string
  content: string
  userId: string
  reviewId: string
  createdAt: Date
  updatedAt: Date
  isDeleted: boolean
  _count: ReviewCommentCountAggregateOutputType | null
  _min: ReviewCommentMinAggregateOutputType | null
  _max: ReviewCommentMaxAggregateOutputType | null
}

type GetReviewCommentGroupByPayload<T extends ReviewCommentGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<ReviewCommentGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof ReviewCommentGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], ReviewCommentGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], ReviewCommentGroupByOutputType[P]>
      }
    >
  >



export type ReviewCommentWhereInput = {
  AND?: Prisma.ReviewCommentWhereInput | Prisma.ReviewCommentWhereInput[]
  OR?: Prisma.ReviewCommentWhereInput[]
  NOT?: Prisma.ReviewCommentWhereInput | Prisma.ReviewCommentWhereInput[]
  id?: Prisma.StringFilter<"ReviewComment"> | string
  content?: Prisma.StringFilter<"ReviewComment"> | string
  userId?: Prisma.StringFilter<"ReviewComment"> | string
  reviewId?: Prisma.StringFilter<"ReviewComment"> | string
  createdAt?: Prisma.DateTimeFilter<"ReviewComment"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"ReviewComment"> | Date | string
  isDeleted?: Prisma.BoolFilter<"ReviewComment"> | boolean
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.userWhereInput>
  review?: Prisma.XOR<Prisma.ReviewScalarRelationFilter, Prisma.reviewWhereInput>
}

export type ReviewCommentOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  content?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  reviewId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  isDeleted?: Prisma.SortOrder
  user?: Prisma.userOrderByWithRelationInput
  review?: Prisma.reviewOrderByWithRelationInput
}

export type ReviewCommentWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.ReviewCommentWhereInput | Prisma.ReviewCommentWhereInput[]
  OR?: Prisma.ReviewCommentWhereInput[]
  NOT?: Prisma.ReviewCommentWhereInput | Prisma.ReviewCommentWhereInput[]
  content?: Prisma.StringFilter<"ReviewComment"> | string
  userId?: Prisma.StringFilter<"ReviewComment"> | string
  reviewId?: Prisma.StringFilter<"ReviewComment"> | string
  createdAt?: Prisma.DateTimeFilter<"ReviewComment"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"ReviewComment"> | Date | string
  isDeleted?: Prisma.BoolFilter<"ReviewComment"> | boolean
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.userWhereInput>
  review?: Prisma.XOR<Prisma.ReviewScalarRelationFilter, Prisma.reviewWhereInput>
}, "id">

export type ReviewCommentOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  content?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  reviewId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  isDeleted?: Prisma.SortOrder
  _count?: Prisma.ReviewCommentCountOrderByAggregateInput
  _max?: Prisma.ReviewCommentMaxOrderByAggregateInput
  _min?: Prisma.ReviewCommentMinOrderByAggregateInput
}

export type ReviewCommentScalarWhereWithAggregatesInput = {
  AND?: Prisma.ReviewCommentScalarWhereWithAggregatesInput | Prisma.ReviewCommentScalarWhereWithAggregatesInput[]
  OR?: Prisma.ReviewCommentScalarWhereWithAggregatesInput[]
  NOT?: Prisma.ReviewCommentScalarWhereWithAggregatesInput | Prisma.ReviewCommentScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"ReviewComment"> | string
  content?: Prisma.StringWithAggregatesFilter<"ReviewComment"> | string
  userId?: Prisma.StringWithAggregatesFilter<"ReviewComment"> | string
  reviewId?: Prisma.StringWithAggregatesFilter<"ReviewComment"> | string
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"ReviewComment"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ReviewComment"> | Date | string
  isDeleted?: Prisma.BoolWithAggregatesFilter<"ReviewComment"> | boolean
}

export type ReviewCommentCreateInput = {
  id?: string
  content: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
  user: Prisma.userCreateNestedOneWithoutReviewCommentsInput
  review: Prisma.reviewCreateNestedOneWithoutCommentsInput
}

export type ReviewCommentUncheckedCreateInput = {
  id?: string
  content: string
  userId: string
  reviewId: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
}

export type ReviewCommentUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user?: Prisma.userUpdateOneRequiredWithoutReviewCommentsNestedInput
  review?: Prisma.reviewUpdateOneRequiredWithoutCommentsNestedInput
}

export type ReviewCommentUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.StringFieldUpdateOperationsInput | string
  reviewId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type ReviewCommentCreateManyInput = {
  id?: string
  content: string
  userId: string
  reviewId: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
}

export type ReviewCommentUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type ReviewCommentUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.StringFieldUpdateOperationsInput | string
  reviewId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type ReviewCommentListRelationFilter = {
  every?: Prisma.ReviewCommentWhereInput
  some?: Prisma.ReviewCommentWhereInput
  none?: Prisma.ReviewCommentWhereInput
}

export type ReviewCommentOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type ReviewCommentCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  content?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  reviewId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  isDeleted?: Prisma.SortOrder
}

export type ReviewCommentMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  content?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  reviewId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  isDeleted?: Prisma.SortOrder
}

export type ReviewCommentMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  content?: Prisma.SortOrder
  userId?: Prisma.SortOrder
  reviewId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  isDeleted?: Prisma.SortOrder
}

export type ReviewCommentCreateNestedManyWithoutUserInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutUserInput, Prisma.ReviewCommentUncheckedCreateWithoutUserInput> | Prisma.ReviewCommentCreateWithoutUserInput[] | Prisma.ReviewCommentUncheckedCreateWithoutUserInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutUserInput | Prisma.ReviewCommentCreateOrConnectWithoutUserInput[]
  createMany?: Prisma.ReviewCommentCreateManyUserInputEnvelope
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
}

export type ReviewCommentUncheckedCreateNestedManyWithoutUserInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutUserInput, Prisma.ReviewCommentUncheckedCreateWithoutUserInput> | Prisma.ReviewCommentCreateWithoutUserInput[] | Prisma.ReviewCommentUncheckedCreateWithoutUserInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutUserInput | Prisma.ReviewCommentCreateOrConnectWithoutUserInput[]
  createMany?: Prisma.ReviewCommentCreateManyUserInputEnvelope
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
}

export type ReviewCommentUpdateManyWithoutUserNestedInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutUserInput, Prisma.ReviewCommentUncheckedCreateWithoutUserInput> | Prisma.ReviewCommentCreateWithoutUserInput[] | Prisma.ReviewCommentUncheckedCreateWithoutUserInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutUserInput | Prisma.ReviewCommentCreateOrConnectWithoutUserInput[]
  upsert?: Prisma.ReviewCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.ReviewCommentUpsertWithWhereUniqueWithoutUserInput[]
  createMany?: Prisma.ReviewCommentCreateManyUserInputEnvelope
  set?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  disconnect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  delete?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  update?: Prisma.ReviewCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.ReviewCommentUpdateWithWhereUniqueWithoutUserInput[]
  updateMany?: Prisma.ReviewCommentUpdateManyWithWhereWithoutUserInput | Prisma.ReviewCommentUpdateManyWithWhereWithoutUserInput[]
  deleteMany?: Prisma.ReviewCommentScalarWhereInput | Prisma.ReviewCommentScalarWhereInput[]
}

export type ReviewCommentUncheckedUpdateManyWithoutUserNestedInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutUserInput, Prisma.ReviewCommentUncheckedCreateWithoutUserInput> | Prisma.ReviewCommentCreateWithoutUserInput[] | Prisma.ReviewCommentUncheckedCreateWithoutUserInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutUserInput | Prisma.ReviewCommentCreateOrConnectWithoutUserInput[]
  upsert?: Prisma.ReviewCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.ReviewCommentUpsertWithWhereUniqueWithoutUserInput[]
  createMany?: Prisma.ReviewCommentCreateManyUserInputEnvelope
  set?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  disconnect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  delete?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  update?: Prisma.ReviewCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.ReviewCommentUpdateWithWhereUniqueWithoutUserInput[]
  updateMany?: Prisma.ReviewCommentUpdateManyWithWhereWithoutUserInput | Prisma.ReviewCommentUpdateManyWithWhereWithoutUserInput[]
  deleteMany?: Prisma.ReviewCommentScalarWhereInput | Prisma.ReviewCommentScalarWhereInput[]
}

export type ReviewCommentCreateNestedManyWithoutReviewInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutReviewInput, Prisma.ReviewCommentUncheckedCreateWithoutReviewInput> | Prisma.ReviewCommentCreateWithoutReviewInput[] | Prisma.ReviewCommentUncheckedCreateWithoutReviewInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutReviewInput | Prisma.ReviewCommentCreateOrConnectWithoutReviewInput[]
  createMany?: Prisma.ReviewCommentCreateManyReviewInputEnvelope
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
}

export type ReviewCommentUncheckedCreateNestedManyWithoutReviewInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutReviewInput, Prisma.ReviewCommentUncheckedCreateWithoutReviewInput> | Prisma.ReviewCommentCreateWithoutReviewInput[] | Prisma.ReviewCommentUncheckedCreateWithoutReviewInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutReviewInput | Prisma.ReviewCommentCreateOrConnectWithoutReviewInput[]
  createMany?: Prisma.ReviewCommentCreateManyReviewInputEnvelope
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
}

export type ReviewCommentUpdateManyWithoutReviewNestedInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutReviewInput, Prisma.ReviewCommentUncheckedCreateWithoutReviewInput> | Prisma.ReviewCommentCreateWithoutReviewInput[] | Prisma.ReviewCommentUncheckedCreateWithoutReviewInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutReviewInput | Prisma.ReviewCommentCreateOrConnectWithoutReviewInput[]
  upsert?: Prisma.ReviewCommentUpsertWithWhereUniqueWithoutReviewInput | Prisma.ReviewCommentUpsertWithWhereUniqueWithoutReviewInput[]
  createMany?: Prisma.ReviewCommentCreateManyReviewInputEnvelope
  set?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  disconnect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  delete?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  update?: Prisma.ReviewCommentUpdateWithWhereUniqueWithoutReviewInput | Prisma.ReviewCommentUpdateWithWhereUniqueWithoutReviewInput[]
  updateMany?: Prisma.ReviewCommentUpdateManyWithWhereWithoutReviewInput | Prisma.ReviewCommentUpdateManyWithWhereWithoutReviewInput[]
  deleteMany?: Prisma.ReviewCommentScalarWhereInput | Prisma.ReviewCommentScalarWhereInput[]
}

export type ReviewCommentUncheckedUpdateManyWithoutReviewNestedInput = {
  create?: Prisma.XOR<Prisma.ReviewCommentCreateWithoutReviewInput, Prisma.ReviewCommentUncheckedCreateWithoutReviewInput> | Prisma.ReviewCommentCreateWithoutReviewInput[] | Prisma.ReviewCommentUncheckedCreateWithoutReviewInput[]
  connectOrCreate?: Prisma.ReviewCommentCreateOrConnectWithoutReviewInput | Prisma.ReviewCommentCreateOrConnectWithoutReviewInput[]
  upsert?: Prisma.ReviewCommentUpsertWithWhereUniqueWithoutReviewInput | Prisma.ReviewCommentUpsertWithWhereUniqueWithoutReviewInput[]
  createMany?: Prisma.ReviewCommentCreateManyReviewInputEnvelope
  set?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  disconnect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  delete?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  connect?: Prisma.ReviewCommentWhereUniqueInput | Prisma.ReviewCommentWhereUniqueInput[]
  update?: Prisma.ReviewCommentUpdateWithWhereUniqueWithoutReviewInput | Prisma.ReviewCommentUpdateWithWhereUniqueWithoutReviewInput[]
  updateMany?: Prisma.ReviewCommentUpdateManyWithWhereWithoutReviewInput | Prisma.ReviewCommentUpdateManyWithWhereWithoutReviewInput[]
  deleteMany?: Prisma.ReviewCommentScalarWhereInput | Prisma.ReviewCommentScalarWhereInput[]
}

export type ReviewCommentCreateWithoutUserInput = {
  id?: string
  content: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
  review: Prisma.reviewCreateNestedOneWithoutCommentsInput
}

export type ReviewCommentUncheckedCreateWithoutUserInput = {
  id?: string
  content: string
  reviewId: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
}

export type ReviewCommentCreateOrConnectWithoutUserInput = {
  where: Prisma.ReviewCommentWhereUniqueInput
  create: Prisma.XOR<Prisma.ReviewCommentCreateWithoutUserInput, Prisma.ReviewCommentUncheckedCreateWithoutUserInput>
}

export type ReviewCommentCreateManyUserInputEnvelope = {
  data: Prisma.ReviewCommentCreateManyUserInput | Prisma.ReviewCommentCreateManyUserInput[]
  skipDuplicates?: boolean
}

export type ReviewCommentUpsertWithWhereUniqueWithoutUserInput = {
  where: Prisma.ReviewCommentWhereUniqueInput
  update: Prisma.XOR<Prisma.ReviewCommentUpdateWithoutUserInput, Prisma.ReviewCommentUncheckedUpdateWithoutUserInput>
  create: Prisma.XOR<Prisma.ReviewCommentCreateWithoutUserInput, Prisma.ReviewCommentUncheckedCreateWithoutUserInput>
}

export type ReviewCommentUpdateWithWhereUniqueWithoutUserInput = {
  where: Prisma.ReviewCommentWhereUniqueInput
  data: Prisma.XOR<Prisma.ReviewCommentUpdateWithoutUserInput, Prisma.ReviewCommentUncheckedUpdateWithoutUserInput>
}

export type ReviewCommentUpdateManyWithWhereWithoutUserInput = {
  where: Prisma.ReviewCommentScalarWhereInput
  data: Prisma.XOR<Prisma.ReviewCommentUpdateManyMutationInput, Prisma.ReviewCommentUncheckedUpdateManyWithoutUserInput>
}

export type ReviewCommentScalarWhereInput = {
  AND?: Prisma.ReviewCommentScalarWhereInput | Prisma.ReviewCommentScalarWhereInput[]
  OR?: Prisma.ReviewCommentScalarWhereInput[]
  NOT?: Prisma.ReviewCommentScalarWhereInput | Prisma.ReviewCommentScalarWhereInput[]
  id?: Prisma.StringFilter<"ReviewComment"> | string
  content?: Prisma.StringFilter<"ReviewComment"> | string
  userId?: Prisma.StringFilter<"ReviewComment"> | string
  reviewId?: Prisma.StringFilter<"ReviewComment"> | string
  createdAt?: Prisma.DateTimeFilter<"ReviewComment"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"ReviewComment"> | Date | string
  isDeleted?: Prisma.BoolFilter<"ReviewComment"> | boolean
}

export type ReviewCommentCreateWithoutReviewInput = {
  id?: string
  content: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
  user: Prisma.userCreateNestedOneWithoutReviewCommentsInput
}

export type ReviewCommentUncheckedCreateWithoutReviewInput = {
  id?: string
  content: string
  userId: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
}

export type ReviewCommentCreateOrConnectWithoutReviewInput = {
  where: Prisma.ReviewCommentWhereUniqueInput
  create: Prisma.XOR<Prisma.ReviewCommentCreateWithoutReviewInput, Prisma.ReviewCommentUncheckedCreateWithoutReviewInput>
}

export type ReviewCommentCreateManyReviewInputEnvelope = {
  data: Prisma.ReviewCommentCreateManyReviewInput | Prisma.ReviewCommentCreateManyReviewInput[]
  skipDuplicates?: boolean
}

export type ReviewCommentUpsertWithWhereUniqueWithoutReviewInput = {
  where: Prisma.ReviewCommentWhereUniqueInput
  update: Prisma.XOR<Prisma.ReviewCommentUpdateWithoutReviewInput, Prisma.ReviewCommentUncheckedUpdateWithoutReviewInput>
  create: Prisma.XOR<Prisma.ReviewCommentCreateWithoutReviewInput, Prisma.ReviewCommentUncheckedCreateWithoutReviewInput>
}

export type ReviewCommentUpdateWithWhereUniqueWithoutReviewInput = {
  where: Prisma.ReviewCommentWhereUniqueInput
  data: Prisma.XOR<Prisma.ReviewCommentUpdateWithoutReviewInput, Prisma.ReviewCommentUncheckedUpdateWithoutReviewInput>
}

export type ReviewCommentUpdateManyWithWhereWithoutReviewInput = {
  where: Prisma.ReviewCommentScalarWhereInput
  data: Prisma.XOR<Prisma.ReviewCommentUpdateManyMutationInput, Prisma.ReviewCommentUncheckedUpdateManyWithoutReviewInput>
}

export type ReviewCommentCreateManyUserInput = {
  id?: string
  content: string
  reviewId: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
}

export type ReviewCommentUpdateWithoutUserInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
  review?: Prisma.reviewUpdateOneRequiredWithoutCommentsNestedInput
}

export type ReviewCommentUncheckedUpdateWithoutUserInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  reviewId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type ReviewCommentUncheckedUpdateManyWithoutUserInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  reviewId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type ReviewCommentCreateManyReviewInput = {
  id?: string
  content: string
  userId: string
  createdAt?: Date | string
  updatedAt?: Date | string
  isDeleted?: boolean
}

export type ReviewCommentUpdateWithoutReviewInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
  user?: Prisma.userUpdateOneRequiredWithoutReviewCommentsNestedInput
}

export type ReviewCommentUncheckedUpdateWithoutReviewInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
}

export type ReviewCommentUncheckedUpdateManyWithoutReviewInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  content?: Prisma.StringFieldUpdateOperationsInput | string
  userId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
}



export type ReviewCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  content?: boolean
  userId?: boolean
  reviewId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  isDeleted?: boolean
  user?: boolean | Prisma.userDefaultArgs<ExtArgs>
  review?: boolean | Prisma.reviewDefaultArgs<ExtArgs>
}, ExtArgs["result"]["reviewComment"]>

export type ReviewCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  content?: boolean
  userId?: boolean
  reviewId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  isDeleted?: boolean
  user?: boolean | Prisma.userDefaultArgs<ExtArgs>
  review?: boolean | Prisma.reviewDefaultArgs<ExtArgs>
}, ExtArgs["result"]["reviewComment"]>

export type ReviewCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  content?: boolean
  userId?: boolean
  reviewId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  isDeleted?: boolean
  user?: boolean | Prisma.userDefaultArgs<ExtArgs>
  review?: boolean | Prisma.reviewDefaultArgs<ExtArgs>
}, ExtArgs["result"]["reviewComment"]>

export type ReviewCommentSelectScalar = {
  id?: boolean
  content?: boolean
  userId?: boolean
  reviewId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  isDeleted?: boolean
}

export type ReviewCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "content" | "userId" | "reviewId" | "createdAt" | "updatedAt" | "isDeleted", ExtArgs["result"]["reviewComment"]>
export type ReviewCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  user?: boolean | Prisma.userDefaultArgs<ExtArgs>
  review?: boolean | Prisma.reviewDefaultArgs<ExtArgs>
}
export type ReviewCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  user?: boolean | Prisma.userDefaultArgs<ExtArgs>
  review?: boolean | Prisma.reviewDefaultArgs<ExtArgs>
}
export type ReviewCommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  user?: boolean | Prisma.userDefaultArgs<ExtArgs>
  review?: boolean | Prisma.reviewDefaultArgs<ExtArgs>
}

export type $ReviewCommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "ReviewComment"
  objects: {
    user: Prisma.$userPayload<ExtArgs>
    review: Prisma.$reviewPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    content: string
    userId: string
    reviewId: string
    createdAt: Date
    updatedAt: Date
    isDeleted: boolean
  }, ExtArgs["result"]["reviewComment"]>
  composites: {}
}

export type ReviewCommentGetPayload<S extends boolean | null | undefined | ReviewCommentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload, S>

export type ReviewCommentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<ReviewCommentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: ReviewCommentCountAggregateInputType | true
  }

export interface ReviewCommentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ReviewComment'], meta: { name: 'ReviewComment' } }
  /**
   * Find zero or one ReviewComment that matches the filter.
   * @param {ReviewCommentFindUniqueArgs} args - Arguments to find a ReviewComment
   * @example
   * // Get one ReviewComment
   * const reviewComment = await prisma.reviewComment.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends ReviewCommentFindUniqueArgs>(args: Prisma.SelectSubset<T, ReviewCommentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one ReviewComment that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {ReviewCommentFindUniqueOrThrowArgs} args - Arguments to find a ReviewComment
   * @example
   * // Get one ReviewComment
   * const reviewComment = await prisma.reviewComment.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends ReviewCommentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ReviewCommentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first ReviewComment that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ReviewCommentFindFirstArgs} args - Arguments to find a ReviewComment
   * @example
   * // Get one ReviewComment
   * const reviewComment = await prisma.reviewComment.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends ReviewCommentFindFirstArgs>(args?: Prisma.SelectSubset<T, ReviewCommentFindFirstArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first ReviewComment that matches the filter or
   * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ReviewCommentFindFirstOrThrowArgs} args - Arguments to find a ReviewComment
   * @example
   * // Get one ReviewComment
   * const reviewComment = await prisma.reviewComment.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends ReviewCommentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ReviewCommentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more ReviewComments that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ReviewCommentFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all ReviewComments
   * const reviewComments = await prisma.reviewComment.findMany()
   * 
   * // Get first 10 ReviewComments
   * const reviewComments = await prisma.reviewComment.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const reviewCommentWithIdOnly = await prisma.reviewComment.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends ReviewCommentFindManyArgs>(args?: Prisma.SelectSubset<T, ReviewCommentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a ReviewComment.
   * @param {ReviewCommentCreateArgs} args - Arguments to create a ReviewComment.
   * @example
   * // Create one ReviewComment
   * const ReviewComment = await prisma.reviewComment.create({
   *   data: {
   *     // ... data to create a ReviewComment
   *   }
   * })
   * 
   */
  create<T extends ReviewCommentCreateArgs>(args: Prisma.SelectSubset<T, ReviewCommentCreateArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many ReviewComments.
   * @param {ReviewCommentCreateManyArgs} args - Arguments to create many ReviewComments.
   * @example
   * // Create many ReviewComments
   * const reviewComment = await prisma.reviewComment.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends ReviewCommentCreateManyArgs>(args?: Prisma.SelectSubset<T, ReviewCommentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many ReviewComments and returns the data saved in the database.
   * @param {ReviewCommentCreateManyAndReturnArgs} args - Arguments to create many ReviewComments.
   * @example
   * // Create many ReviewComments
   * const reviewComment = await prisma.reviewComment.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many ReviewComments and only return the `id`
   * const reviewCommentWithIdOnly = await prisma.reviewComment.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends ReviewCommentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ReviewCommentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a ReviewComment.
   * @param {ReviewCommentDeleteArgs} args - Arguments to delete one ReviewComment.
   * @example
   * // Delete one ReviewComment
   * const ReviewComment = await prisma.reviewComment.delete({
   *   where: {
   *     // ... filter to delete one ReviewComment
   *   }
   * })
   * 
   */
  delete<T extends ReviewCommentDeleteArgs>(args: Prisma.SelectSubset<T, ReviewCommentDeleteArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one ReviewComment.
   * @param {ReviewCommentUpdateArgs} args - Arguments to update one ReviewComment.
   * @example
   * // Update one ReviewComment
   * const reviewComment = await prisma.reviewComment.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends ReviewCommentUpdateArgs>(args: Prisma.SelectSubset<T, ReviewCommentUpdateArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more ReviewComments.
   * @param {ReviewCommentDeleteManyArgs} args - Arguments to filter ReviewComments to delete.
   * @example
   * // Delete a few ReviewComments
   * const { count } = await prisma.reviewComment.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends ReviewCommentDeleteManyArgs>(args?: Prisma.SelectSubset<T, ReviewCommentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more ReviewComments.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ReviewCommentUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many ReviewComments
   * const reviewComment = await prisma.reviewComment.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends ReviewCommentUpdateManyArgs>(args: Prisma.SelectSubset<T, ReviewCommentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more ReviewComments and returns the data updated in the database.
   * @param {ReviewCommentUpdateManyAndReturnArgs} args - Arguments to update many ReviewComments.
   * @example
   * // Update many ReviewComments
   * const reviewComment = await prisma.reviewComment.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more ReviewComments and only return the `id`
   * const reviewCommentWithIdOnly = await prisma.reviewComment.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends ReviewCommentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ReviewCommentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one ReviewComment.
   * @param {ReviewCommentUpsertArgs} args - Arguments to update or create a ReviewComment.
   * @example
   * // Update or create a ReviewComment
   * const reviewComment = await prisma.reviewComment.upsert({
   *   create: {
   *     // ... data to create a ReviewComment
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the ReviewComment we want to update
   *   }
   * })
   */
  upsert<T extends ReviewCommentUpsertArgs>(args: Prisma.SelectSubset<T, ReviewCommentUpsertArgs<ExtArgs>>): Prisma.Prisma__ReviewCommentClient<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of ReviewComments.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ReviewCommentCountArgs} args - Arguments to filter ReviewComments to count.
   * @example
   * // Count the number of ReviewComments
   * const count = await prisma.reviewComment.count({
   *   where: {
   *     // ... the filter for the ReviewComments we want to count
   *   }
   * })
  **/
  count<T extends ReviewCommentCountArgs>(
    args?: Prisma.Subset<T, ReviewCommentCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], ReviewCommentCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a ReviewComment.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ReviewCommentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends ReviewCommentAggregateArgs>(args: Prisma.Subset<T, ReviewCommentAggregateArgs>): Prisma.PrismaPromise<GetReviewCommentAggregateType<T>>

  /**
   * Group by ReviewComment.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ReviewCommentGroupByArgs} args - Group by arguments.
   * @example
   * // Group by city, order by createdAt, get count
   * const result = await prisma.user.groupBy({
   *   by: ['city', 'createdAt'],
   *   orderBy: {
   *     createdAt: true
   *   },
   *   _count: {
   *     _all: true
   *   },
   * })
   * 
  **/
  groupBy<
    T extends ReviewCommentGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: ReviewCommentGroupByArgs['orderBy'] }
      : { orderBy?: ReviewCommentGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
    InputErrors extends ByEmpty extends Prisma.True
    ? `Error: "by" must not be empty.`
    : HavingValid extends Prisma.False
    ? {
        [P in HavingFields]: P extends ByFields
          ? never
          : P extends string
          ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
          : [
              Error,
              'Field ',
              P,
              ` in "having" needs to be provided in "by"`,
            ]
      }[HavingFields]
    : 'take' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "take", you also need to provide "orderBy"'
    : 'skip' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "skip", you also need to provide "orderBy"'
    : ByValid extends Prisma.True
    ? {}
    : {
        [P in OrderFields]: P extends ByFields
          ? never
          : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
      }[OrderFields]
  >(args: Prisma.SubsetIntersection<T, ReviewCommentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetReviewCommentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the ReviewComment model
 */
readonly fields: ReviewCommentFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for ReviewComment.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__ReviewCommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  user<T extends Prisma.userDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.userDefaultArgs<ExtArgs>>): Prisma.Prisma__userClient<runtime.Types.Result.GetResult<Prisma.$userPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  review<T extends Prisma.reviewDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.reviewDefaultArgs<ExtArgs>>): Prisma.Prisma__reviewClient<runtime.Types.Result.GetResult<Prisma.$reviewPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  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>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the ReviewComment model
 */
export interface ReviewCommentFieldRefs {
  readonly id: Prisma.FieldRef<"ReviewComment", 'String'>
  readonly content: Prisma.FieldRef<"ReviewComment", 'String'>
  readonly userId: Prisma.FieldRef<"ReviewComment", 'String'>
  readonly reviewId: Prisma.FieldRef<"ReviewComment", 'String'>
  readonly createdAt: Prisma.FieldRef<"ReviewComment", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"ReviewComment", 'DateTime'>
  readonly isDeleted: Prisma.FieldRef<"ReviewComment", 'Boolean'>
}
    

// Custom InputTypes
/**
 * ReviewComment findUnique
 */
export type ReviewCommentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * Filter, which ReviewComment to fetch.
   */
  where: Prisma.ReviewCommentWhereUniqueInput
}

/**
 * ReviewComment findUniqueOrThrow
 */
export type ReviewCommentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * Filter, which ReviewComment to fetch.
   */
  where: Prisma.ReviewCommentWhereUniqueInput
}

/**
 * ReviewComment findFirst
 */
export type ReviewCommentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * Filter, which ReviewComment to fetch.
   */
  where?: Prisma.ReviewCommentWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ReviewComments to fetch.
   */
  orderBy?: Prisma.ReviewCommentOrderByWithRelationInput | Prisma.ReviewCommentOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for ReviewComments.
   */
  cursor?: Prisma.ReviewCommentWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ReviewComments from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` ReviewComments.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of ReviewComments.
   */
  distinct?: Prisma.ReviewCommentScalarFieldEnum | Prisma.ReviewCommentScalarFieldEnum[]
}

/**
 * ReviewComment findFirstOrThrow
 */
export type ReviewCommentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * Filter, which ReviewComment to fetch.
   */
  where?: Prisma.ReviewCommentWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ReviewComments to fetch.
   */
  orderBy?: Prisma.ReviewCommentOrderByWithRelationInput | Prisma.ReviewCommentOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for ReviewComments.
   */
  cursor?: Prisma.ReviewCommentWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ReviewComments from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` ReviewComments.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of ReviewComments.
   */
  distinct?: Prisma.ReviewCommentScalarFieldEnum | Prisma.ReviewCommentScalarFieldEnum[]
}

/**
 * ReviewComment findMany
 */
export type ReviewCommentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * Filter, which ReviewComments to fetch.
   */
  where?: Prisma.ReviewCommentWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of ReviewComments to fetch.
   */
  orderBy?: Prisma.ReviewCommentOrderByWithRelationInput | Prisma.ReviewCommentOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing ReviewComments.
   */
  cursor?: Prisma.ReviewCommentWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` ReviewComments from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` ReviewComments.
   */
  skip?: number
  distinct?: Prisma.ReviewCommentScalarFieldEnum | Prisma.ReviewCommentScalarFieldEnum[]
}

/**
 * ReviewComment create
 */
export type ReviewCommentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * The data needed to create a ReviewComment.
   */
  data: Prisma.XOR<Prisma.ReviewCommentCreateInput, Prisma.ReviewCommentUncheckedCreateInput>
}

/**
 * ReviewComment createMany
 */
export type ReviewCommentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many ReviewComments.
   */
  data: Prisma.ReviewCommentCreateManyInput | Prisma.ReviewCommentCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * ReviewComment createManyAndReturn
 */
export type ReviewCommentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * The data used to create many ReviewComments.
   */
  data: Prisma.ReviewCommentCreateManyInput | Prisma.ReviewCommentCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * ReviewComment update
 */
export type ReviewCommentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * The data needed to update a ReviewComment.
   */
  data: Prisma.XOR<Prisma.ReviewCommentUpdateInput, Prisma.ReviewCommentUncheckedUpdateInput>
  /**
   * Choose, which ReviewComment to update.
   */
  where: Prisma.ReviewCommentWhereUniqueInput
}

/**
 * ReviewComment updateMany
 */
export type ReviewCommentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update ReviewComments.
   */
  data: Prisma.XOR<Prisma.ReviewCommentUpdateManyMutationInput, Prisma.ReviewCommentUncheckedUpdateManyInput>
  /**
   * Filter which ReviewComments to update
   */
  where?: Prisma.ReviewCommentWhereInput
  /**
   * Limit how many ReviewComments to update.
   */
  limit?: number
}

/**
 * ReviewComment updateManyAndReturn
 */
export type ReviewCommentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * The data used to update ReviewComments.
   */
  data: Prisma.XOR<Prisma.ReviewCommentUpdateManyMutationInput, Prisma.ReviewCommentUncheckedUpdateManyInput>
  /**
   * Filter which ReviewComments to update
   */
  where?: Prisma.ReviewCommentWhereInput
  /**
   * Limit how many ReviewComments to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * ReviewComment upsert
 */
export type ReviewCommentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * The filter to search for the ReviewComment to update in case it exists.
   */
  where: Prisma.ReviewCommentWhereUniqueInput
  /**
   * In case the ReviewComment found by the `where` argument doesn't exist, create a new ReviewComment with this data.
   */
  create: Prisma.XOR<Prisma.ReviewCommentCreateInput, Prisma.ReviewCommentUncheckedCreateInput>
  /**
   * In case the ReviewComment was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.ReviewCommentUpdateInput, Prisma.ReviewCommentUncheckedUpdateInput>
}

/**
 * ReviewComment delete
 */
export type ReviewCommentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
  /**
   * Filter which ReviewComment to delete.
   */
  where: Prisma.ReviewCommentWhereUniqueInput
}

/**
 * ReviewComment deleteMany
 */
export type ReviewCommentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which ReviewComments to delete
   */
  where?: Prisma.ReviewCommentWhereInput
  /**
   * Limit how many ReviewComments to delete.
   */
  limit?: number
}

/**
 * ReviewComment without action
 */
export type ReviewCommentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ReviewComment
   */
  select?: Prisma.ReviewCommentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the ReviewComment
   */
  omit?: Prisma.ReviewCommentOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ReviewCommentInclude<ExtArgs> | null
}
