Trần Viết Sơn commited on
Commit
be22897
1 Parent(s): 3daf62a

feat: update dto

Browse files
backend/src/modules/branch/dto/create-branch.dto.ts CHANGED
@@ -7,6 +7,9 @@ export class CreateBranchDto {
7
  @IsString()
8
  name: string;
9
 
 
 
 
10
  @IsString()
11
  location: string;
12
 
 
7
  @IsString()
8
  name: string;
9
 
10
+ @IsString()
11
+ image_url: string;
12
+
13
  @IsString()
14
  location: string;
15
 
backend/src/modules/branch/dto/update-branch.dto.ts CHANGED
@@ -5,6 +5,10 @@ export class UpdateBranchDto {
5
  @IsOptional()
6
  name?: string;
7
 
 
 
 
 
8
  @IsString()
9
  @IsOptional()
10
  location?: string;
 
5
  @IsOptional()
6
  name?: string;
7
 
8
+ @IsString()
9
+ @IsOptional()
10
+ image_url?: string;
11
+
12
  @IsString()
13
  @IsOptional()
14
  location?: string;