import BaseModel from './BaseModel' import Manufacturer from './Manufacturer' export default class Harness extends BaseModel { id: string = '' manufacturer_id: string = '' name: string = '' slug: string = '' en_class: string = '' weight_min: number = 0 weight_max: number = 0 height_min: number = 0 height_max: number = 0 harness_weight: number = 0 flight_target: string = '' cover_path: string = '' total_flights: number = 0 is_active: boolean = false manufacturer: any = new Manufacturer() public get fillable() { return [ 'id', 'manufacturer_id', 'slug', 'name', 'weight_min', 'weight_max', 'height_min', 'height_max', 'harness_weight', 'flight_target', 'cover_path', 'total_flights', 'is_active', 'manufacturer', ] } constructor(data: any = {}) { super(data) this.setFillableKeys(data) } }