- 팔로우 DTO 구현 중
This commit is contained in:
2025-12-17 23:50:37 +09:00
parent b4525bd13d
commit ac850adfcf
6 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { IsRequired } from "src/scheduler/decorator/required-decorator";
import { IsString } from 'class-validator';
import { getMessage } from "src/scheduler/type/class-validator/MessageType";
import type { BaseResponseDTO } from "../../base/base-response.dto"
export class FollowList {
@IsRequired()
@IsString({ message: getMessage('TYPE') })
id!: string;
@IsRequired()
@IsString({ message: getMessage('TYPE') })
name!: string;
}
export type FollowListResponse = BaseResponseDTO<FollowList[]>;