import { OpResult } from './OpResult'
export namespace AddUserDeclare {
        export namespace $parameters {
            export interface SysUser{
                name?: string
                age?: number
                sex?: number
                birthday?: Date
                enable?: boolean
                roleIdList?: Array<string>
                roles?: Array<SysRole>
                shippingAddress?: ShippingAddress
                extends?: Extends1
            }


            export interface SysRole{
                name?: string
                permissionIds?: Array<string>
            }


            export interface ShippingAddress{
                province?: string
                city?: string
                county?: string
                address?: string
                extends?: Extends
            }


            export interface Extends{
                postalCode?: string
                street?: string
            }


            export interface Extends1{
                dataState?: string
            }


        }
        export namespace $results {
            export interface Result{
                name?: string
                age?: number
                sex?: number
                birthday?: Date
                enable?: boolean
                roleIdList?: Array<string>
                shippingAddress?: ShippingAddress
            }


            export interface ShippingAddress{
                province?: string
                city?: string
                county?: string
                address?: string
            }


        }



    export type Parameters = $parameters.SysUser

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

export type Payload = AddUserDeclare.Parameters

export type Result = AddUserDeclare.Result