
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `hour_bank_detail` 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 hour_bank_detail
 * 
 */
export type hour_bank_detailModel = runtime.Types.Result.DefaultSelection<Prisma.$hour_bank_detailPayload>

export type AggregateHour_bank_detail = {
  _count: Hour_bank_detailCountAggregateOutputType | null
  _avg: Hour_bank_detailAvgAggregateOutputType | null
  _sum: Hour_bank_detailSumAggregateOutputType | null
  _min: Hour_bank_detailMinAggregateOutputType | null
  _max: Hour_bank_detailMaxAggregateOutputType | null
}

export type Hour_bank_detailAvgAggregateOutputType = {
  id: number | null
  hour_id: number | null
  staff_id: number | null
  date_orig: number | null
  used_time: number | null
  ticket_id: number | null
}

export type Hour_bank_detailSumAggregateOutputType = {
  id: number | null
  hour_id: number | null
  staff_id: bigint | null
  date_orig: bigint | null
  used_time: number | null
  ticket_id: bigint | null
}

export type Hour_bank_detailMinAggregateOutputType = {
  id: number | null
  hour_id: number | null
  staff_id: bigint | null
  date_orig: bigint | null
  used_time: number | null
  ticket_id: bigint | null
  working_order: string | null
  detail: string | null
}

export type Hour_bank_detailMaxAggregateOutputType = {
  id: number | null
  hour_id: number | null
  staff_id: bigint | null
  date_orig: bigint | null
  used_time: number | null
  ticket_id: bigint | null
  working_order: string | null
  detail: string | null
}

export type Hour_bank_detailCountAggregateOutputType = {
  id: number
  hour_id: number
  staff_id: number
  date_orig: number
  used_time: number
  ticket_id: number
  working_order: number
  detail: number
  _all: number
}


export type Hour_bank_detailAvgAggregateInputType = {
  id?: true
  hour_id?: true
  staff_id?: true
  date_orig?: true
  used_time?: true
  ticket_id?: true
}

export type Hour_bank_detailSumAggregateInputType = {
  id?: true
  hour_id?: true
  staff_id?: true
  date_orig?: true
  used_time?: true
  ticket_id?: true
}

export type Hour_bank_detailMinAggregateInputType = {
  id?: true
  hour_id?: true
  staff_id?: true
  date_orig?: true
  used_time?: true
  ticket_id?: true
  working_order?: true
  detail?: true
}

export type Hour_bank_detailMaxAggregateInputType = {
  id?: true
  hour_id?: true
  staff_id?: true
  date_orig?: true
  used_time?: true
  ticket_id?: true
  working_order?: true
  detail?: true
}

export type Hour_bank_detailCountAggregateInputType = {
  id?: true
  hour_id?: true
  staff_id?: true
  date_orig?: true
  used_time?: true
  ticket_id?: true
  working_order?: true
  detail?: true
  _all?: true
}

export type Hour_bank_detailAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which hour_bank_detail to aggregate.
   */
  where?: Prisma.hour_bank_detailWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of hour_bank_details to fetch.
   */
  orderBy?: Prisma.hour_bank_detailOrderByWithRelationInput | Prisma.hour_bank_detailOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.hour_bank_detailWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` hour_bank_details 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` hour_bank_details.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned hour_bank_details
  **/
  _count?: true | Hour_bank_detailCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Hour_bank_detailAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Hour_bank_detailSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Hour_bank_detailMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Hour_bank_detailMaxAggregateInputType
}

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




export type hour_bank_detailGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.hour_bank_detailWhereInput
  orderBy?: Prisma.hour_bank_detailOrderByWithAggregationInput | Prisma.hour_bank_detailOrderByWithAggregationInput[]
  by: Prisma.Hour_bank_detailScalarFieldEnum[] | Prisma.Hour_bank_detailScalarFieldEnum
  having?: Prisma.hour_bank_detailScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Hour_bank_detailCountAggregateInputType | true
  _avg?: Hour_bank_detailAvgAggregateInputType
  _sum?: Hour_bank_detailSumAggregateInputType
  _min?: Hour_bank_detailMinAggregateInputType
  _max?: Hour_bank_detailMaxAggregateInputType
}

