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 type ConfigPageParams = BasicPageParams & {
  status: number;
  organizationId: string;
  name: string;
  orderFiled: string;
  orderType: string;
};

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

export interface ContactParams {
  alarmContactId: string;
  messageMode: string;
  name: string;
  organizationId: string;
  remark?: string;
}

export type ContactInfo = ContactParams;
