feat: first commit
This commit is contained in:
14
server/src/system/config/dto/create-config.dto.ts
Normal file
14
server/src/system/config/dto/create-config.dto.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
||||
|
||||
export class CreateConfigDto {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
key: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
value: string;
|
||||
|
||||
@IsOptional()
|
||||
remark: string;
|
||||
}
|
||||
Reference in New Issue
Block a user