infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/ServizioAnnunci.ts

50 lines
2 KiB
TypeScript
Raw Normal View History

2025-08-04 17:45:44 +02:00
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ServizioServizioId } from './Servizio';
import type { AnnunciId } from './Annunci';
import type { default as StatusConfermaEnum } from './StatusConfermaEnum';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
2025-08-04 17:45:44 +02:00
/** Identifier type for public.servizio_annunci */
export type ServizioAnnunciServizioAnnunciId = number & { __brand: 'public.servizio_annunci' };
2025-08-04 17:45:44 +02:00
/** Represents the table public.servizio_annunci */
export default interface ServizioAnnunciTable {
servizio_annunci_id: ColumnType<ServizioAnnunciServizioAnnunciId, ServizioAnnunciServizioAnnunciId | undefined, ServizioAnnunciServizioAnnunciId>;
servizio_id: ColumnType<ServizioServizioId, ServizioServizioId, ServizioServizioId>;
2025-08-04 17:45:44 +02:00
annunci_id: ColumnType<AnnunciId, AnnunciId, AnnunciId>;
2025-08-04 17:45:44 +02:00
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
2025-08-04 17:45:44 +02:00
open_contatti_at: ColumnType<Date | null, Date | string | null, Date | string | null>;
2025-08-04 17:45:44 +02:00
2025-10-24 16:10:59 +02:00
doc_contratto_ref: ColumnType<string | null, string | null, string | null>;
2025-08-04 17:45:44 +02:00
gestionale_id: ColumnType<number | null, number | null, number | null>;
2025-08-04 17:45:44 +02:00
contratto_decorrenza: ColumnType<Date | null, Date | string | null, Date | string | null>;
2025-08-04 17:45:44 +02:00
contratto_scadenza: ColumnType<Date | null, Date | string | null, Date | string | null>;
2025-08-04 17:45:44 +02:00
contratto_tipo: ColumnType<string | null, string | null, string | null>;
2025-08-04 17:45:44 +02:00
2025-10-24 16:10:59 +02:00
doc_registrazione_ref: ColumnType<string | null, string | null, string | null>;
2025-08-04 17:45:44 +02:00
doc_contratto_added: ColumnType<boolean, boolean | undefined, boolean>;
2025-08-04 17:45:44 +02:00
doc_registrazione_added: ColumnType<boolean, boolean | undefined, boolean>;
note: ColumnType<string | null, string | null, string | null>;
status_conferma: ColumnType<StatusConfermaEnum | null, StatusConfermaEnum | null, StatusConfermaEnum | null>;
2025-08-04 17:45:44 +02:00
}
export type ServizioAnnunci = Selectable<ServizioAnnunciTable>;
export type NewServizioAnnunci = Insertable<ServizioAnnunciTable>;
export type ServizioAnnunciUpdate = Updateable<ServizioAnnunciTable>;