declare namespace API.ClassifyJobs {
  export interface Result {
    total: number;
    rows: Jobs[];
    code: number;
    msg: string;
  }

  export interface Jobs {
    createTime?: string;
    jobId: number;
    parentId: number;
    jobName: string;
    orderNum: number;
    status: string;
    children?:Jobs[];
    depth?: number;
    parentName?: string;
  }
  export interface JobTreeNode extends Jobs {
    children: JobTreeNode[]; 
    depth: number;
  }

  export interface Params {
    jobId?: number;
    parentId?: number;
    jobName?: string;
    orderNum?: number;
    status?: string;
    tree?:boolean;
  }
}
