/**
 * @description: Login interface parameters
 */
 export interface AddLayerParams {
    relationTable:string;
    name: string;
    description: string;
    srid: string;
    vectorType:string;
    style:string;
    createTime:string
}

export interface GetLayerListParams {
    name:string;
    page:number;
    limit:number;
    key:string;
}

export interface AddGeomParams {
  tableName:string;
  guidFieldName:string;
  geometryFieldName:string;
  data:Array<string>
}

export interface GetGeomParams {
  TableName:string;
  FieldName:string;
  FieldValue:Array<string>,
  page:number,
  limit:number,
  key:string | null,
}
  
  export interface RoleInfo {
    roleName: string;
    value: string;
  }
  
  /**
   * @description: Login interface return value
   */
  export interface LoginResultModel {
    userId: string | number;
    token: string;
    roles: RoleInfo[];
  }
  
  /**
   * @description: Get user information return value
   */
  export interface GetUserInfoModel {
    roles: RoleInfo[];
    // 用户id
    userId: string | number;
    // 用户名
    username: string;
    // 真实名字
    realName: string;
    // 头像
    avatar: string;
    // 介绍
    desc?: string;
  }
  