Sha256: c7a715ddd68e930625be45550efe1dde5fb9fb92fea5bb25ef32de98abdc6cfc

Contents?: true

Size: 261 Bytes

Versions: 4

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

class Account::Member < ActiveRecord::Base
  self.table_name = "account_members"

  enum role: {owner: 0, admin: 1, contributor: 2}

  belongs_to :user, inverse_of: :memberships
  belongs_to :account, inverse_of: :memberships
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solid-process-0.4.0 examples/business_processes/app/models/account/member.rb
solid-process-0.3.0 examples/business_processes/app/models/account/member.rb
solid-process-0.2.0 examples/business_processes/app/models/account/member.rb
solid-process-0.1.0 examples/business_processes/app/models/account/member.rb