import * as _ from "lodash" ; export class BaseModel { static fixObjectFromJSON ( object , json ) { } static fromJSON ( json ) { const result = new this ( ) ; _ . assign ( result , json ) ; this . fixObjectFromJSON ( result , json ) ; return result ; } }