Sha256: f87f15a593b56ce4d9221dfbea243ff3197a0251a0f6a6e76daa2df7c6554a1a

Contents?: true

Size: 673 Bytes

Versions: 7

Compression:

Stored size: 673 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 & 2 rubygems

Version Path
mindapp2-0.1.1.5 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp2-0.1.1.4 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp2-0.1.1.3 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp2-0.1.1.2 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp2-0.1.1.1 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp2-0.1.0 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb
mindapp-0.0.8 lib/generators/mindapp/templates/app/models/mindapp/runseq.rb