import { CurrencyEntity } from '../../entity/currency';
import { Provide } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
import { CurrencyService } from '../../service/currency';

@Provide()
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'page', 'list'],
  entity: CurrencyEntity,
  service: CurrencyService,
  pageQueryOp: {
    keyWordLikeFields: ['currency'],
  },
})
export class CurrencyController extends BaseController {}
