feat(interfaces): add IDbVehicle interface
Add a new interface called `IDbVehicle` in the interfaces module. The `IDbVehicle` interface includes properties such as `id`, `plate_number`, `model_id`, `odometer`, and `health_state` for defining a vehicle object in our database. Issue: #20 Signed-off-by: Mathis <yidhra@tuta.io>
This commit is contained in:
parent
041e77efcd
commit
0053c0ce19
@ -0,0 +1,7 @@
|
|||||||
|
export interface IDbVehicle {
|
||||||
|
id?: string;
|
||||||
|
plate_number: string;
|
||||||
|
model_id: string;
|
||||||
|
odometer: number;
|
||||||
|
health_state: number;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user