This commit is contained in:
2025-12-13 11:14:18 +03:30
parent 3eb6b889a4
commit c25a5afe01
80 changed files with 440 additions and 190 deletions
-1
View File
@@ -7,7 +7,6 @@ export class CreateRoleDto {
@IsString()
name!: string;
@ApiProperty({ description: 'List of permission IDs', isArray: true, required: false })
@IsOptional()
@IsArray()
@@ -10,7 +10,7 @@ export class Permission extends BaseEntity {
@Property()
title!: string;
// اضافه شد
// اضافه شد
@Property({ default: 'general' })
group!: string;