@fleetbase/fleetops-data
Version:
Fleetbase Fleet-Ops based models, serializers, transforms, adapters and GeoJson utility functions.
39 lines (36 loc) • 1.13 kB
JavaScript
import AttachableModel from './attachable';
import { attr } from '@ember-data/model';
/**
* Concrete polymorphic model for an Asset attached to a device.
*/
export default class AttachableAssetModel extends AttachableModel {
/** @ids */
category_uuid;
vendor_uuid;
warranty_uuid;
telematic_uuid;
current_place_uuid;
photo_uuid;
/** @attributes */
description;
code;
category_name;
vendor_name;
warranty_name;
current_location;
usage_type;
vin;
plate_number;
make;
model;
year;
color;
serial_number;
measurement_system;
odometer;
odometer_unit;
notes;
capacity;
specs;
attributes;
}