Unidom Inventory 库存领域模型引擎

License Gem Version

Unidom (UNIfied Domain Object Model) is a series of domain model engines. The Inventory domain model engine includes the Serialized Inventory Item, the Grouped Inventory Item, the Lot, and the Inventory Item Variance models. Unidom (统一领域对象模型)是一系列的领域模型引擎。库存领域模型引擎包括序列化库存项、分组库存项、批量和库存项变化的模型。

Recent Update

Check out the Road Map to find out what's the next. Check out the Change Log to find out what's new.

Usage in Gemfile

gem 'unidom-inventory'

Run the Database Migration

rake db:migrate

The migration versions start with 200209.

Call the Model

Unidom::Inventory::SerializedInventoryItem.valid_at.alive.first
Unidom::Inventory::GroupedInventoryItem.valid_at.alive.first