All files / src/entities shipment_item.ts

100% Statements 11/11
100% Branches 0/0
100% Functions 1/1
100% Lines 9/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 161x 1x     1x 1x 1x 1x   1x     1x   1x  
import { Entity } from '../entity.js';
import { Job } from './job.js';
import { ShipmentItemFulfillment } from './shipment_item_fulfillment.js';
 
export class ShipmentItem extends Entity {
  protected static resourceName = 'shipment_items';
  protected static singularName = 'shipmentItem';
  protected static pluralName = 'shipmentItems';
 
  @ShipmentItem.property({type: Job})
  public job?: Job;
 
  @ShipmentItem.property({arrayType: 'ShipmentItemFulfillment'})
  public fulfillments?: ShipmentItemFulfillment[];
}