backbone-inventory 0.10.1

Inventory: stock ledger of record (SLE) + moving-average valuation; emits COGS/asset AccountingPost (Delivery/Receipt -> GL)
Documentation
//! Validator for PutawayRule entity
//!
//! Generated by metaphor-schema. Do not edit manually.
//!
//! Returns an `EntityValidator<PutawayRule>` pre-loaded with schema-derived
//! field rules. Extend in the `// <<< CUSTOM` zone.

use backbone_core::{EntityValidator, ValidationErrors, ValidationError};
use crate::domain::entity::PutawayRule;

/// Validator type alias for PutawayRule entities.
pub type PutawayRuleValidator = EntityValidator<PutawayRule>;

/// Build a validator for PutawayRule with all schema-defined field rules.
pub fn putaway_rule_validator() -> PutawayRuleValidator {
    EntityValidator::new()
    // <<< CUSTOM RULES
    // END CUSTOM RULES
        // No schema-derived rules — add custom rules above.
}

// <<< CUSTOM
// END CUSTOM