import { File } from '../mslib/File'
import { OpResult } from '../mslib/OpResult'

export namespace AdMgtQueryAdServiceDeclare {
        export namespace $parameters {
            export interface RequestParam{
                id?: string
                name?: string
                pageParam?: PageParam
            }


            export interface PageParam{
                pageSize?: number
                pageNumber?: number
            }


        }
        export namespace $results {
            export interface Data{
                pageSize?: number
                pageNumber?: number
                totalCount?: number
                totalPage?: number
                recordSize?: number
                records?: Array<QueryAdRes>
            }


            export interface QueryAdRes{
                id?: string
                name?: string
                partner?: number
                totalImpressionTimes?: number
                totalClickTimes?: number
                totalActionTimes?: number
                impressionPeopleCount?: number
                clickPeopleCount?: number
                actionPeopleCount?: number
                updateTimestamp?: number
                updator?: string
            }


        }



    export type Parameters = $parameters.RequestParam

    export type Result = OpResult<$results.Data>
}

export type Parameters = AdMgtQueryAdServiceDeclare.Parameters
export type Result = AdMgtQueryAdServiceDeclare.Result
