mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 00:14:54 +00:00
20 lines
340 B
TypeScript
20 lines
340 B
TypeScript
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;
|
|
}
|