2025-08-04 17:45:44 +02:00
|
|
|
// @generated
|
|
|
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
import type { ServizioServizioId } from './Servizio';
|
|
|
|
|
import type { AnnunciId } from './Annunci';
|
2026-04-09 16:17:24 +02:00
|
|
|
import type { default as StatusConfermaEnum } from './StatusConfermaEnum';
|
2025-10-21 18:42:03 +02:00
|
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-11-10 16:27:15 +01: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 {
|
2025-11-10 16:27:15 +01:00
|
|
|
servizio_annunci_id: ColumnType<ServizioAnnunciServizioAnnunciId, ServizioAnnunciServizioAnnunciId | undefined, ServizioAnnunciServizioAnnunciId>;
|
|
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
servizio_id: ColumnType<ServizioServizioId, ServizioServizioId, ServizioServizioId>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
annunci_id: ColumnType<AnnunciId, AnnunciId, AnnunciId>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +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
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
gestionale_id: ColumnType<number | null, number | null, number | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
contratto_decorrenza: ColumnType<Date | null, Date | string | null, Date | string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
contratto_scadenza: ColumnType<Date | null, Date | string | null, Date | string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +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
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
doc_contratto_added: ColumnType<boolean, boolean | undefined, boolean>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
doc_registrazione_added: ColumnType<boolean, boolean | undefined, boolean>;
|
2026-03-20 14:06:55 +01:00
|
|
|
|
|
|
|
|
note: ColumnType<string | null, string | null, string | null>;
|
2026-04-09 16:17:24 +02:00
|
|
|
|
|
|
|
|
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>;
|