Sha256: dac5d15e38668ea55ff24494168501d6a5cd1995cac9378c42099574a6ad6d4c

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

module Ixtlan
  module Models
    class GroupLocaleUser

      include DataMapper::Resource
      
      def self.default_storage_name
        "GroupLocaleUser"
      end

      property :group_id, Integer, :key => true
      
      property :user_id, Integer, :key => true
      
      property :locale_code, String, :key => true

      belongs_to :group, :model => Models::GROUP
      belongs_to :user, :model => Models::USER
      belongs_to :locale, :model => Models::LOCALE
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ixtlan-0.2.4 lib/ixtlan/models/group_locale_user.rb
ixtlan-0.2.3 lib/ixtlan/models/group_locale_user.rb
ixtlan-0.2.2 lib/ixtlan/models/group_locale_user.rb
ixtlan-0.2.1 lib/ixtlan/models/group_locale_user.rb
ixtlan-0.2.0 lib/ixtlan/models/group_locale_user.rb