Sha256: 03151d664a4f4d16c93fb605267d7eef52b3351cd324537f478c6e42f7f47508

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 Bytes

Contents

module DmPanlex
   class Us
      include DataMapper::Resource

      storage_names[:default] = 'us'

      property :us, Integer, :key => true
      property :dt, Date, :field => 'dt', :required => true
      property :nm, Text
      property :al, Text, :required => true, :unique_index => true
      property :sm, Text
      property :ht, Text
      property :ok, Boolean, :required => true, :default => false
      property :ad, Boolean, :required => true, :default => false
   end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dm_panlex-0.2.2 lib/dm_panlex/models/us.rb
dm_panlex-0.2.1 lib/dm_panlex/models/us.rb
dm_panlex-0.2.0 lib/dm_panlex/models/us.rb