nest js post code example
Example: netjs dto
interface IUsers {
readonly user_id?: number
readonly email: string
readonly password: string
readonly active?: boolean
readonly created_at?: any
readonly updated_at?: any
}
class UsersDTO implements IUsers {
readonly user_id?: number
readonly email: string
readonly password: string
readonly active?: boolean
readonly created_at?: any
readonly updated_at?: any
}