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

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