Sha256: 6a91e0ad1004d98c571049724a30326ef3367c8d2b76865e71336aac14c3f41d

Contents?: true

Size: 669 Bytes

Versions: 7

Compression:

Stored size: 669 Bytes

Contents

# -*- encoding : utf-8 -*-
class Mindapp::Runseq
  include Mongoid::Document
  include Mongoid::Timestamps
  belongs_to :user
  belongs_to :xmain, :class_name => "Mindapp::Xmain"

  field :action, :type => String
  field :status, :type => String
  field :code, :type => String
  field :name, :type => String
  field :role, :type => String
  field :rule, :type => String
  field :rstep, :type => Integer
  field :form_step, :type => Integer
  field :start, :type => DateTime
  field :stop, :type => DateTime
  field :end, :type => Boolean
  field :xml, :type => String
  field :ip, :type => String

  scope :form_action, where(:action.in=> ['form','output','pdf'])

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mindapp-0.0.7 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp-0.0.6 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp-0.0.5 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp-0.0.4 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp-0.0.3 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp-0.0.2 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp-0.0.1 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb