aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/productFamily.ts
blob: 3c55ac0041eb1d94a4fb90e5db4c3fc2c9b5f5b1 (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"];
  }
}