export type Hour_bank_detailGroupByOutputType = {
  id: number
  hour_id: number
  staff_id: bigint | null
  date_orig: bigint
  used_time: number
  ticket_id: bigint | null
  working_order: string | null
  detail: string | null
  _count: Hour_bank_detailCountAggregateOutputType | null
  _avg: Hour_bank_detailAvgAggregateOutputType | null
  _sum: Hour_bank_detailSumAggregateOutputType | null
  _min: Hour_bank_detailMinAggregateOutputType | null
  _max: Hour_bank_detailMaxAggregateOutputType | null
}

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



export type hour_bank_detailWhereInput = {
  AND?: Prisma.hour_bank_detailWhereInput | Prisma.hour_bank_detailWhereInput[]
  OR?: Prisma.hour_bank_detailWhereInput[]
  NOT?: Prisma.hour_bank_detailWhereInput | Prisma.hour_bank_detailWhereInput[]
  id?: Prisma.IntFilter<"hour_bank_detail"> | number
  hour_id?: Prisma.IntFilter<"hour_bank_detail"> | number
  staff_id?: Prisma.BigIntNullableFilter<"hour_bank_detail"> | bigint | number | null
  date_orig?: Prisma.BigIntFilter<"hour_bank_detail"> | bigint | number
  used_time?: Prisma.IntFilter<"hour_bank_detail"> | number
  ticket_id?: Prisma.BigIntNullableFilter<"hour_bank_detail"> | bigint | number | null
  working_order?: Prisma.StringNullableFilter<"hour_bank_detail"> | string | null
  detail?: Prisma.StringNullableFilter<"hour_bank_detail"> | string | null
}

export type hour_bank_detailOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  hour_id?: Prisma.SortOrder
  staff_id?: Prisma.SortOrderInput | Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  used_time?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder
  working_order?: Prisma.SortOrderInput | Prisma.SortOrder
  detail?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.hour_bank_detailOrderByRelevanceInput
}

export type hour_bank_detailWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.hour_bank_detailWhereInput | Prisma.hour_bank_detailWhereInput[]
  OR?: Prisma.hour_bank_detailWhereInput[]
  NOT?: Prisma.hour_bank_detailWhereInput | Prisma.hour_bank_detailWhereInput[]
  hour_id?: Prisma.IntFilter<"hour_bank_detail"> | number
  staff_id?: Prisma.BigIntNullableFilter<"hour_bank_detail"> | bigint | number | null
  date_orig?: Prisma.BigIntFilter<"hour_bank_detail"> | bigint | number
  used_time?: Prisma.IntFilter<"hour_bank_detail"> | number
  ticket_id?: Prisma.BigIntNullableFilter<"hour_bank_detail"> | bigint | number | null
  working_order?: Prisma.StringNullableFilter<"hour_bank_detail"> | string | null
  detail?: Prisma.StringNullableFilter<"hour_bank_detail"> | string | null
}, "id">

export type hour_bank_detailOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  hour_id?: Prisma.SortOrder
  staff_id?: Prisma.SortOrderInput | Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  used_time?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder
  working_order?: Prisma.SortOrderInput | Prisma.SortOrder
  detail?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.hour_bank_detailCountOrderByAggregateInput
  _avg?: Prisma.hour_bank_detailAvgOrderByAggregateInput
  _max?: Prisma.hour_bank_detailMaxOrderByAggregateInput
  _min?: Prisma.hour_bank_detailMinOrderByAggregateInput
  _sum?: Prisma.hour_bank_detailSumOrderByAggregateInput
}

