backbone-payroll 0.3.47

Payroll: salary structures, payroll runs and computed salary slips over effective-dated statutory tables, plus compensation changes
Documentation
//! Repository implementations
//!
//! Generated by metaphor-schema. Do not edit manually.
//!
//! Uses backbone-orm's `DatabaseOperations<T>` trait.

mod compensation_change_repository;
mod payroll_entry_repository;
mod salary_slip_repository;
mod salary_slip_line_repository;
mod salary_structure_repository;
mod salary_component_repository;

// Custom persistence modules
// <<< CUSTOM
mod statutory_params_repository;
// END CUSTOM

// Re-exports
pub use compensation_change_repository::CompensationChangeRepository;
pub use payroll_entry_repository::PayrollEntryRepository;
pub use salary_slip_repository::SalarySlipRepository;
pub use salary_slip_line_repository::SalarySlipLineRepository;
pub use salary_structure_repository::SalaryStructureRepository;
pub use salary_component_repository::SalaryComponentRepository;

// Re-export backbone-orm types
pub use backbone_orm::repository::{
    DatabaseOperations, PostgresRepository,
    PaginationParams, PaginationInfo, PaginatedResult,
    FilterParams, FilterCondition, SortParams, SortDirection,
};

// Re-export custom persistence types
// <<< CUSTOM
// The hand-written payroll SQL's parameter/projection types (see the five `*_repository` modules, all
// declared `user_owned` in metaphor.codegen.yaml).
pub use payroll_entry_repository::{NewPayrollEntryRow, RunPeriodRow, RunPostingRow, RunStateRow};
pub use salary_component_repository::{ComponentRow, NewComponentRow};
pub use salary_slip_line_repository::{DeductionGroupRow, NewSlipLineRow};
pub use salary_slip_repository::{NewSalarySlipRow, SlipTotalsRow};
pub use salary_structure_repository::NewStructureRow;
pub use statutory_params_repository::StatutoryParamsRepository;
// END CUSTOM