UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

32 lines (31 loc) 1.09 kB
import type { ChargingProfileDto, ChargingScheduleDto, TenantDto, TransactionDto } from '@citrineos/base'; import { Model } from 'sequelize-typescript'; export declare class ChargingProfile extends Model implements ChargingProfileDto { static readonly MODEL_NAME: string; /** * Fields */ databaseId: number; stationId: string; id: number; chargingProfileKind: string; chargingProfilePurpose: string; recurrencyKind?: string | null; stackLevel: number; validFrom?: string | null; validTo?: string | null; evseId?: number | null; isActive: boolean; chargingLimitSource?: string | null; /** * Relations */ chargingSchedule: [ChargingScheduleDto] | [ChargingScheduleDto, ChargingScheduleDto] | [ChargingScheduleDto, ChargingScheduleDto, ChargingScheduleDto]; transactionDatabaseId?: number | null; transaction?: TransactionDto; customData?: object | null; tenantId: number; tenant?: TenantDto; static setDefaultTenant(instance: ChargingProfile): void; constructor(...args: any[]); }