Sha256: 9d09168a5a3c4f20f64ce3fc70b7ba093f324985b269f2e6fb3c70e156ec1ad5

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

# frozen_string_literal: true

require_relative 'function'

module Legion
  module Data
    module Model
      class Relationship < Sequel::Model
        many_to_one :chain
        one_to_many :task
        many_to_one :trigger, class: Legion::Data::Model::Function
        many_to_one :action, class: Legion::Data::Model::Function
        many_to_one :user_owner, class: Legion::Data::Model::User
        many_to_one :group_owner, class: Legion::Data::Model::Group
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legion-data-0.2.0 lib/legion/data/models/relationship.rb