export type hour_bank_detailScalarWhereWithAggregatesInput = {
  AND?: Prisma.hour_bank_detailScalarWhereWithAggregatesInput | Prisma.hour_bank_detailScalarWhereWithAggregatesInput[]
  OR?: Prisma.hour_bank_detailScalarWhereWithAggregatesInput[]
  NOT?: Prisma.hour_bank_detailScalarWhereWithAggregatesInput | Prisma.hour_bank_detailScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"hour_bank_detail"> | number
  hour_id?: Prisma.IntWithAggregatesFilter<"hour_bank_detail"> | number
  staff_id?: Prisma.BigIntNullableWithAggregatesFilter<"hour_bank_detail"> | bigint | number | null
  date_orig?: Prisma.BigIntWithAggregatesFilter<"hour_bank_detail"> | bigint | number
  used_time?: Prisma.IntWithAggregatesFilter<"hour_bank_detail"> | number
  ticket_id?: Prisma.BigIntNullableWithAggregatesFilter<"hour_bank_detail"> | bigint | number | null
  working_order?: Prisma.StringNullableWithAggregatesFilter<"hour_bank_detail"> | string | null
  detail?: Prisma.StringNullableWithAggregatesFilter<"hour_bank_detail"> | string | null
}

export type hour_bank_detailCreateInput = {
  hour_id: number
  staff_id?: bigint | number | null
  date_orig: bigint | number
  used_time?: number
  ticket_id?: bigint | number | null
  working_order?: string | null
  detail?: string | null
}

export type hour_bank_detailUncheckedCreateInput = {
  id?: number
  hour_id: number
  staff_id?: bigint | number | null
  date_orig: bigint | number
  used_time?: number
  ticket_id?: bigint | number | null
  working_order?: string | null
  detail?: string | null
}

export type hour_bank_detailUpdateInput = {
  hour_id?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  used_time?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  detail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type hour_bank_detailUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  hour_id?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  used_time?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  detail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type hour_bank_detailCreateManyInput = {
  id?: number
  hour_id: number
  staff_id?: bigint | number | null
  date_orig: bigint | number
  used_time?: number
  ticket_id?: bigint | number | null
  working_order?: string | null
  detail?: string | null
}

export type hour_bank_detailUpdateManyMutationInput = {
  hour_id?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  used_time?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  detail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type hour_bank_detailUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  hour_id?: Prisma.IntFieldUpdateOperationsInput | number
  staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  used_time?: Prisma.IntFieldUpdateOperationsInput | number
  ticket_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  working_order?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  detail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type hour_bank_detailOrderByRelevanceInput = {
  fields: Prisma.hour_bank_detailOrderByRelevanceFieldEnum | Prisma.hour_bank_detailOrderByRelevanceFieldEnum[]
  sort: Prisma.SortOrder
  search: string
}

export type hour_bank_detailCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  hour_id?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  used_time?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  working_order?: Prisma.SortOrder
  detail?: Prisma.SortOrder
}

export type hour_bank_detailAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  hour_id?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  used_time?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
}

export type hour_bank_detailMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  hour_id?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  used_time?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  working_order?: Prisma.SortOrder
  detail?: Prisma.SortOrder
}

export type hour_bank_detailMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  hour_id?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  used_time?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
  working_order?: Prisma.SortOrder
  detail?: Prisma.SortOrder
}

export type hour_bank_detailSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  hour_id?: Prisma.SortOrder
  staff_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  used_time?: Prisma.SortOrder
  ticket_id?: Prisma.SortOrder
}



export type hour_bank_detailSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  hour_id?: boolean
  staff_id?: boolean
  date_orig?: boolean
  used_time?: boolean
  ticket_id?: boolean
  working_order?: boolean
  detail?: boolean
}, ExtArgs["result"]["hour_bank_detail"]>



export type hour_bank_detailSelectScalar = {
  id?: boolean
  hour_id?: boolean
  staff_id?: boolean
  date_orig?: boolean
  used_time?: boolean
  ticket_id?: boolean
  working_order?: boolean
  detail?: boolean
}

export type hour_bank_detailOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "hour_id" | "staff_id" | "date_orig" | "used_time" | "ticket_id" | "working_order" | "detail", ExtArgs["result"]["hour_bank_detail"]>

export type $hour_bank_detailPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "hour_bank_detail"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    hour_id: number
    staff_id: bigint | null
    date_orig: bigint
    used_time: number
    ticket_id: bigint | null
    working_order: string | null
    detail: string | null
  }, ExtArgs["result"]["hour_bank_detail"]>
  composites: {}
}

