Add user space DTO, entity, repository, and module

This commit is contained in:
faris Aljohari
2024-04-16 11:11:18 +03:00
parent 99aca8cf01
commit 9837227fc5
7 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,15 @@
import { IsNotEmpty, IsString } from 'class-validator';
export class UserSpaceDto {
@IsString()
@IsNotEmpty()
public uuid: string;
@IsString()
@IsNotEmpty()
public spaceUuid: string;
@IsString()
@IsNotEmpty()
public userUuid: string;
}