import { Provide } from '@midwayjs/core';
import { CoolController, BaseController } from '@cool-midway/core';
import { ProjectTaskDependencyEntity } from '../../entity/task_dependency';

/**
 * 任务依赖关系
 */
@Provide()
@CoolController({
  api: ['add', 'delete', 'list'],
  entity: ProjectTaskDependencyEntity,
  listQueryOp: {
    fieldEq: ['taskId'],
  },
})
export class AdminProjectTaskDependencyController extends BaseController {}
