Update on the tunnel flight

This commit is contained in:
Sébastien ANDRE
2023-08-16 17:39:24 +02:00
parent dc06f256b4
commit fe7ffa9016
6 changed files with 108 additions and 45 deletions

View File

@@ -39,4 +39,23 @@ export class TunnelFlight {
public notes: string;
public flightDate: Date;
public flightMonth: string;
}
export class TunnelFlightByMonth {
constructor(data: any) {
this.month = data.label;
this.nb = data.nb;
}
public month: string;
public nb: number;
}
export class TunnelFlightByMonthResp {
constructor(data: any) {
Object.assign(this, data);
}
public label: string;
public nb: number;
}