// @generated
// This file is automatically generated by Kanel. Do not modify manually.

import type { UsersId } from './Users';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';

/** Identifier type for public.rinnovi */
export type RinnoviId = string & { __brand: 'public.rinnovi' };

/** Represents the table public.rinnovi */
export default interface RinnoviTable {
  id: ColumnType<RinnoviId, RinnoviId | undefined, RinnoviId>;

  userId: ColumnType<UsersId, UsersId, UsersId>;

  codice: ColumnType<string, string, string>;

  decorrenza: ColumnType<Date, Date | string, Date | string>;

  gestionale_id: ColumnType<string | null, string | null, string | null>;

  scadenza: ColumnType<Date, Date | string, Date | string>;
}

export type Rinnovi = Selectable<RinnoviTable>;

export type NewRinnovi = Insertable<RinnoviTable>;

export type RinnoviUpdate = Updateable<RinnoviTable>;
