import { Injectable } from '@nestjs/common';
import { VipCategoryEntity } from '../../domain/entities/vip-category.entity';
import { InjectRepository } from '@nestjs/typeorm';
import { VipCategoryModel } from '../models/vip-category.model';
import { CONNECTION_NAME } from 'src/core/strings/constants/base.constants';
import { Repository } from 'typeorm';
import { BaseReadService } from 'src/core/modules/data/service/base-read.service';

@Injectable()
export class VipCategoryReadService extends BaseReadService<VipCategoryEntity> {
  constructor(
    @InjectRepository(VipCategoryModel, CONNECTION_NAME.DEFAULT)
    private repo: Repository<VipCategoryModel>,
  ) {
    super(repo);
  }
}
