aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/productFamily.ts
blob: 1ed2579b2e1f2e7ef5fba665c8bb557b5d0aedf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import {ServiceResponseInterface} from "../services/aaiService/responseInterfaces/getServicesResponseInterface";

export class ProductFamily {
  id: string;
  name: string;
  isPermitted: boolean;

  constructor(serviceResponse: ServiceResponseInterface){
    this.id = serviceResponse['service-id'];
    this.name = serviceResponse["service-description"];
    this.isPermitted = serviceResponse["is-permitted"];
  }
}