@golemio/parkings
Version:
Golemio Parkings Module
36 lines (35 loc) • 1.25 kB
TypeScript
import { IAddress } from "./interfaces/IAddress";
import { IContact, IParking } from "./interfaces/IParking";
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
import { IGeoCoordinatesPoint, TGeoCoordinates } from "@golemio/core/dist/output-gateway/Geo";
export declare class ParkingModel extends Model<IParking> implements IParking {
static tableName: string;
id: string;
source: string;
source_id: string;
data_provider: string;
date_modified: Date;
location: TGeoCoordinates;
address: IAddress | null;
name: string | null;
area_served: string | null;
total_spot_number: number | null;
category: string | null;
valid_from: Date | null;
valid_to: Date | null;
parking_type: string;
zone_type: string | null;
centroid: IGeoCoordinatesPoint | null;
security: boolean | null;
max_vehicle_dimensions: number[] | null;
updated_at: Date | null;
covered: boolean | null;
contact: IContact | null;
parking_policy: string | null;
sanitized_location: TGeoCoordinates;
area: number;
address_updated_at: Date | null;
active: boolean;
static attributeModel: ModelAttributes<ParkingModel>;
static attributeList: string[];
}