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

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