435b0e7806
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
376 B
TypeScript
24 lines
376 B
TypeScript
import { IsBoolean, IsInt, IsOptional, IsString, Max, Min } from 'class-validator';
|
|
|
|
export class UpdateDigestConfigDto {
|
|
@IsString()
|
|
targetGroupJid: string;
|
|
|
|
@IsString()
|
|
targetAccountId: string;
|
|
|
|
@IsInt()
|
|
@Min(0)
|
|
@Max(23)
|
|
scheduleHour: number;
|
|
|
|
@IsInt()
|
|
@Min(0)
|
|
@Max(59)
|
|
scheduleMinute: number;
|
|
|
|
@IsBoolean()
|
|
@IsOptional()
|
|
isActive?: boolean;
|
|
}
|