Add tenant-scoped insurer, staff and branch management APIs

Support all six staff roles and editable Fanavaran codes, insurer login accounts and optional branch details. Enforce tenant boundaries and role-specific fields, document setup and extend regression coverage.
This commit is contained in:
SepehrYahyaee
2026-10-11 10:42:44 +03:30
parent 4302be8595
commit 0c272f1e86
19 changed files with 1930 additions and 7 deletions
+5
View File
@@ -8,6 +8,11 @@ import {
} from "class-validator";
export class CreateBranchDto {
@ApiProperty({ required: false, description: "Full official branch name" })
@IsOptional()
@IsString()
fullName?: string;
@ApiProperty({ example: "شهرک غرب" })
@IsString()
@IsNotEmpty()