fix: bill

This commit is contained in:
2026-02-17 15:44:21 +03:30
parent e905274a94
commit 2555cc12d1
9 changed files with 6910 additions and 33 deletions
@@ -76,11 +76,10 @@ export class CreateCompanyDto extends PickType(CompleteRegistrationDto, ["phone"
@ApiProperty({ description: "آدرس تصویر کاور", example: "https://www.example.com/cover.jpg" })
coverImageUrl: string;
@IsOptional()
@IsInt({ message: CompanyMessage.METRAGE_MUST_BE_INT })
@Min(1, { message: CompanyMessage.METRAGE_MUST_BE_POSITIVE })
@ApiProperty({ description: "متراژ شرکت (متر مربع)", example: 500 })
metrage?: number;
metrage: number;
@IsOptional()
@IsNotEmpty({ message: CompanyMessage.IS_ACTIVE_REQUIRED })
@@ -126,6 +125,7 @@ export class CreateCompanyRequestDto extends PickType(CreateCompanyDto, [
"industryId",
"products",
"services",
"metrage"
]) {
@IsNotEmpty({ message: CompanyMessage.CHIEF_EXECUTIVE_REQUIRED })
@IsString({ message: CompanyMessage.CHIEF_EXECUTIVE_MUST_BE_STRING })