UNPKG
poem_game_component
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
poem_game_component
/
src
/
domain
/
entities
/
User.ts
19 lines
(16 loc)
•
344 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export
class
User
{
constructor
(
private
id
:
string
,
private
username
:
string
,
private
password
:
string
) {}
getId
():
string
{
return
this
.
id
; }
getUsername
():
string
{
return
this
.
username
; }
getPassword
():
string
{
return
this
.
password
; } }