export type hour_bank_detailGetPayload<S extends boolean | null | undefined | hour_bank_detailDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$hour_bank_detailPayload, S>

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

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

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

  /**
   * Find the first Hour_bank_detail 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 {hour_bank_detailFindFirstArgs} args - Arguments to find a Hour_bank_detail
   * @example
   * // Get one Hour_bank_detail
   * const hour_bank_detail = await prisma.hour_bank_detail.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends hour_bank_detailFindFirstArgs>(args?: Prisma.SelectSubset<T, hour_bank_detailFindFirstArgs<ExtArgs>>): Prisma.Prisma__hour_bank_detailClient<runtime.Types.Result.GetResult<Prisma.$hour_bank_detailPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Hour_bank_detail 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 {hour_bank_detailFindFirstOrThrowArgs} args - Arguments to find a Hour_bank_detail
   * @example
   * // Get one Hour_bank_detail
   * const hour_bank_detail = await prisma.hour_bank_detail.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends hour_bank_detailFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, hour_bank_detailFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__hour_bank_detailClient<runtime.Types.Result.GetResult<Prisma.$hour_bank_detailPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Hour_bank_details 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 {hour_bank_detailFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Hour_bank_details
   * const hour_bank_details = await prisma.hour_bank_detail.findMany()
   * 
   * // Get first 10 Hour_bank_details
   * const hour_bank_details = await prisma.hour_bank_detail.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const hour_bank_detailWithIdOnly = await prisma.hour_bank_detail.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends hour_bank_detailFindManyArgs>(args?: Prisma.SelectSubset<T, hour_bank_detailFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$hour_bank_detailPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

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

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

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

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

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

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

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


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

  /**
   * Allows you to perform aggregations operations on a Hour_bank_detail.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {Hour_bank_detailAggregateArgs} 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 Hour_bank_detailAggregateArgs>(args: Prisma.Subset<T, Hour_bank_detailAggregateArgs>): Prisma.PrismaPromise<GetHour_bank_detailAggregateType<T>>

  /**
   * Group by Hour_bank_detail.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {hour_bank_detailGroupByArgs} 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 hour_bank_detailGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: hour_bank_detailGroupByArgs['orderBy'] }
      : { orderBy?: hour_bank_detailGroupByArgs['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, hour_bank_detailGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHour_bank_detailGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the hour_bank_detail model
 */
readonly fields: hour_bank_detailFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for hour_bank_detail.
 * 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__hour_bank_detailClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * 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 hour_bank_detail model
 */
export interface hour_bank_detailFieldRefs {
  readonly id: Prisma.FieldRef<"hour_bank_detail", 'Int'>
  readonly hour_id: Prisma.FieldRef<"hour_bank_detail", 'Int'>
  readonly staff_id: Prisma.FieldRef<"hour_bank_detail", 'BigInt'>
  readonly date_orig: Prisma.FieldRef<"hour_bank_detail", 'BigInt'>
  readonly used_time: Prisma.FieldRef<"hour_bank_detail", 'Int'>
  readonly ticket_id: Prisma.FieldRef<"hour_bank_detail", 'BigInt'>
  readonly working_order: Prisma.FieldRef<"hour_bank_detail", 'String'>
  readonly detail: Prisma.FieldRef<"hour_bank_detail", 'String'>
}
    

// Custom InputTypes
/**
 * hour_bank_detail findUnique
 */
export type hour_bank_detailFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * Filter, which hour_bank_detail to fetch.
   */
  where: Prisma.hour_bank_detailWhereUniqueInput
}

/**
 * hour_bank_detail findUniqueOrThrow
 */
export type hour_bank_detailFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * Filter, which hour_bank_detail to fetch.
   */
  where: Prisma.hour_bank_detailWhereUniqueInput
}

/**
 * hour_bank_detail findFirst
 */
export type hour_bank_detailFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * Filter, which hour_bank_detail to fetch.
   */
  where?: Prisma.hour_bank_detailWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of hour_bank_details to fetch.
   */
  orderBy?: Prisma.hour_bank_detailOrderByWithRelationInput | Prisma.hour_bank_detailOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for hour_bank_details.
   */
  cursor?: Prisma.hour_bank_detailWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` hour_bank_details 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` hour_bank_details.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of hour_bank_details.
   */
  distinct?: Prisma.Hour_bank_detailScalarFieldEnum | Prisma.Hour_bank_detailScalarFieldEnum[]
}

