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

/**
 * 表单分类查询参数
 */
export interface FormCategoryQuery extends BaseQuery {
  name?: string;
  code?: string;
  enabled?: boolean;
}

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

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

