19 lines
403 B
TypeScript
19 lines
403 B
TypeScript
import { Serializable } from '../Serializable';
|
|
|
|
|
|
export class ProfileModel implements Serializable<ProfileModel> {
|
|
public id: String;
|
|
public label: String;
|
|
public description: String;
|
|
public reference: String;
|
|
|
|
fromJSONObject(item: any): ProfileModel {
|
|
this.id = item.id;
|
|
this.label = item.label;
|
|
this.description = item.abbreviation;
|
|
this.reference = item.reference;
|
|
|
|
return this;
|
|
}
|
|
}
|