summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/owningEntity.ts
blob: f06b24ff075ea2b0a926c510e7980365a75095f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
interface OwningEntityResponse {
  id: string,
  name: string
}

export class OwningEntity {
  id: string;
  name: string;

  constructor(serviceJson: OwningEntityResponse){
    this.id = serviceJson.id;
    this.name = serviceJson.name;
  }
}