UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

29 lines (28 loc) 939 B
import type { ChargingProfileDto, ChargingRateUnitEnumType, ChargingScheduleDto, SalesTariffDto, TenantDto } from '@citrineos/base'; import { Model } from 'sequelize-typescript'; export declare class ChargingSchedule extends Model implements ChargingScheduleDto { static readonly MODEL_NAME: string; /** * Fields */ databaseId: number; id: number; stationId: string; chargingRateUnit: ChargingRateUnitEnumType; chargingSchedulePeriod: [any, ...any[]]; duration?: number | null; minChargingRate?: number | null; startSchedule?: string | null; timeBase?: string; /** * Relations */ chargingProfile: ChargingProfileDto; chargingProfileDatabaseId?: number; salesTariff?: SalesTariffDto; customData?: object | null; tenantId: number; tenant?: TenantDto; static setDefaultTenant(instance: ChargingSchedule): void; constructor(...args: any[]); }