backbone-accounting 0.9.27

GL, journals, ledger, reconciliation (extracted from bersihir)
Documentation
//! Use case type aliases for FinancialStatement 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::{CreateFinancialStatementDto, UpdateFinancialStatementDto};
use crate::application::service::FinancialStatementService;
use crate::domain::entity::FinancialStatement;

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

pub type CreateFinancialStatementUseCase = CreateUseCase<FinancialStatement, CreateFinancialStatementDto, FinancialStatementService>;
pub type UpdateFinancialStatementUseCase = UpdateUseCase<FinancialStatement, UpdateFinancialStatementDto, FinancialStatementService>;
pub type GetFinancialStatementUseCase    = GetUseCase<FinancialStatement, FinancialStatementService>;
pub type DeleteFinancialStatementUseCase = DeleteUseCase<FinancialStatement, FinancialStatementService>;
pub type ListFinancialStatementUseCase   = ListUseCase<FinancialStatement, FinancialStatementService>;

// <<< CUSTOM
// END CUSTOM