import { BaseResourceModel } from "../../../shared/models/base-resource.model" ; export class Category extends BaseResourceModel { constructor ( public id ? , public name ? , public description ? ) { super ( ) ; } static fromJson ( jsonData ) { return Object . assign ( new Category ( ) , jsonData ) ; } }