2018-02-01 15:04:36 +01:00
|
|
|
import { Serializable } from '../Serializable';
|
|
|
|
import { TranslateService } from '@ngx-translate/core';
|
2018-08-30 13:09:36 +02:00
|
|
|
import { Principal } from '../login/Principal';
|
2018-02-01 15:04:36 +01:00
|
|
|
|
|
|
|
export class UserListingModel implements Serializable<UserListingModel> {
|
|
|
|
public id: String;
|
|
|
|
public name: String;
|
|
|
|
public appRoles: Principal.AppRole[];
|
|
|
|
|
|
|
|
fromJSONObject(item: any): UserListingModel {
|
|
|
|
this.id = item.id;
|
|
|
|
this.name = item.name;
|
|
|
|
this.appRoles = item.appRoles;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|