Created
July 14, 2019 15:11
-
-
Save hzburki/e749f55129612453b7738e4b8ecd1172 to your computer and use it in GitHub Desktop.
Data transfer object for creating users - NestJS SequelizeJS blog
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
export class CreateUserDto { | |
readonly name: string; | |
readonly age: number; | |
readonly email: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment