backbone-accounting 0.9.27

GL, journals, ledger, reconciliation (extracted from bersihir)
Documentation
//! Use case type aliases for CostCenter aggregate
//!
//! Generated by metaphor-schema. Do not edit manually.
//!
//! Each alias delegates to the matching generic use case in backbone-core.
//! Custom pre/post hooks go in `UseCaseHooks` implementations (// <<< CUSTOM).

use backbone_core::{
    CreateUseCase, UpdateUseCase, GetUseCase, DeleteUseCase, ListUseCase,
};

use crate::presentation::dto::{CreateCostCenterDto, UpdateCostCenterDto};
use crate::application::service::CostCenterService;
use crate::domain::entity::CostCenter;

// ─── Use case type aliases ───────────────────────────────────────────────────

pub type CreateCostCenterUseCase = CreateUseCase<CostCenter, CreateCostCenterDto, CostCenterService>;
pub type UpdateCostCenterUseCase = UpdateUseCase<CostCenter, UpdateCostCenterDto, CostCenterService>;
pub type GetCostCenterUseCase    = GetUseCase<CostCenter, CostCenterService>;
pub type DeleteCostCenterUseCase = DeleteUseCase<CostCenter, CostCenterService>;
pub type ListCostCenterUseCase   = ListUseCase<CostCenter, CostCenterService>;

// <<< CUSTOM
// END CUSTOM