UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

29 lines (28 loc) 898 B
import { Model } from 'sequelize-typescript'; import { Transaction } from '../TransactionEvent'; import { ChargingSchedule } from './ChargingSchedule'; export declare class ChargingProfile extends Model { 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: [ChargingSchedule] | [ChargingSchedule, ChargingSchedule] | [ChargingSchedule, ChargingSchedule, ChargingSchedule]; transactionDatabaseId?: number | null; transaction?: Transaction; customData?: object | null; }