20 lines
463 B
TypeScript
20 lines
463 B
TypeScript
import { Serializable } from "../Serializable";
|
|
|
|
|
|
export class OrganisationModel implements Serializable<OrganisationModel> {
|
|
public id: String;
|
|
public label: String;
|
|
public abbreviation: String;
|
|
public reference: String;
|
|
public uri: String;
|
|
|
|
fromJSONObject(item: any): OrganisationModel {
|
|
this.id = item.id;
|
|
this.label = item.label;
|
|
this.abbreviation = item.abbreviation;
|
|
this.reference = item.reference;
|
|
this.uri = item.uri;
|
|
|
|
return this;
|
|
}
|
|
} |