mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add parking structure entity
This commit is contained in:
9
src/entities/ParkingRepositoryEntities.ts
Normal file
9
src/entities/ParkingRepositoryEntities.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import { ICoordinates, IEntityWithId, IEntityWithOptionalTimestamp } from "./SharedEntities";
|
||||||
|
|
||||||
|
export interface IParkingStructure extends IEntityWithOptionalTimestamp, IEntityWithId {
|
||||||
|
address: string;
|
||||||
|
capacity: number;
|
||||||
|
spotsAvailable: number;
|
||||||
|
coordinates: ICoordinates;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user