/**
 * @aurora-catalyst-generated
 * @source cliter/iam/permission-role.aurora.yaml
 */
import { IamPermissionRole } from '@api/graphql';
import { IamPermissionRoleModel } from '@app/iam/permission-role';
import { AuditingRunner, ICriteria, SequelizeCatalystRepository } from '@aurorajs.dev/core-back';
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/sequelize';

@Injectable()
export class IamSequelizePermissionRoleRepository extends SequelizeCatalystRepository<
  IamPermissionRoleModel,
  IamPermissionRole
> {
  constructor(
    @InjectModel(IamPermissionRoleModel)
    public readonly repository: typeof IamPermissionRoleModel,
    public readonly criteria: ICriteria,
    public readonly auditingRunner: AuditingRunner,
  ) {
    super();
  }
}
