-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added attribute descriptions for Broker Modell
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
|
||
export class BrokerModel { | ||
@ApiProperty({ | ||
description: 'Token of broker, to identify and authenticate.', | ||
}) | ||
id: string; | ||
|
||
@ApiProperty({ | ||
description: 'Type of broker. Important for clearing and access rights', | ||
type: 'BrokerType', | ||
}) | ||
type: 'private' | 'business' | 'simulation' | 'stockmarket'; | ||
|
||
@ApiProperty({ | ||
description: 'Internal displayName for an specific broker', | ||
}) | ||
displayName: string; | ||
|
||
@ApiProperty({ | ||
description: 'Determines if broker is banned', | ||
}) | ||
banned?: boolean; | ||
} |