backbone-pos 0.7.0

Point of sale — cashier session, ticket + multi-tender; orchestrates billing (revenue) + payment (settlement), posts no GL directly
Documentation
//! Domain events for PosFloorPlan entity
//!
//! Generated by metaphor-schema. Do not edit manually.

use backbone_messaging::CrudEvent;
use crate::domain::entity::PosFloorPlan;

/// Domain events for PosFloorPlan — type alias over the generic CrudEvent.
///
/// To add entity-specific events, replace this alias with a wrapper
/// enum containing a `Crud(CrudEvent<PosFloorPlan>)` variant.
pub type PosFloorPlanEvent = CrudEvent<PosFloorPlan>;

// <<< CUSTOM
// END CUSTOM

use backbone_messaging::{CrudEventPublisher, NoOpCrudEventPublisher};
use std::sync::Arc;

/// Publisher alias for PosFloorPlan events.
pub type PosFloorPlanEventPublisher = Arc<dyn CrudEventPublisher<PosFloorPlan> + Send + Sync>;

/// No-op publisher — discards events silently (useful in tests).
pub type NoopPosFloorPlanEventPublisher = NoOpCrudEventPublisher<PosFloorPlan>;