Update on the tunnel flight
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user