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

export namespace LeisureOrderServiceDeclare {
        export namespace $parameters {
            export interface JsonParam{
                appId?: string
                key?: string
                ts?: string
                reqId?: string
                serviceCode?: string
                parkId?: string
                plateNo?: string
                settleStartTime?: string
                settleEndTime?: string
                pageNum?: number
                pageSize?: number
            }


        }
        export namespace $results {
            export interface Result{
                resCode?: string
                resMsg?: string
                data?: Data
            }


            export interface Data{
                total?: number
                list?: Array<OrderItem>
            }


            export interface OrderItem{
                orderNo?: string
                plateNo?: string
                useStatus?: number
                useStatusName?: string
                settleStatus?: number
                settleStatusName?: string
                refundStatus?: number
                refundStatusName?: string
                productName?: string
                usePeriod?: string
                orderAmount?: number
                discountAmount?: number
                settleAmount?: number
                lotSettleAmount?: number
                ktSettleAmount?: number
                settleTime?: string
                refundSettleTime?: string
            }


        }



    export type Parameters = $parameters.JsonParam

    export type Result = $results.Result
}

export type Parameters = LeisureOrderServiceDeclare.Parameters
export type Result = LeisureOrderServiceDeclare.Result
