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

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