]>
Commit | Line | Data |
---|---|---|
50d6de9c | 1 | import { Account as ServerAccount } from '../../../../../shared/models/actors/account.model' |
d3e91a5f | 2 | import { Actor } from '../actor/actor.model' |
b1fa3eba | 3 | |
d3e91a5f | 4 | export class Account extends Actor implements ServerAccount { |
c5911fd3 | 5 | displayName: string |
2422c46b | 6 | description: string |
ad9e39fb | 7 | nameWithHost: string |
6b738c7a C |
8 | |
9 | constructor (hash: ServerAccount) { | |
d3e91a5f C |
10 | super(hash) |
11 | ||
6b738c7a C |
12 | this.displayName = hash.displayName |
13 | this.description = hash.description | |
ad9e39fb | 14 | this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host) |
6b738c7a | 15 | } |
b1fa3eba | 16 | } |