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

export type AggregatePayPeriods = {
  _count: PayPeriodsCountAggregateOutputType | null
  _avg: PayPeriodsAvgAggregateOutputType | null
  _sum: PayPeriodsSumAggregateOutputType | null
  _min: PayPeriodsMinAggregateOutputType | null
  _max: PayPeriodsMaxAggregateOutputType | null
}

export type PayPeriodsAvgAggregateOutputType = {
  pay_year: number | null
  pay_period_no: number | null
}

export type PayPeriodsSumAggregateOutputType = {
  pay_year: number | null
  pay_period_no: number | null
}

export type PayPeriodsMinAggregateOutputType = {
  pay_year: number | null
  pay_period_no: number | null
  period_start: Date | null
  period_end: Date | null
  payday: Date | null
  label: string | null
}

export type PayPeriodsMaxAggregateOutputType = {
  pay_year: number | null
  pay_period_no: number | null
  period_start: Date | null
  period_end: Date | null
  payday: Date | null
  label: string | null
}

export type PayPeriodsCountAggregateOutputType = {
  pay_year: number
  pay_period_no: number
  period_start: number
  period_end: number
  payday: number
  label: number
  _all: number
}


export type PayPeriodsAvgAggregateInputType = {
  pay_year?: true
  pay_period_no?: true
}

export type PayPeriodsSumAggregateInputType = {
  pay_year?: true
  pay_period_no?: true
}

export type PayPeriodsMinAggregateInputType = {
  pay_year?: true
  pay_period_no?: true
  period_start?: true
  period_end?: true
  payday?: true
  label?: true
}

export type PayPeriodsMaxAggregateInputType = {
  pay_year?: true
  pay_period_no?: true
  period_start?: true
  period_end?: true
  payday?: true
  label?: true
}

export type PayPeriodsCountAggregateInputType = {
  pay_year?: true
  pay_period_no?: true
  period_start?: true
  period_end?: true
  payday?: true
  label?: true
  _all?: true
}

export type PayPeriodsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which PayPeriods to aggregate.
   */
  where?: Prisma.PayPeriodsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of PayPeriods to fetch.
   */
  orderBy?: Prisma.PayPeriodsOrderByWithRelationInput | Prisma.PayPeriodsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` PayPeriods 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` PayPeriods.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned PayPeriods
  **/
  _count?: true | PayPeriodsCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: PayPeriodsAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: PayPeriodsSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: PayPeriodsMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: PayPeriodsMaxAggregateInputType
}

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




export type PayPeriodsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.PayPeriodsWhereInput
  orderBy?: Prisma.PayPeriodsOrderByWithAggregationInput | Prisma.PayPeriodsOrderByWithAggregationInput[]
  by: Prisma.PayPeriodsScalarFieldEnum[] | Prisma.PayPeriodsScalarFieldEnum
  having?: Prisma.PayPeriodsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: PayPeriodsCountAggregateInputType | true
  _avg?: PayPeriodsAvgAggregateInputType
  _sum?: PayPeriodsSumAggregateInputType
  _min?: PayPeriodsMinAggregateInputType
  _max?: PayPeriodsMaxAggregateInputType
}

export type PayPeriodsGroupByOutputType = {
  pay_year: number
  pay_period_no: number
  period_start: Date
  period_end: Date
  payday: Date
  label: string
  _count: PayPeriodsCountAggregateOutputType | null
  _avg: PayPeriodsAvgAggregateOutputType | null
  _sum: PayPeriodsSumAggregateOutputType | null
  _min: PayPeriodsMinAggregateOutputType | null
  _max: PayPeriodsMaxAggregateOutputType | null
}

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



export type PayPeriodsWhereInput = {
  AND?: Prisma.PayPeriodsWhereInput | Prisma.PayPeriodsWhereInput[]
  OR?: Prisma.PayPeriodsWhereInput[]
  NOT?: Prisma.PayPeriodsWhereInput | Prisma.PayPeriodsWhereInput[]
  pay_year?: Prisma.IntFilter<"PayPeriods"> | number
  pay_period_no?: Prisma.IntFilter<"PayPeriods"> | number
  period_start?: Prisma.DateTimeFilter<"PayPeriods"> | Date | string
  period_end?: Prisma.DateTimeFilter<"PayPeriods"> | Date | string
  payday?: Prisma.DateTimeFilter<"PayPeriods"> | Date | string
  label?: Prisma.StringFilter<"PayPeriods"> | string
}

export type PayPeriodsOrderByWithRelationInput = {
  pay_year?: Prisma.SortOrder
  pay_period_no?: Prisma.SortOrder
  period_start?: Prisma.SortOrder
  period_end?: Prisma.SortOrder
  payday?: Prisma.SortOrder
  label?: Prisma.SortOrder
}

