import { Provide } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
import { KycService } from '../../service/kyc';
import { KycEntity } from '../../entity/kyc';

@Provide()
@CoolController({
  api: ['add', 'delete', 'update', 'list', 'info', 'page'],
  entity: KycEntity,
  service: KycService,
  pageQueryOp: {
    keyWordLikeFields: ['code', 'userId', 'mchId', 'customerId'],
  },
})
export class KycController extends BaseController {
 
}
