Sha256: ca4ca9cbf56b7d9e60e51b04fb5b94e59b7ca4f13164b93d6ff7e31f7e3b2e7a
Contents?: true
Size: 816 Bytes
Versions: 2
Compression:
Stored size: 816 Bytes
Contents
module DmPanlex class Lv include DataMapper::Resource storage_names[:default] = 'lv' property :lv, Integer, :key => true property :lc, String, :length => 3, :required => true, :unique_index => :lv_lc_key property :vc, Integer, :min => -32768, :max => 32767, :required => true, :unique_index => :lv_lc_key property :sy, Boolean, :required => true, :default => true property :am, Boolean, :required => true, :default => true property :tt, Text, :required => true has n, :avs, :model => 'Av', :child_key => :lv, :constraint => :destroy has n, :cps, :model => 'Cp', :child_key => :lv has n, :cus, :model => 'Cu', :child_key => :lv has n, :dfs, :model => 'Df', :child_key => :lv has n, :exs, :model => 'Ex', :child_key => :lv end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.2 | lib/dm_panlex/models/lv.rb |
dm_panlex-0.2.1 | lib/dm_panlex/models/lv.rb |