fix: add user detail on create member
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
import { IsNotEmpty, IsOptional, IsUUID, ValidateIf } from 'class-validator';
|
||||
import { Partner } from '../entities/partner.entity';
|
||||
import { Column } from 'typeorm';
|
||||
|
||||
export class CreateUserDto {
|
||||
@IsNotEmpty()
|
||||
username: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
name: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
phone_number: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
password: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user