feat(constructeurs): introduce constructors management
This commit is contained in:
@@ -19,7 +19,7 @@ export class CreateComposantDto {
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
|
||||
@IsOptional()
|
||||
@Transform(({ value }) => value === '' ? null : value)
|
||||
@@ -46,7 +46,7 @@ export class UpdateComposantDto {
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
|
||||
@IsOptional()
|
||||
@Transform(({ value }) => value === '' ? null : value)
|
||||
|
||||
Reference in New Issue
Block a user