import { BaseQuery } from '@/types/base';

/**
 * 应用分类查询参数
 */
export interface ApplicationCategoryQuery extends BaseQuery {
  name?: string;
  code?: string;
  enabled?: boolean;
}

/**
 * 应用分类响应
 */
export interface ApplicationCategoryResponse {
  id: number;
  name: string;
  code: string;
  description?: string;
  icon?: string;
  sort: number;
  enabled: boolean;
  applicationCount?: number;
  createBy?: string;
  createTime?: string;
  updateBy?: string;
  updateTime?: string;
}

/**
 * 应用分类创建/更新请求
 */
export interface ApplicationCategoryRequest {
  name: string;
  code: string;
  description?: string;
  icon?: string;
  sort?: number;
  enabled?: boolean;
}

