Migrate authorize{ actions, actionType, reducer} to TS & make factory service for interfaces #15
This commit is contained in:
25
app/domain/authorize/loginResult.ts
Normal file
25
app/domain/authorize/loginResult.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { BaseDomain } from "domain/common";
|
||||
|
||||
export class LoginUser extends BaseDomain{
|
||||
|
||||
constructor(uid: string){
|
||||
super();
|
||||
|
||||
this._uid = uid;
|
||||
}
|
||||
|
||||
/**
|
||||
* User identifier
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof LoginUser
|
||||
*/
|
||||
|
||||
private _uid : string;
|
||||
public get uid() : string {
|
||||
return this._uid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user