Add device and user notification modules

This commit is contained in:
faris Aljohari
2024-05-26 00:34:28 +03:00
parent 93bab79d31
commit fdab3fa687
16 changed files with 161 additions and 2 deletions

View File

@ -0,0 +1,19 @@
import { IsBoolean, IsNotEmpty, IsString } from 'class-validator';
export class UserNotificationDto {
@IsString()
@IsNotEmpty()
public uuid: string;
@IsString()
@IsNotEmpty()
public userUuid: string;
@IsString()
@IsNotEmpty()
public subscriptionUuid: string;
@IsBoolean()
@IsNotEmpty()
public active: boolean;
}