import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
import { Basedevicesection } from '../entity/basedevicesection';
import { BasedevicesectionService } from '../service/basedevicesection';
import { DataController } from '../../base/controller/dataController';
/**
        * 设备组件
        */
@Provide()
@CoolController({ 
  api: ['add', 'delete', 'update', 'list'],
  entity: Basedevicesection,
  service: BasedevicesectionService,
})
export class BasedevicesectionController extends DataController {
  @Inject()
  basedevicesectionService: BasedevicesectionService;
}