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

export interface DeptOperationParams {
  id: string;
  deptName: string;
  createTime: string;
  tenantCode: string;
  parentId?: string;
  orderNo: number;
  status: number;
  remark: string;
}

export interface DeptOperationApiResult {
  message: string;
  code: number;
}

export interface DeptListItem {
  id: string;
  deptName: string;
  orderNo: number;
  createTime: string;
  parentId?: string;
  remark: string;
  status: number;
  tenantCode: string;
  children?: DeptListItem[];
}

export type DeptListGetResultModel = BasicFetchResult<DeptListItem>;
