UNPKG

@fleetbase/fleetops-data

Version:

Fleetbase Fleet-Ops based models, serializers, transforms, adapters and GeoJson utility functions.

33 lines (29 loc) 879 B
import CustomerModel from './customer'; import { attr } from '@ember-data/model'; export default class CustomerVendorModel extends CustomerModel { /** @ids */ @attr('string') uuid; @attr('string') public_id; @attr('string') company_uuid; @attr('string') type_uuid; @attr('string') connect_company_uuid; @attr('string') logo_uuid; @attr('string') internal_id; @attr('string') business_id; /** @attributes */ @attr('string') name; @attr('string') email; @attr('string') website_url; @attr('string') phone; @attr('string') address; @attr('string') address_street; @attr('string') place_uuid; @attr('string') country; @attr('string') status; @attr('string') slug; @attr('string') type; /** @dates */ @attr('date') deleted_at; @attr('date') created_at; @attr('date') updated_at; }