Sha256: e2fc31c1cf2dffb56238f4e5024debd96871e0ebfb8c56690c5ae22a9e60daca
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
# Unidom Shipment 装运领域模型引擎 [![License](https://img.shields.io/badge/license-MIT-green.svg)](http://opensource.org/licenses/MIT) [![Gem Version](https://badge.fury.io/rb/unidom-shipment.svg)](https://badge.fury.io/rb/unidom-shipment) Unidom (UNIfied Domain Object Model) is a series of domain model engines. The Shipment domain model engine includes the Shipment and the Shipment Item. Unidom (统一领域对象模型)是一系列的领域模型引擎。装运领域模型引擎包括装运和装运项的模型。 ## Recent Update Check out the [Road Map](ROADMAP.md) to find out what's the next. Check out the [Change Log](CHANGELOG.md) to find out what's new. ## Usage in Gemfile ```ruby gem 'unidom-shipment' ``` ## Run the Database Migration ```shell rake db:migrate ``` The migration versions start with 200210. ## Call the Model ```ruby shipment = Unidom::Shipment::Shipment.valid_at.alive.first shipment_item = Unidom::Shipment::ShipmentItem.valid_at.alive.first shipment_items = shipment.items ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-shipment-0.1 | README.md |