/**
 * hour_bank_detail findFirstOrThrow
 */
export type hour_bank_detailFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * Filter, which hour_bank_detail to fetch.
   */
  where?: Prisma.hour_bank_detailWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of hour_bank_details to fetch.
   */
  orderBy?: Prisma.hour_bank_detailOrderByWithRelationInput | Prisma.hour_bank_detailOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for hour_bank_details.
   */
  cursor?: Prisma.hour_bank_detailWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` hour_bank_details 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` hour_bank_details.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of hour_bank_details.
   */
  distinct?: Prisma.Hour_bank_detailScalarFieldEnum | Prisma.Hour_bank_detailScalarFieldEnum[]
}

/**
 * hour_bank_detail findMany
 */
export type hour_bank_detailFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * Filter, which hour_bank_details to fetch.
   */
  where?: Prisma.hour_bank_detailWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of hour_bank_details to fetch.
   */
  orderBy?: Prisma.hour_bank_detailOrderByWithRelationInput | Prisma.hour_bank_detailOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing hour_bank_details.
   */
  cursor?: Prisma.hour_bank_detailWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` hour_bank_details 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` hour_bank_details.
   */
  skip?: number
  distinct?: Prisma.Hour_bank_detailScalarFieldEnum | Prisma.Hour_bank_detailScalarFieldEnum[]
}

/**
 * hour_bank_detail create
 */
export type hour_bank_detailCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * The data needed to create a hour_bank_detail.
   */
  data: Prisma.XOR<Prisma.hour_bank_detailCreateInput, Prisma.hour_bank_detailUncheckedCreateInput>
}

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

/**
 * hour_bank_detail update
 */
export type hour_bank_detailUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * The data needed to update a hour_bank_detail.
   */
  data: Prisma.XOR<Prisma.hour_bank_detailUpdateInput, Prisma.hour_bank_detailUncheckedUpdateInput>
  /**
   * Choose, which hour_bank_detail to update.
   */
  where: Prisma.hour_bank_detailWhereUniqueInput
}

/**
 * hour_bank_detail updateMany
 */
export type hour_bank_detailUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update hour_bank_details.
   */
  data: Prisma.XOR<Prisma.hour_bank_detailUpdateManyMutationInput, Prisma.hour_bank_detailUncheckedUpdateManyInput>
  /**
   * Filter which hour_bank_details to update
   */
  where?: Prisma.hour_bank_detailWhereInput
  /**
   * Limit how many hour_bank_details to update.
   */
  limit?: number
}

/**
 * hour_bank_detail upsert
 */
export type hour_bank_detailUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * The filter to search for the hour_bank_detail to update in case it exists.
   */
  where: Prisma.hour_bank_detailWhereUniqueInput
  /**
   * In case the hour_bank_detail found by the `where` argument doesn't exist, create a new hour_bank_detail with this data.
   */
  create: Prisma.XOR<Prisma.hour_bank_detailCreateInput, Prisma.hour_bank_detailUncheckedCreateInput>
  /**
   * In case the hour_bank_detail was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.hour_bank_detailUpdateInput, Prisma.hour_bank_detailUncheckedUpdateInput>
}

/**
 * hour_bank_detail delete
 */
export type hour_bank_detailDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
  /**
   * Filter which hour_bank_detail to delete.
   */
  where: Prisma.hour_bank_detailWhereUniqueInput
}

/**
 * hour_bank_detail deleteMany
 */
export type hour_bank_detailDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which hour_bank_details to delete
   */
  where?: Prisma.hour_bank_detailWhereInput
  /**
   * Limit how many hour_bank_details to delete.
   */
  limit?: number
}

/**
 * hour_bank_detail without action
 */
export type hour_bank_detailDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the hour_bank_detail
   */
  select?: Prisma.hour_bank_detailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the hour_bank_detail
   */
  omit?: Prisma.hour_bank_detailOmit<ExtArgs> | null
}
