typescript dto

Solutions on MaxInterview for typescript dto by the best coders in the world

showing results for - "typescript dto"
Emilie
29 Jul 2019
1interface IUsers {
2	readonly user_id?: number
3	readonly email: string
4	readonly password: string
5	readonly active?: boolean
6	readonly created_at?: any
7	readonly updated_at?: any
8}
9
10class UsersDTO implements IUsers {
11	readonly user_id?: number
12	readonly email: string
13	readonly password: string
14	readonly active?: boolean
15	readonly created_at?: any
16	readonly updated_at?: any
17}