mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 23:35:39 +01:00
fix prefeneces
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { IsNotEmpty, IsString } from 'class-validator';
|
||||
import { EntityID } from '../validators/entity-id.validator';
|
||||
import { EntityIDOptional } from '../validators/entity-id.validator';
|
||||
|
||||
export class ESysPreference {
|
||||
@EntityID()
|
||||
id: string;
|
||||
@EntityIDOptional()
|
||||
id?: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user