mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3540] Start Task Cloud by cli - Core module changes (#4006)
* [ADF-3540] Added username and id to the usermodel * [ADF-3540] Added tests
This commit is contained in:
committed by
Maurizio Vitale
parent
34a30c0f14
commit
74851ac651
@@ -17,15 +17,19 @@
|
||||
|
||||
export class IdentityUserModel {
|
||||
|
||||
id: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
email: string;
|
||||
username: string;
|
||||
|
||||
constructor(obj?: any) {
|
||||
if (obj) {
|
||||
this.id = obj.id || null;
|
||||
this.firstName = obj.firstName || null;
|
||||
this.lastName = obj.lastName || null;
|
||||
this.email = obj.email || null;
|
||||
this.username = obj.username || null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user