mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 17:38:12 +00:00
fix
This commit is contained in:
@@ -21,8 +21,8 @@ export class FuelConsumption extends BaseEntity {
|
||||
@Column({ name: 'total_cost', type: 'numeric', precision: 14, scale: 2 })
|
||||
totalCost!: number;
|
||||
|
||||
@Column({ name: 'total_distance_km', type: 'numeric', precision: 10, scale: 2 })
|
||||
totalDistanceKm!: number;
|
||||
@Column({ name: 'total_distance_km', type: 'numeric', precision: 10, scale: 2, default: 0 })
|
||||
totalDistanceKm: number = 0;
|
||||
|
||||
@Column({ name: 'fuel_efficiency_km_per_l', type: 'numeric', precision: 10, scale: 2, nullable: true })
|
||||
fuelEfficiencyKmPerL?: number;
|
||||
|
||||
Reference in New Issue
Block a user