Sha256: 0f9b0bf84ca097fb36f876642a4c793cc5dc1a56013e8c2b84da767704d2b726

Contents?: true

Size: 692 Bytes

Versions: 51

Compression:

Stored size: 692 Bytes

Contents

# -*- encoding : utf-8 -*-
class Jinda::Runseq
  include Mongoid::Document
  include Mongoid::Timestamps
  belongs_to :user, :class_name => "User"
  belongs_to :xmain, :class_name => "Jinda::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

51 entries across 48 versions & 4 rubygems

Version Path
jinda-0.8.0 test/dummy/app/models/jinda/runseq.rb
jinda-0.8.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.7.4 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.7.4 test/dummy/app/models/jinda/runseq.rb
jinda-0.7.7.3 test/dummy/app/models/jinda/runseq.rb
jinda-0.7.7.3 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.7.2 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.7.1 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda_mind-1.0.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.7 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.6 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.5.5 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.5.4 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.5.3 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.5.2 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.5.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.3 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.2 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.1 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.7.0.4 lib/generators/jinda/templates/app/models/jinda/runseq.rb