src/client/app/modules/puzzle/services/database/config-record.model.ts
Properties |
Methods |
constructor(key: string, value: string)
|
toString |
toString()
|
Returns :
string
|
Public key |
key:
|
Type : string
|
Public value |
value:
|
Type : string
|
import { ModelInterface } from '../../interfaces/model.interface';
export class ConfigRecord implements ModelInterface {
constructor(public key: string, public value: string) {}
toString(): string {
return '{ key: ' + this.key + ', value: ' + this.value + ' }';
}
}