pub mod application;
pub mod interview;
pub mod offer;
pub mod talent;
pub mod talent_pool;
use crate::core::config::Config;
use application::ApplicationService;
use interview::InterviewService;
use offer::OfferService;
use talent::TalentService;
use talent_pool::TalentPoolService;
pub struct CandidateManagementService {
pub talent_pool: TalentPoolService,
pub talent: TalentService,
pub application: ApplicationService,
pub interview: InterviewService,
pub offer: OfferService,
}
impl CandidateManagementService {
pub fn new(config: Config) -> Self {
Self {
talent_pool: TalentPoolService::new(config.clone()),
talent: TalentService::new(config.clone()),
application: ApplicationService::new(config.clone()),
interview: InterviewService::new(config.clone()),
offer: OfferService::new(config),
}
}
}