import { PayTypeEntity } from '../../entity/payType';
import { Provide } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
import { PayTypeService } from '../../service/payType';

@Provide()
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'page', 'list'],
  entity: PayTypeEntity,
  service: PayTypeService,
  pageQueryOp: {
    keyWordLikeFields: ['payType'],
  },
})
export class PayTypeController extends BaseController {}