export type PayPeriodsOrderByWithAggregationInput = {
  pay_year?: Prisma.SortOrder
  pay_period_no?: Prisma.SortOrder
  period_start?: Prisma.SortOrder
  period_end?: Prisma.SortOrder
  payday?: Prisma.SortOrder
  label?: Prisma.SortOrder
  _count?: Prisma.PayPeriodsCountOrderByAggregateInput
  _avg?: Prisma.PayPeriodsAvgOrderByAggregateInput
  _max?: Prisma.PayPeriodsMaxOrderByAggregateInput
  _min?: Prisma.PayPeriodsMinOrderByAggregateInput
  _sum?: Prisma.PayPeriodsSumOrderByAggregateInput
}

export type PayPeriodsScalarWhereWithAggregatesInput = {
  AND?: Prisma.PayPeriodsScalarWhereWithAggregatesInput | Prisma.PayPeriodsScalarWhereWithAggregatesInput[]
  OR?: Prisma.PayPeriodsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.PayPeriodsScalarWhereWithAggregatesInput | Prisma.PayPeriodsScalarWhereWithAggregatesInput[]
  pay_year?: Prisma.IntWithAggregatesFilter<"PayPeriods"> | number
  pay_period_no?: Prisma.IntWithAggregatesFilter<"PayPeriods"> | number
  period_start?: Prisma.DateTimeWithAggregatesFilter<"PayPeriods"> | Date | string
  period_end?: Prisma.DateTimeWithAggregatesFilter<"PayPeriods"> | Date | string
  payday?: Prisma.DateTimeWithAggregatesFilter<"PayPeriods"> | Date | string
  label?: Prisma.StringWithAggregatesFilter<"PayPeriods"> | string
}

export type PayPeriodsCountOrderByAggregateInput = {
  pay_year?: Prisma.SortOrder
  pay_period_no?: Prisma.SortOrder
  period_start?: Prisma.SortOrder
  period_end?: Prisma.SortOrder
  payday?: Prisma.SortOrder
  label?: Prisma.SortOrder
}

export type PayPeriodsAvgOrderByAggregateInput = {
  pay_year?: Prisma.SortOrder
  pay_period_no?: Prisma.SortOrder
}

export type PayPeriodsMaxOrderByAggregateInput = {
  pay_year?: Prisma.SortOrder
  pay_period_no?: Prisma.SortOrder
  period_start?: Prisma.SortOrder
  period_end?: Prisma.SortOrder
  payday?: Prisma.SortOrder
  label?: Prisma.SortOrder
}

export type PayPeriodsMinOrderByAggregateInput = {
  pay_year?: Prisma.SortOrder
  pay_period_no?: Prisma.SortOrder
  period_start?: Prisma.SortOrder
  period_end?: Prisma.SortOrder
  payday?: Prisma.SortOrder
  label?: Prisma.SortOrder
}

export type PayPeriodsSumOrderByAggregateInput = {
  pay_year?: Prisma.SortOrder
  pay_period_no?: Prisma.SortOrder
}



export type PayPeriodsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  pay_year?: boolean
  pay_period_no?: boolean
  period_start?: boolean
  period_end?: boolean
  payday?: boolean
  label?: boolean
}, ExtArgs["result"]["payPeriods"]>



export type PayPeriodsSelectScalar = {
  pay_year?: boolean
  pay_period_no?: boolean
  period_start?: boolean
  period_end?: boolean
  payday?: boolean
  label?: boolean
}

export type PayPeriodsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"pay_year" | "pay_period_no" | "period_start" | "period_end" | "payday" | "label", ExtArgs["result"]["payPeriods"]>

export type $PayPeriodsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "PayPeriods"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    pay_year: number
    pay_period_no: number
    period_start: Date
    period_end: Date
    payday: Date
    label: string
  }, ExtArgs["result"]["payPeriods"]>
  composites: {}
}

export type PayPeriodsGetPayload<S extends boolean | null | undefined | PayPeriodsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PayPeriodsPayload, S>

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

