email.dto.ts
863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { ApiProperty } from '@nestjs/swagger'
// import { IsDateString, IsOptional } from 'class-validator';
export class EmailQueryDto {
@ApiProperty({
type: String,
description: '收件人',
required: true
})
to?: string;
@ApiProperty({
type: String,
description: '标题',
required: true
})
subject?: string;
@ApiProperty({
type: String,
description: '内容',
required: true
})
mentorship_page?: string;
supervisor_daily_page?: string;
extraction?: string;
sales_content?: string;
training_materials?: string;
scene_market?: string;
reportData?: string;
template?: string;
aiAgentColumns?: string;
ai_agent?: string;
}
class MentorshipPage {
count: number;
peakDay: Array<PeakDay>;
uniqueAccounts: number;
queryTime: Object;
}
class PeakDay {
count: number;
date: string;
}