@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
22 lines (21 loc) • 646 B
TypeScript
import { ChargingStation } from './ChargingStation';
import { Point } from 'geojson';
import { BaseModelWithTenant } from '../BaseModelWithTenant';
/**
* Represents a location.
* Currently, this data model is internal to CitrineOS. In the future, it will be analogous to an OCPI Location.
*/
export declare class Location extends BaseModelWithTenant {
static readonly MODEL_NAME: string;
name: string;
address: string;
city: string;
postalCode: string;
state: string;
country: string;
/**
* [longitude, latitude]
*/
coordinates: Point;
chargingPool: [ChargingStation, ...ChargingStation[]];
}