export interface PayPeriodsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PayPeriods'], meta: { name: 'PayPeriods' } }
  /**
   * Find the first PayPeriods 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 {PayPeriodsFindFirstArgs} args - Arguments to find a PayPeriods
   * @example
   * // Get one PayPeriods
   * const payPeriods = await prisma.payPeriods.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends PayPeriodsFindFirstArgs, TakeDependenciesValidator extends "take" extends Prisma.Keys<T> ? {
    orderBy: {}
  } : {}, SkipDependenciesValidator extends "skip" extends Prisma.Keys<T> ? {
    orderBy: {}
  } : {}>(args?: Prisma.SelectSubset<T, PayPeriodsFindFirstArgs<ExtArgs>> & TakeDependenciesValidator & SkipDependenciesValidator): Prisma.Prisma__PayPeriodsClient<runtime.Types.Result.GetResult<Prisma.$PayPeriodsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first PayPeriods 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 {PayPeriodsFindFirstOrThrowArgs} args - Arguments to find a PayPeriods
   * @example
   * // Get one PayPeriods
   * const payPeriods = await prisma.payPeriods.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends PayPeriodsFindFirstOrThrowArgs, TakeDependenciesValidator extends "take" extends Prisma.Keys<T> ? {
    orderBy: {}
  } : {}, SkipDependenciesValidator extends "skip" extends Prisma.Keys<T> ? {
    orderBy: {}
  } : {}>(args?: Prisma.SelectSubset<T, PayPeriodsFindFirstOrThrowArgs<ExtArgs>> & TakeDependenciesValidator & SkipDependenciesValidator): Prisma.Prisma__PayPeriodsClient<runtime.Types.Result.GetResult<Prisma.$PayPeriodsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more PayPeriods 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 {PayPeriodsFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all PayPeriods
   * const payPeriods = await prisma.payPeriods.findMany()
   * 
   * // Get first 10 PayPeriods
   * const payPeriods = await prisma.payPeriods.findMany({ take: 10 })
   * 
   * // Only select the `pay_year`
   * const payPeriodsWithPay_yearOnly = await prisma.payPeriods.findMany({ select: { pay_year: true } })
   * 
   */
  findMany<T extends PayPeriodsFindManyArgs, TakeDependenciesValidator extends "take" extends Prisma.Keys<T> ? {
    orderBy: {}
  } : {}, SkipDependenciesValidator extends "skip" extends Prisma.Keys<T> ? {
    orderBy: {}
  } : {}>(args?: Prisma.SelectSubset<T, PayPeriodsFindManyArgs<ExtArgs>> & TakeDependenciesValidator & SkipDependenciesValidator): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PayPeriodsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for PayPeriods.
 * 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__PayPeriodsClient<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 PayPeriods model
 */
export interface PayPeriodsFieldRefs {
  readonly pay_year: Prisma.FieldRef<"PayPeriods", 'Int'>
  readonly pay_period_no: Prisma.FieldRef<"PayPeriods", 'Int'>
  readonly period_start: Prisma.FieldRef<"PayPeriods", 'DateTime'>
  readonly period_end: Prisma.FieldRef<"PayPeriods", 'DateTime'>
  readonly payday: Prisma.FieldRef<"PayPeriods", 'DateTime'>
  readonly label: Prisma.FieldRef<"PayPeriods", 'String'>
}
    

// Custom InputTypes
/**
 * PayPeriods findFirst
 */
export type PayPeriodsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PayPeriods
   */
  select?: Prisma.PayPeriodsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PayPeriods
   */
  omit?: Prisma.PayPeriodsOmit<ExtArgs> | null
  /**
   * Filter, which PayPeriods to fetch.
   */
  where?: Prisma.PayPeriodsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of PayPeriods to fetch.
   */
  orderBy?: Prisma.PayPeriodsOrderByWithRelationInput | Prisma.PayPeriodsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` PayPeriods 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` PayPeriods.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of PayPeriods.
   */
  distinct?: Prisma.PayPeriodsScalarFieldEnum | Prisma.PayPeriodsScalarFieldEnum[]
}

/**
 * PayPeriods findFirstOrThrow
 */
export type PayPeriodsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PayPeriods
   */
  select?: Prisma.PayPeriodsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PayPeriods
   */
  omit?: Prisma.PayPeriodsOmit<ExtArgs> | null
  /**
   * Filter, which PayPeriods to fetch.
   */
  where?: Prisma.PayPeriodsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of PayPeriods to fetch.
   */
  orderBy?: Prisma.PayPeriodsOrderByWithRelationInput | Prisma.PayPeriodsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` PayPeriods 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` PayPeriods.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of PayPeriods.
   */
  distinct?: Prisma.PayPeriodsScalarFieldEnum | Prisma.PayPeriodsScalarFieldEnum[]
}

/**
 * PayPeriods findMany
 */
export type PayPeriodsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PayPeriods
   */
  select?: Prisma.PayPeriodsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PayPeriods
   */
  omit?: Prisma.PayPeriodsOmit<ExtArgs> | null
  /**
   * Filter, which PayPeriods to fetch.
   */
  where?: Prisma.PayPeriodsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of PayPeriods to fetch.
   */
  orderBy?: Prisma.PayPeriodsOrderByWithRelationInput | Prisma.PayPeriodsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` PayPeriods 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` PayPeriods.
   */
  skip?: number
  distinct?: Prisma.PayPeriodsScalarFieldEnum | Prisma.PayPeriodsScalarFieldEnum[]
}

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