All files / src/dtos fleet.dto.ts

90.91% Statements 10/11
100% Branches 0/0
0% Functions 0/1
88.89% Lines 8/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 241x 1x 1x       1x   1x     1x     1x     1x            
import {model} from '@loopback/repository';
import {Exclude, Expose} from 'class-transformer';
import {FleetView} from '@logchain/models/views';
 
@Exclude()
@model({name: 'FleetView'})
export class FleetViewDto extends FleetView {
  @Expose()
  vehicle_no: string;
 
  @Expose()
  delivered_by: string;
 
  @Expose()
  delivery_note: string;
 
  @Expose()
  reason_for_change: string;
 
  constructor(data?: Partial<FleetViewDto>) {
    super(data);
  }
}