added class to represent user
This commit is contained in:
7
src/app/account/user.spec.ts
Normal file
7
src/app/account/user.spec.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
import { User } from './user';
|
||||||
|
|
||||||
|
describe('User', () => {
|
||||||
|
it('should create an instance', () => {
|
||||||
|
expect(new User()).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
6
src/app/account/user.ts
Normal file
6
src/app/account/user.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
export class User {
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
email: string;
|
||||||
|
token: string;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user