import { CoolController } from '@cool-midway/core';
import { NotificationMessageLogEntity } from '../../entity/log';

@CoolController({
  api: ['info', 'list', 'page'],
  entity: NotificationMessageLogEntity,
  pageQueryOp: {
    keyWordLikeFields: [
      'a.requestId',
      'a.receiveId',
      'a.bizUserId',
      'a.externalMessageId',
      'a.message',
    ],
    fieldEq: ['a.platform', 'a.status', 'a.sourceType'],
  },
})
export class AdminNotificationLogController {}
