// 管理员表单项类型
export interface AdminFormItem {
  id?: number;
  username: string;
  password?: string;
  realName: string;
  phone: string;
  email?: string;
  avatar?: string;
  roleIds: string;
  roleName?: string;
  status: number;
  remark?: string;
  createTime?: string;
  updateTime?: string;
}

// 表单Props类型
export interface AdminFormProps {
  formInline: AdminFormItem;
}

// 搜索表单类型
export interface AdminSearchForm {
  username: string;
  phone: string;
  roleIds: string;
  status: number | string;
}

// 角色选项类型
export interface RoleOption {
  id: number;
  name: string;
  code: string;
}
