Sha256: 379713376a117ab82ce28f26c67b43ea9dfdc07f8d3350d4cb6fa2e9d82caa9f
Contents?: true
Size: 452 Bytes
Versions: 2
Compression:
Stored size: 452 Bytes
Contents
module DmPanlex class Dn include DataMapper::Resource storage_names[:default] = 'dn' property :dn, Integer, :key => true property :mn, Integer, :required => true, :unique_index => :dm_mn_ex_key, :index => true property :ex, Integer, :required => true, :unique_index => :dm_mn_ex_key, :index => true has n, :mds, :model => 'Md', :child_key => :dn has n, :wcs, :model => 'Wc', :child_key => :dn end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.2 | lib/dm_panlex/models/dn.rb |
dm_panlex-0.2.1 | lib/dm_panlex/models/dn.rb |