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

/**
 *  @description: Department info response
 */
export interface DepartmentInfo {
  id?: number;
  createdAt?: number;
  updatedAt?: number;
  trans?: string;
  status?: number;
  sort?: number;
  name?: string;
  ancestors?: string;
  leader?: string;
  phone?: string;
  email?: string;
  remark?: string;
  parentId?: number;
}

/**
 *  @description: Department list response
 */

export type DepartmentListResp = BaseListResp<DepartmentInfo>;
