Initial commit after migration to gitea

This commit is contained in:
2026-01-18 11:27:43 +03:30
parent a21039410c
commit ea4b8eb543
196 changed files with 45567 additions and 9 deletions

View File

@@ -0,0 +1,34 @@
import { ApiProperty } from "@nestjs/swagger";
import { IsString, IsNotEmpty, IsOptional } from "class-validator";
export class CreateBranchDto {
@ApiProperty({ example: "شهرک غرب" })
@IsString()
@IsNotEmpty()
name: string;
@ApiProperty({ example: "1234" })
@IsString()
@IsNotEmpty()
code: string;
@ApiProperty({ example: "استان" })
@IsString()
@IsNotEmpty()
city: string;
@ApiProperty({ example: "شهر" })
@IsString()
@IsNotEmpty()
state: string;
@ApiProperty({ example: "فلان آدرس" })
@IsString()
@IsNotEmpty()
address: string;
@ApiProperty({ required: false, example: "0912345678" })
@IsOptional()
@IsString()
phoneNumber?: string;
}