mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 23:35:39 +01:00
reorganizing
This commit is contained in:
12
shared/src/entities/syspreference.entity.ts
Normal file
12
shared/src/entities/syspreference.entity.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { IsNotEmpty, IsOptional } from 'class-validator';
|
||||
|
||||
export class ESysPreference {
|
||||
@IsOptional()
|
||||
id?: number;
|
||||
|
||||
@IsNotEmpty()
|
||||
name: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
value: string;
|
||||
}
|
||||
Reference in New Issue
Block a user