import { BasicPageParams } from '/@/api/model/baseModel';

interface ContactItemsModal {
  id: string;
  createTime: string;
  enabled: boolean;
  username: string;
  department: string;
  phone: string;
}
export type ContactPageParams = BasicPageParams & { username: string; organizationId: string };

export interface ContactModal {
  items: ContactItemsModal[];
  total: number;
}

export interface ContactParams {
  phone: string;
  username: string;
  department?: string;
  email?: string;
  wechat?: string;
  addPeople?: string;
  remark?: string;
}

export type ContactInfo = ContactParams;
