Sha256: 971b397e607cbddf65c029d0b6aa97af7f71047ca763094125aed19be04872c5
Contents?: true
Size: 556 Bytes
Versions: 12
Compression:
Stored size: 556 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 => 'ItemPurchaseSaleDetails' belongs_to :sales_details, :model_name => 'ItemPurchaseSaleDetails' validates_presence_of :code end end end
Version data entries
12 entries across 12 versions & 1 rubygems