Sha256: f4955b854576044b20b71645b0ebada71be07d384736f4cf14841ad1b3944575
Contents?: true
Size: 546 Bytes
Versions: 37
Compression:
Stored size: 546 Bytes
Contents
module Xeroizer module Record class ItemModel < BaseModel set_permissions :read, :write, :update end class Item < Base set_primary_key :item_id set_possible_primary_keys :item_id, :code guid :item_id string :code string :description belongs_to :purchase_details, :model_name => 'ItemPurchaseDetails' belongs_to :sales_details, :model_name => 'ItemSalesDetails' validates_presence_of :code end end end
Version data entries
37 entries across 37 versions & 2 rubygems