import type { PageParam } from '@/api';
import { UserPlanPrice } from '@/api/love/plan-price/model';
import { UserPlanIcon } from '@/api/love/plan-icon/model';

export interface UserPlan {
  planId?: number;
  name?: string;
  type?: number;
  subName?: string;
  roleId?: number;
  roleName?: string;
  gradeId?: number;
  gradeName?: string;
  icon?: string;
  status?: number;
  comments?: string;
  sortNumber?: number;
  userId?: number;
  deleted?: number;
  tenantId?: number;
  createTime?: string;
  updateTime?: string;
  price?: UserPlanPrice[];
  icons?: UserPlanIcon[];
}

/**
 * 搜索条件
 */
export interface UserPlanParam extends PageParam {
  planId?: number;
  type?: number;
  name?: string;
  status?: number;
  keywords?: string;
}
