-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from smardev-inc/feature/improve_auto_mapping
Issue #8
- Loading branch information
Showing
7 changed files
with
346 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
export const usersData = [ | ||
{ | ||
id: 1, | ||
profilePicture: 'https://robohash.org/sitdoloremquecumque.png?size=50x50&set=set1', | ||
userName: 'vmcharg0', | ||
first_name: 'Virgina', | ||
last_name: 'Mc Harg', | ||
gender: 'Female', | ||
email: 'vmcharg0@cam.ac.uk', | ||
phone: '602-877-7674', | ||
birthDate: '1992-03-14T14:40:14Z', | ||
country: 'Sweden' | ||
}, | ||
{ | ||
id: 2, | ||
profilePicture: null, | ||
userName: 'pharcombe1', | ||
first_name: 'Philly', | ||
last_name: 'Harcombe', | ||
gender: 'Female', | ||
email: 'pharcombe1@usa.gov', | ||
phone: '869-788-3634', | ||
birthDate: '1986-04-21T23:03:36Z', | ||
country: 'China' | ||
}, | ||
{ | ||
id: 3, | ||
profilePicture: null, | ||
userName: 'ccotte2', | ||
first_name: 'Casey', | ||
last_name: 'Cotte', | ||
gender: 'Male', | ||
email: 'ccotte2@domainmarket.com', | ||
phone: '388-256-4344', | ||
birthDate: '1964-06-09T18:14:04Z', | ||
country: 'Indonesia' | ||
}, | ||
{ | ||
id: 4, | ||
profilePicture: 'https://robohash.org/atquepraesentiumut.png?size=50x50&set=set1', | ||
userName: 'mkemitt3', | ||
first_name: 'Mahmoud', | ||
last_name: 'Kemitt', | ||
gender: 'Male', | ||
email: 'mkemitt3@hc360.com', | ||
phone: '167-423-6408', | ||
birthDate: '1965-10-06T06:26:55Z', | ||
country: 'Croatia' | ||
} | ||
]; | ||
|
||
export const usersDataPrivateFields = [ | ||
{ | ||
m_id: 1, | ||
m_profilePicture: 'https://robohash.org/sitdoloremquecumque.png?size=50x50&set=set1', | ||
m_userName: 'vmcharg0', | ||
m_first_name: 'Virgina', | ||
m_last_name: 'Mc Harg', | ||
m_gender: 'Female', | ||
m_email: 'vmcharg0@cam.ac.uk', | ||
m_phone: '602-877-7674', | ||
m_birthDate: '1992-03-14T14:40:14Z', | ||
m_country: 'Sweden' | ||
}, | ||
{ | ||
m_id: 2, | ||
m_profilePicture: null, | ||
m_userName: 'pharcombe1', | ||
m_first_name: 'Philly', | ||
m_last_name: 'Harcombe', | ||
m_gender: 'Female', | ||
m_email: 'pharcombe1@usa.gov', | ||
m_phone: '869-788-3634', | ||
m_birthDate: '1986-04-21T23:03:36Z', | ||
m_country: 'China' | ||
}, | ||
{ | ||
m_id: 3, | ||
m_profilePicture: null, | ||
m_userName: 'ccotte2', | ||
m_first_name: 'Casey', | ||
m_last_name: 'Cotte', | ||
m_gender: 'Male', | ||
m_email: 'ccotte2@domainmarket.com', | ||
m_phone: '388-256-4344', | ||
m_birthDate: '1964-06-09T18:14:04Z', | ||
m_country: 'Indonesia' | ||
}, | ||
{ | ||
m_id: 4, | ||
m_profilePicture: 'https://robohash.org/atquepraesentiumut.png?size=50x50&set=set1', | ||
m_userName: 'mkemitt3', | ||
m_first_name: 'Mahmoud', | ||
m_last_name: 'Kemitt', | ||
m_gender: 'Male', | ||
m_email: 'mkemitt3@hc360.com', | ||
m_phone: '167-423-6408', | ||
m_birthDate: '1965-10-06T06:26:55Z', | ||
m_country: 'Croatia' | ||
} | ||
]; | ||
|
||
export const usersDataUperCase = [ | ||
{ | ||
ID: 1, | ||
PROFILEPICTURE: 'https://robohash.org/sitdoloremquecumque.png?size=50x50&set=set1', | ||
USERNAME: 'vmcharg0', | ||
FIRST_NAME: 'Virgina', | ||
LAST_NAME: 'Mc Harg', | ||
GENDER: 'Female', | ||
EMAIL: 'vmcharg0@cam.ac.uk', | ||
PHONE: '602-877-7674', | ||
BIRTHDATE: '1992-03-14T14:40:14Z', | ||
COUNTRY: 'Sweden' | ||
}, | ||
{ | ||
ID: 2, | ||
PROFILEPICTURE: null, | ||
USERNAME: 'pharcombe1', | ||
FIRST_NAME: 'Philly', | ||
LAST_NAME: 'Harcombe', | ||
GENDER: 'Female', | ||
EMAIL: 'pharcombe1@usa.gov', | ||
PHONE: '869-788-3634', | ||
BIRTHDATE: '1986-04-21T23:03:36Z', | ||
COUNTRY: 'China' | ||
}, | ||
{ | ||
ID: 3, | ||
PROFILEPICTURE: null, | ||
USERNAME: 'ccotte2', | ||
FIRST_NAME: 'Casey', | ||
LAST_NAME: 'Cotte', | ||
GENDER: 'Male', | ||
EMAIL: 'ccotte2@domainmarket.com', | ||
PHONE: '388-256-4344', | ||
BIRTHDATE: '1964-06-09T18:14:04Z', | ||
COUNTRY: 'Indonesia' | ||
}, | ||
{ | ||
ID: 4, | ||
PROFILEPICTURE: 'https://robohash.org/atquepraesentiumut.png?size=50x50&set=set1', | ||
USERNAME: 'mkemitt3', | ||
FIRST_NAME: 'Mahmoud', | ||
LAST_NAME: 'Kemitt', | ||
GENDER: 'Male', | ||
EMAIL: 'mkemitt3@hc360.com', | ||
PHONE: '167-423-6408', | ||
BIRTHDATE: '1965-10-06T06:26:55Z', | ||
COUNTRY: 'Croatia' | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
export class User { | ||
private _id: string | undefined; | ||
private _profilePicture: string | undefined; | ||
private _userName: string | undefined; | ||
private _displayName: string | undefined; | ||
private _email: string | undefined; | ||
private _birthDate: Date | undefined; | ||
private _phone: string | undefined; | ||
|
||
public get id(): string | undefined { | ||
return this._id; | ||
} | ||
|
||
public set id(value: string | undefined) { | ||
this._id = value; | ||
} | ||
|
||
public get profilePicture(): string | undefined { | ||
return this._profilePicture; | ||
} | ||
|
||
public set profilePicture(value: string | undefined) { | ||
this._profilePicture = value; | ||
} | ||
|
||
public get userName(): string | undefined { | ||
return this._userName; | ||
} | ||
|
||
public set userName(value: string | undefined) { | ||
this._userName = value; | ||
} | ||
|
||
public get displayName(): string | undefined { | ||
return this._displayName; | ||
} | ||
|
||
public set displayName(value: string | undefined) { | ||
this._displayName = value; | ||
} | ||
|
||
public get email(): string | undefined { | ||
return this._email; | ||
} | ||
|
||
public set email(value: string | undefined) { | ||
this._email = value; | ||
} | ||
|
||
public get birthDate(): Date | undefined { | ||
return this._birthDate; | ||
} | ||
|
||
public set birthDate(value: Date | undefined) { | ||
this._birthDate = value; | ||
} | ||
|
||
public get phone(): string | undefined { | ||
return this._phone; | ||
} | ||
|
||
public set phone(value: string | undefined) { | ||
this._phone = value; | ||
} | ||
} |
Oops, something went wrong.