import { Injectable } from '@nestjs/common';
import { BaseDataService } from 'src/core/modules/data/service/base-data.service';
import { DataSchedulingEntity } from '../../domain/entities/data-scheduling.entity';
import { InjectRepository } from '@nestjs/typeorm';
import { DataSchedulingModel } from '../models/data-scheduling.model';
import { CONNECTION_NAME } from 'src/core/strings/constants/base.constants';
import { Repository } from 'typeorm';

@Injectable()
export class DataSchedulingDataService extends BaseDataService<DataSchedulingEntity> {
  constructor(
    @InjectRepository(DataSchedulingModel, CONNECTION_NAME.DEFAULT)
    private repo: Repository<DataSchedulingModel>,
  ) {
    super(repo);
  }
}
