import { AbstractModelAPI , AbstractModelApplication , AbstractSerializerApplication , ObjectFromAPIInterface , } from 'src/app/model/abstract' ; interface PointFromAPIInterface extends ObjectFromAPIInterface { name : string ; description : string ; } export class PointSerializerApplication extends AbstractSerializerApplication { protected model = PointModelApplication ; } export class PointModelApplication extends AbstractModelApplication { name : string ; description : string ; constructor ( props ) { super ( props ) ; this . name = props . name ; this . description = props . description ; } } class PointModelAPI extends AbstractModelAPI { name : string ; description : string ; constructor ( props ) { super ( props ) ; this . name = props . name ; this . description = props . description ; } }