forked from yoone/WEB
42 lines
570 B
TypeScript
42 lines
570 B
TypeScript
import { ApiProperty } from '@midwayjs/swagger';
|
|
|
|
export class QueryCustomerListDTO {
|
|
@ApiProperty()
|
|
current: string;
|
|
|
|
@ApiProperty()
|
|
pageSize: string;
|
|
|
|
@ApiProperty()
|
|
email: string;
|
|
|
|
@ApiProperty()
|
|
tags: string;
|
|
|
|
@ApiProperty()
|
|
sorterKey: string;
|
|
|
|
@ApiProperty()
|
|
sorterValue: string;
|
|
|
|
@ApiProperty()
|
|
state: string;
|
|
|
|
@ApiProperty()
|
|
first_purchase_date: string;
|
|
|
|
@ApiProperty()
|
|
customerId: number;
|
|
|
|
@ApiProperty()
|
|
phone: string;
|
|
}
|
|
|
|
export class CustomerTagDTO {
|
|
@ApiProperty()
|
|
email: string;
|
|
|
|
@ApiProperty()
|
|
tag: string;
|
|
}
|