Sha256: 6b17be5dc59afd89f9053332f8658647365e3d93bf93a4ef4cc4935e1bc9b02f

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

class Item < ActiveRecord::Base
  set_table_name  :item
  set_primary_key :itemid

  # Relationships
  

  # Constraints
  validates_numericality_of :totalscore, :numberofvotes, :disabled
  validates_presence_of :productid, :name, :description, :price, :address_addressid, :contactinfo_contactinfoid, :totalscore, :numberofvotes, :disabled
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
legacy_data-0.2.1 examples/generated/j2ee_petstore_mysql/item.rb
legacy_data-0.2.0 examples/generated/j2ee_petstore_mysql/item.rb
legacy_data-0.1.12 examples/generated/j2ee_petstore_mysql/item.rb
legacy_data-0.1.11 examples/generated/j2ee_petstore_mysql/item.rb
legacy_data-0.1.10 examples/generated/j2ee_petstore_mysql/item.rb