Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/EmployeePayslip.ts
T
2026-07-08 16:15:37 +02:00

1435 lines
53 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `EmployeePayslip` 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.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model EmployeePayslip
* A payslip PDF for one employee for one period. The bytes live in a File
* (referenced by bare `fileId`). Opening the payslip marks it read
* (`isRead`/`readAt`) and writes an audit event per read. Soft-delete via
* `archivedAt`.
*/
export type EmployeePayslipModel = runtime.Types.Result.DefaultSelection<Prisma.$EmployeePayslipPayload>
export type AggregateEmployeePayslip = {
_count: EmployeePayslipCountAggregateOutputType | null
_avg: EmployeePayslipAvgAggregateOutputType | null
_sum: EmployeePayslipSumAggregateOutputType | null
_min: EmployeePayslipMinAggregateOutputType | null
_max: EmployeePayslipMaxAggregateOutputType | null
}
export type EmployeePayslipAvgAggregateOutputType = {
periodYear: number | null
periodMonth: number | null
}
export type EmployeePayslipSumAggregateOutputType = {
periodYear: number | null
periodMonth: number | null
}
export type EmployeePayslipMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
employeeUserId: string | null
uploadedByUserId: string | null
periodYear: number | null
periodMonth: number | null
fileId: string | null
isRead: boolean | null
readAt: Date | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type EmployeePayslipMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
employeeUserId: string | null
uploadedByUserId: string | null
periodYear: number | null
periodMonth: number | null
fileId: string | null
isRead: boolean | null
readAt: Date | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type EmployeePayslipCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
employeeUserId: number
uploadedByUserId: number
periodYear: number
periodMonth: number
fileId: number
isRead: number
readAt: number
isDemoData: number
archivedAt: number
_all: number
}
export type EmployeePayslipAvgAggregateInputType = {
periodYear?: true
periodMonth?: true
}
export type EmployeePayslipSumAggregateInputType = {
periodYear?: true
periodMonth?: true
}
export type EmployeePayslipMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
employeeUserId?: true
uploadedByUserId?: true
periodYear?: true
periodMonth?: true
fileId?: true
isRead?: true
readAt?: true
isDemoData?: true
archivedAt?: true
}
export type EmployeePayslipMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
employeeUserId?: true
uploadedByUserId?: true
periodYear?: true
periodMonth?: true
fileId?: true
isRead?: true
readAt?: true
isDemoData?: true
archivedAt?: true
}
export type EmployeePayslipCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
employeeUserId?: true
uploadedByUserId?: true
periodYear?: true
periodMonth?: true
fileId?: true
isRead?: true
readAt?: true
isDemoData?: true
archivedAt?: true
_all?: true
}
export type EmployeePayslipAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which EmployeePayslip to aggregate.
*/
where?: Prisma.EmployeePayslipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmployeePayslips to fetch.
*/
orderBy?: Prisma.EmployeePayslipOrderByWithRelationInput | Prisma.EmployeePayslipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.EmployeePayslipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmployeePayslips 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` EmployeePayslips.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned EmployeePayslips
**/
_count?: true | EmployeePayslipCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: EmployeePayslipAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: EmployeePayslipSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: EmployeePayslipMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: EmployeePayslipMaxAggregateInputType
}
export type GetEmployeePayslipAggregateType<T extends EmployeePayslipAggregateArgs> = {
[P in keyof T & keyof AggregateEmployeePayslip]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateEmployeePayslip[P]>
: Prisma.GetScalarType<T[P], AggregateEmployeePayslip[P]>
}
export type EmployeePayslipGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.EmployeePayslipWhereInput
orderBy?: Prisma.EmployeePayslipOrderByWithAggregationInput | Prisma.EmployeePayslipOrderByWithAggregationInput[]
by: Prisma.EmployeePayslipScalarFieldEnum[] | Prisma.EmployeePayslipScalarFieldEnum
having?: Prisma.EmployeePayslipScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: EmployeePayslipCountAggregateInputType | true
_avg?: EmployeePayslipAvgAggregateInputType
_sum?: EmployeePayslipSumAggregateInputType
_min?: EmployeePayslipMinAggregateInputType
_max?: EmployeePayslipMaxAggregateInputType
}
export type EmployeePayslipGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
employeeUserId: string
uploadedByUserId: string
periodYear: number
periodMonth: number
fileId: string
isRead: boolean
readAt: Date | null
isDemoData: boolean
archivedAt: Date | null
_count: EmployeePayslipCountAggregateOutputType | null
_avg: EmployeePayslipAvgAggregateOutputType | null
_sum: EmployeePayslipSumAggregateOutputType | null
_min: EmployeePayslipMinAggregateOutputType | null
_max: EmployeePayslipMaxAggregateOutputType | null
}
export type GetEmployeePayslipGroupByPayload<T extends EmployeePayslipGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<EmployeePayslipGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof EmployeePayslipGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], EmployeePayslipGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], EmployeePayslipGroupByOutputType[P]>
}
>
>
export type EmployeePayslipWhereInput = {
AND?: Prisma.EmployeePayslipWhereInput | Prisma.EmployeePayslipWhereInput[]
OR?: Prisma.EmployeePayslipWhereInput[]
NOT?: Prisma.EmployeePayslipWhereInput | Prisma.EmployeePayslipWhereInput[]
id?: Prisma.StringFilter<"EmployeePayslip"> | string
createdAt?: Prisma.DateTimeFilter<"EmployeePayslip"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"EmployeePayslip"> | Date | string
tenantId?: Prisma.StringFilter<"EmployeePayslip"> | string
employeeUserId?: Prisma.StringFilter<"EmployeePayslip"> | string
uploadedByUserId?: Prisma.StringFilter<"EmployeePayslip"> | string
periodYear?: Prisma.IntFilter<"EmployeePayslip"> | number
periodMonth?: Prisma.IntFilter<"EmployeePayslip"> | number
fileId?: Prisma.StringFilter<"EmployeePayslip"> | string
isRead?: Prisma.BoolFilter<"EmployeePayslip"> | boolean
readAt?: Prisma.DateTimeNullableFilter<"EmployeePayslip"> | Date | string | null
isDemoData?: Prisma.BoolFilter<"EmployeePayslip"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"EmployeePayslip"> | Date | string | null
}
export type EmployeePayslipOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
periodYear?: Prisma.SortOrder
periodMonth?: Prisma.SortOrder
fileId?: Prisma.SortOrder
isRead?: Prisma.SortOrder
readAt?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
}
export type EmployeePayslipWhereUniqueInput = Prisma.AtLeast<{
id?: string
tenantId_employeeUserId_periodYear_periodMonth?: Prisma.EmployeePayslipTenantIdEmployeeUserIdPeriodYearPeriodMonthCompoundUniqueInput
AND?: Prisma.EmployeePayslipWhereInput | Prisma.EmployeePayslipWhereInput[]
OR?: Prisma.EmployeePayslipWhereInput[]
NOT?: Prisma.EmployeePayslipWhereInput | Prisma.EmployeePayslipWhereInput[]
createdAt?: Prisma.DateTimeFilter<"EmployeePayslip"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"EmployeePayslip"> | Date | string
tenantId?: Prisma.StringFilter<"EmployeePayslip"> | string
employeeUserId?: Prisma.StringFilter<"EmployeePayslip"> | string
uploadedByUserId?: Prisma.StringFilter<"EmployeePayslip"> | string
periodYear?: Prisma.IntFilter<"EmployeePayslip"> | number
periodMonth?: Prisma.IntFilter<"EmployeePayslip"> | number
fileId?: Prisma.StringFilter<"EmployeePayslip"> | string
isRead?: Prisma.BoolFilter<"EmployeePayslip"> | boolean
readAt?: Prisma.DateTimeNullableFilter<"EmployeePayslip"> | Date | string | null
isDemoData?: Prisma.BoolFilter<"EmployeePayslip"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"EmployeePayslip"> | Date | string | null
}, "id" | "tenantId_employeeUserId_periodYear_periodMonth">
export type EmployeePayslipOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
periodYear?: Prisma.SortOrder
periodMonth?: Prisma.SortOrder
fileId?: Prisma.SortOrder
isRead?: Prisma.SortOrder
readAt?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.EmployeePayslipCountOrderByAggregateInput
_avg?: Prisma.EmployeePayslipAvgOrderByAggregateInput
_max?: Prisma.EmployeePayslipMaxOrderByAggregateInput
_min?: Prisma.EmployeePayslipMinOrderByAggregateInput
_sum?: Prisma.EmployeePayslipSumOrderByAggregateInput
}
export type EmployeePayslipScalarWhereWithAggregatesInput = {
AND?: Prisma.EmployeePayslipScalarWhereWithAggregatesInput | Prisma.EmployeePayslipScalarWhereWithAggregatesInput[]
OR?: Prisma.EmployeePayslipScalarWhereWithAggregatesInput[]
NOT?: Prisma.EmployeePayslipScalarWhereWithAggregatesInput | Prisma.EmployeePayslipScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"EmployeePayslip"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EmployeePayslip"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"EmployeePayslip"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"EmployeePayslip"> | string
employeeUserId?: Prisma.StringWithAggregatesFilter<"EmployeePayslip"> | string
uploadedByUserId?: Prisma.StringWithAggregatesFilter<"EmployeePayslip"> | string
periodYear?: Prisma.IntWithAggregatesFilter<"EmployeePayslip"> | number
periodMonth?: Prisma.IntWithAggregatesFilter<"EmployeePayslip"> | number
fileId?: Prisma.StringWithAggregatesFilter<"EmployeePayslip"> | string
isRead?: Prisma.BoolWithAggregatesFilter<"EmployeePayslip"> | boolean
readAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeePayslip"> | Date | string | null
isDemoData?: Prisma.BoolWithAggregatesFilter<"EmployeePayslip"> | boolean
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeePayslip"> | Date | string | null
}
export type EmployeePayslipCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
employeeUserId: string
uploadedByUserId: string
periodYear: number
periodMonth: number
fileId: string
isRead?: boolean
readAt?: Date | string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type EmployeePayslipUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
employeeUserId: string
uploadedByUserId: string
periodYear: number
periodMonth: number
fileId: string
isRead?: boolean
readAt?: Date | string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type EmployeePayslipUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
periodYear?: Prisma.IntFieldUpdateOperationsInput | number
periodMonth?: Prisma.IntFieldUpdateOperationsInput | number
fileId?: Prisma.StringFieldUpdateOperationsInput | string
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type EmployeePayslipUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
periodYear?: Prisma.IntFieldUpdateOperationsInput | number
periodMonth?: Prisma.IntFieldUpdateOperationsInput | number
fileId?: Prisma.StringFieldUpdateOperationsInput | string
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type EmployeePayslipCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
employeeUserId: string
uploadedByUserId: string
periodYear: number
periodMonth: number
fileId: string
isRead?: boolean
readAt?: Date | string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type EmployeePayslipUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
periodYear?: Prisma.IntFieldUpdateOperationsInput | number
periodMonth?: Prisma.IntFieldUpdateOperationsInput | number
fileId?: Prisma.StringFieldUpdateOperationsInput | string
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type EmployeePayslipUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
periodYear?: Prisma.IntFieldUpdateOperationsInput | number
periodMonth?: Prisma.IntFieldUpdateOperationsInput | number
fileId?: Prisma.StringFieldUpdateOperationsInput | string
isRead?: Prisma.BoolFieldUpdateOperationsInput | boolean
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type EmployeePayslipTenantIdEmployeeUserIdPeriodYearPeriodMonthCompoundUniqueInput = {
tenantId: string
employeeUserId: string
periodYear: number
periodMonth: number
}
export type EmployeePayslipCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
periodYear?: Prisma.SortOrder
periodMonth?: Prisma.SortOrder
fileId?: Prisma.SortOrder
isRead?: Prisma.SortOrder
readAt?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type EmployeePayslipAvgOrderByAggregateInput = {
periodYear?: Prisma.SortOrder
periodMonth?: Prisma.SortOrder
}
export type EmployeePayslipMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
periodYear?: Prisma.SortOrder
periodMonth?: Prisma.SortOrder
fileId?: Prisma.SortOrder
isRead?: Prisma.SortOrder
readAt?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type EmployeePayslipMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
periodYear?: Prisma.SortOrder
periodMonth?: Prisma.SortOrder
fileId?: Prisma.SortOrder
isRead?: Prisma.SortOrder
readAt?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type EmployeePayslipSumOrderByAggregateInput = {
periodYear?: Prisma.SortOrder
periodMonth?: Prisma.SortOrder
}
export type EmployeePayslipSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
periodYear?: boolean
periodMonth?: boolean
fileId?: boolean
isRead?: boolean
readAt?: boolean
isDemoData?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["employeePayslip"]>
export type EmployeePayslipSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
periodYear?: boolean
periodMonth?: boolean
fileId?: boolean
isRead?: boolean
readAt?: boolean
isDemoData?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["employeePayslip"]>
export type EmployeePayslipSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
periodYear?: boolean
periodMonth?: boolean
fileId?: boolean
isRead?: boolean
readAt?: boolean
isDemoData?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["employeePayslip"]>
export type EmployeePayslipSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
periodYear?: boolean
periodMonth?: boolean
fileId?: boolean
isRead?: boolean
readAt?: boolean
isDemoData?: boolean
archivedAt?: boolean
}
export type EmployeePayslipOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "employeeUserId" | "uploadedByUserId" | "periodYear" | "periodMonth" | "fileId" | "isRead" | "readAt" | "isDemoData" | "archivedAt", ExtArgs["result"]["employeePayslip"]>
export type $EmployeePayslipPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "EmployeePayslip"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
employeeUserId: string
uploadedByUserId: string
periodYear: number
periodMonth: number
fileId: string
isRead: boolean
readAt: Date | null
isDemoData: boolean
archivedAt: Date | null
}, ExtArgs["result"]["employeePayslip"]>
composites: {}
}
export type EmployeePayslipGetPayload<S extends boolean | null | undefined | EmployeePayslipDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload, S>
export type EmployeePayslipCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<EmployeePayslipFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: EmployeePayslipCountAggregateInputType | true
}
export interface EmployeePayslipDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EmployeePayslip'], meta: { name: 'EmployeePayslip' } }
/**
* Find zero or one EmployeePayslip that matches the filter.
* @param {EmployeePayslipFindUniqueArgs} args - Arguments to find a EmployeePayslip
* @example
* // Get one EmployeePayslip
* const employeePayslip = await prisma.employeePayslip.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends EmployeePayslipFindUniqueArgs>(args: Prisma.SelectSubset<T, EmployeePayslipFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one EmployeePayslip that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {EmployeePayslipFindUniqueOrThrowArgs} args - Arguments to find a EmployeePayslip
* @example
* // Get one EmployeePayslip
* const employeePayslip = await prisma.employeePayslip.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends EmployeePayslipFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EmployeePayslipFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first EmployeePayslip 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 {EmployeePayslipFindFirstArgs} args - Arguments to find a EmployeePayslip
* @example
* // Get one EmployeePayslip
* const employeePayslip = await prisma.employeePayslip.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends EmployeePayslipFindFirstArgs>(args?: Prisma.SelectSubset<T, EmployeePayslipFindFirstArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first EmployeePayslip 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 {EmployeePayslipFindFirstOrThrowArgs} args - Arguments to find a EmployeePayslip
* @example
* // Get one EmployeePayslip
* const employeePayslip = await prisma.employeePayslip.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends EmployeePayslipFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EmployeePayslipFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more EmployeePayslips 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 {EmployeePayslipFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all EmployeePayslips
* const employeePayslips = await prisma.employeePayslip.findMany()
*
* // Get first 10 EmployeePayslips
* const employeePayslips = await prisma.employeePayslip.findMany({ take: 10 })
*
* // Only select the `id`
* const employeePayslipWithIdOnly = await prisma.employeePayslip.findMany({ select: { id: true } })
*
*/
findMany<T extends EmployeePayslipFindManyArgs>(args?: Prisma.SelectSubset<T, EmployeePayslipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a EmployeePayslip.
* @param {EmployeePayslipCreateArgs} args - Arguments to create a EmployeePayslip.
* @example
* // Create one EmployeePayslip
* const EmployeePayslip = await prisma.employeePayslip.create({
* data: {
* // ... data to create a EmployeePayslip
* }
* })
*
*/
create<T extends EmployeePayslipCreateArgs>(args: Prisma.SelectSubset<T, EmployeePayslipCreateArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many EmployeePayslips.
* @param {EmployeePayslipCreateManyArgs} args - Arguments to create many EmployeePayslips.
* @example
* // Create many EmployeePayslips
* const employeePayslip = await prisma.employeePayslip.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends EmployeePayslipCreateManyArgs>(args?: Prisma.SelectSubset<T, EmployeePayslipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many EmployeePayslips and returns the data saved in the database.
* @param {EmployeePayslipCreateManyAndReturnArgs} args - Arguments to create many EmployeePayslips.
* @example
* // Create many EmployeePayslips
* const employeePayslip = await prisma.employeePayslip.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many EmployeePayslips and only return the `id`
* const employeePayslipWithIdOnly = await prisma.employeePayslip.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 EmployeePayslipCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EmployeePayslipCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a EmployeePayslip.
* @param {EmployeePayslipDeleteArgs} args - Arguments to delete one EmployeePayslip.
* @example
* // Delete one EmployeePayslip
* const EmployeePayslip = await prisma.employeePayslip.delete({
* where: {
* // ... filter to delete one EmployeePayslip
* }
* })
*
*/
delete<T extends EmployeePayslipDeleteArgs>(args: Prisma.SelectSubset<T, EmployeePayslipDeleteArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one EmployeePayslip.
* @param {EmployeePayslipUpdateArgs} args - Arguments to update one EmployeePayslip.
* @example
* // Update one EmployeePayslip
* const employeePayslip = await prisma.employeePayslip.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends EmployeePayslipUpdateArgs>(args: Prisma.SelectSubset<T, EmployeePayslipUpdateArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more EmployeePayslips.
* @param {EmployeePayslipDeleteManyArgs} args - Arguments to filter EmployeePayslips to delete.
* @example
* // Delete a few EmployeePayslips
* const { count } = await prisma.employeePayslip.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends EmployeePayslipDeleteManyArgs>(args?: Prisma.SelectSubset<T, EmployeePayslipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more EmployeePayslips.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmployeePayslipUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many EmployeePayslips
* const employeePayslip = await prisma.employeePayslip.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends EmployeePayslipUpdateManyArgs>(args: Prisma.SelectSubset<T, EmployeePayslipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more EmployeePayslips and returns the data updated in the database.
* @param {EmployeePayslipUpdateManyAndReturnArgs} args - Arguments to update many EmployeePayslips.
* @example
* // Update many EmployeePayslips
* const employeePayslip = await prisma.employeePayslip.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more EmployeePayslips and only return the `id`
* const employeePayslipWithIdOnly = await prisma.employeePayslip.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 EmployeePayslipUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EmployeePayslipUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one EmployeePayslip.
* @param {EmployeePayslipUpsertArgs} args - Arguments to update or create a EmployeePayslip.
* @example
* // Update or create a EmployeePayslip
* const employeePayslip = await prisma.employeePayslip.upsert({
* create: {
* // ... data to create a EmployeePayslip
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the EmployeePayslip we want to update
* }
* })
*/
upsert<T extends EmployeePayslipUpsertArgs>(args: Prisma.SelectSubset<T, EmployeePayslipUpsertArgs<ExtArgs>>): Prisma.Prisma__EmployeePayslipClient<runtime.Types.Result.GetResult<Prisma.$EmployeePayslipPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of EmployeePayslips.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmployeePayslipCountArgs} args - Arguments to filter EmployeePayslips to count.
* @example
* // Count the number of EmployeePayslips
* const count = await prisma.employeePayslip.count({
* where: {
* // ... the filter for the EmployeePayslips we want to count
* }
* })
**/
count<T extends EmployeePayslipCountArgs>(
args?: Prisma.Subset<T, EmployeePayslipCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], EmployeePayslipCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a EmployeePayslip.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmployeePayslipAggregateArgs} 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 EmployeePayslipAggregateArgs>(args: Prisma.Subset<T, EmployeePayslipAggregateArgs>): Prisma.PrismaPromise<GetEmployeePayslipAggregateType<T>>
/**
* Group by EmployeePayslip.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {EmployeePayslipGroupByArgs} 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 EmployeePayslipGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: EmployeePayslipGroupByArgs['orderBy'] }
: { orderBy?: EmployeePayslipGroupByArgs['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, EmployeePayslipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmployeePayslipGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the EmployeePayslip model
*/
readonly fields: EmployeePayslipFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for EmployeePayslip.
* 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__EmployeePayslipClient<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 EmployeePayslip model
*/
export interface EmployeePayslipFieldRefs {
readonly id: Prisma.FieldRef<"EmployeePayslip", 'String'>
readonly createdAt: Prisma.FieldRef<"EmployeePayslip", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"EmployeePayslip", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"EmployeePayslip", 'String'>
readonly employeeUserId: Prisma.FieldRef<"EmployeePayslip", 'String'>
readonly uploadedByUserId: Prisma.FieldRef<"EmployeePayslip", 'String'>
readonly periodYear: Prisma.FieldRef<"EmployeePayslip", 'Int'>
readonly periodMonth: Prisma.FieldRef<"EmployeePayslip", 'Int'>
readonly fileId: Prisma.FieldRef<"EmployeePayslip", 'String'>
readonly isRead: Prisma.FieldRef<"EmployeePayslip", 'Boolean'>
readonly readAt: Prisma.FieldRef<"EmployeePayslip", 'DateTime'>
readonly isDemoData: Prisma.FieldRef<"EmployeePayslip", 'Boolean'>
readonly archivedAt: Prisma.FieldRef<"EmployeePayslip", 'DateTime'>
}
// Custom InputTypes
/**
* EmployeePayslip findUnique
*/
export type EmployeePayslipFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* Filter, which EmployeePayslip to fetch.
*/
where: Prisma.EmployeePayslipWhereUniqueInput
}
/**
* EmployeePayslip findUniqueOrThrow
*/
export type EmployeePayslipFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* Filter, which EmployeePayslip to fetch.
*/
where: Prisma.EmployeePayslipWhereUniqueInput
}
/**
* EmployeePayslip findFirst
*/
export type EmployeePayslipFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* Filter, which EmployeePayslip to fetch.
*/
where?: Prisma.EmployeePayslipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmployeePayslips to fetch.
*/
orderBy?: Prisma.EmployeePayslipOrderByWithRelationInput | Prisma.EmployeePayslipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for EmployeePayslips.
*/
cursor?: Prisma.EmployeePayslipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmployeePayslips 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` EmployeePayslips.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmployeePayslips.
*/
distinct?: Prisma.EmployeePayslipScalarFieldEnum | Prisma.EmployeePayslipScalarFieldEnum[]
}
/**
* EmployeePayslip findFirstOrThrow
*/
export type EmployeePayslipFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* Filter, which EmployeePayslip to fetch.
*/
where?: Prisma.EmployeePayslipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmployeePayslips to fetch.
*/
orderBy?: Prisma.EmployeePayslipOrderByWithRelationInput | Prisma.EmployeePayslipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for EmployeePayslips.
*/
cursor?: Prisma.EmployeePayslipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmployeePayslips 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` EmployeePayslips.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmployeePayslips.
*/
distinct?: Prisma.EmployeePayslipScalarFieldEnum | Prisma.EmployeePayslipScalarFieldEnum[]
}
/**
* EmployeePayslip findMany
*/
export type EmployeePayslipFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* Filter, which EmployeePayslips to fetch.
*/
where?: Prisma.EmployeePayslipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of EmployeePayslips to fetch.
*/
orderBy?: Prisma.EmployeePayslipOrderByWithRelationInput | Prisma.EmployeePayslipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing EmployeePayslips.
*/
cursor?: Prisma.EmployeePayslipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` EmployeePayslips 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` EmployeePayslips.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of EmployeePayslips.
*/
distinct?: Prisma.EmployeePayslipScalarFieldEnum | Prisma.EmployeePayslipScalarFieldEnum[]
}
/**
* EmployeePayslip create
*/
export type EmployeePayslipCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* The data needed to create a EmployeePayslip.
*/
data: Prisma.XOR<Prisma.EmployeePayslipCreateInput, Prisma.EmployeePayslipUncheckedCreateInput>
}
/**
* EmployeePayslip createMany
*/
export type EmployeePayslipCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many EmployeePayslips.
*/
data: Prisma.EmployeePayslipCreateManyInput | Prisma.EmployeePayslipCreateManyInput[]
skipDuplicates?: boolean
}
/**
* EmployeePayslip createManyAndReturn
*/
export type EmployeePayslipCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* The data used to create many EmployeePayslips.
*/
data: Prisma.EmployeePayslipCreateManyInput | Prisma.EmployeePayslipCreateManyInput[]
skipDuplicates?: boolean
}
/**
* EmployeePayslip update
*/
export type EmployeePayslipUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* The data needed to update a EmployeePayslip.
*/
data: Prisma.XOR<Prisma.EmployeePayslipUpdateInput, Prisma.EmployeePayslipUncheckedUpdateInput>
/**
* Choose, which EmployeePayslip to update.
*/
where: Prisma.EmployeePayslipWhereUniqueInput
}
/**
* EmployeePayslip updateMany
*/
export type EmployeePayslipUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update EmployeePayslips.
*/
data: Prisma.XOR<Prisma.EmployeePayslipUpdateManyMutationInput, Prisma.EmployeePayslipUncheckedUpdateManyInput>
/**
* Filter which EmployeePayslips to update
*/
where?: Prisma.EmployeePayslipWhereInput
/**
* Limit how many EmployeePayslips to update.
*/
limit?: number
}
/**
* EmployeePayslip updateManyAndReturn
*/
export type EmployeePayslipUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* The data used to update EmployeePayslips.
*/
data: Prisma.XOR<Prisma.EmployeePayslipUpdateManyMutationInput, Prisma.EmployeePayslipUncheckedUpdateManyInput>
/**
* Filter which EmployeePayslips to update
*/
where?: Prisma.EmployeePayslipWhereInput
/**
* Limit how many EmployeePayslips to update.
*/
limit?: number
}
/**
* EmployeePayslip upsert
*/
export type EmployeePayslipUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* The filter to search for the EmployeePayslip to update in case it exists.
*/
where: Prisma.EmployeePayslipWhereUniqueInput
/**
* In case the EmployeePayslip found by the `where` argument doesn't exist, create a new EmployeePayslip with this data.
*/
create: Prisma.XOR<Prisma.EmployeePayslipCreateInput, Prisma.EmployeePayslipUncheckedCreateInput>
/**
* In case the EmployeePayslip was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.EmployeePayslipUpdateInput, Prisma.EmployeePayslipUncheckedUpdateInput>
}
/**
* EmployeePayslip delete
*/
export type EmployeePayslipDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
/**
* Filter which EmployeePayslip to delete.
*/
where: Prisma.EmployeePayslipWhereUniqueInput
}
/**
* EmployeePayslip deleteMany
*/
export type EmployeePayslipDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which EmployeePayslips to delete
*/
where?: Prisma.EmployeePayslipWhereInput
/**
* Limit how many EmployeePayslips to delete.
*/
limit?: number
}
/**
* EmployeePayslip without action
*/
export type EmployeePayslipDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EmployeePayslip
*/
select?: Prisma.EmployeePayslipSelect<ExtArgs> | null
/**
* Omit specific fields from the EmployeePayslip
*/
omit?: Prisma.EmployeePayslipOmit<ExtArgs> | null
}