import { WebsiteField } from '@/api/cms/website/field/model';
import { Navigation } from '@/api/cms/navigation/model';
import { Link } from '@/api/cms/link/model';
import { ArrangeCategory } from '@/api/cms/category/model';

/**
 * 菜单
 */
export interface Website {
  websiteId?: number;
  websiteName?: string;
  websiteCode?: string;
  websiteIcon?: string;
  websiteLogo?: string;
  websiteDarkLogo?: string;
  keywords?: string;
  address?: string;
  phone?: string;
  email?: string;
  websiteType?: string;
  expirationTime?: string;
  templateId?: string;
  industryParent?: string;
  industryChild?: string;
  companyId?: number;
  domain?: string;
  icpNo?: string;
  policeNo?: string;
  comments?: string;
  sortNumber?: number;
  createTime?: string;
  disabled?: boolean;
  country?: string;
  province?: string;
  recommend?: number;
  city?: string;
  region?: string;
  appId?: number;
  fields?: WebsiteField[];
  status?: number;
  tenantId?: number;
  tenantName?: string;
  navigations?: Navigation[];
  categoryList?: ArrangeCategory[];
  links?: Link[];
  // 配置信息
  config?: any;
}

/**
 * 菜单搜索参数
 */
export interface WebsiteParam {
  title?: string;
  path?: string;
  authority?: string;
  parentId?: number;
}
