Sha256: 9ea2e11c2803d93df20d603fd11a2f8edbb04282b070b0dbddf035155357c153

Contents?: true

Size: 669 Bytes

Versions: 23

Compression:

Stored size: 669 Bytes

Contents

# -*- encoding : utf-8 -*-
class Jinda::Runseq
  include Mongoid::Document
  include Mongoid::Timestamps
  belongs_to :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

23 entries across 23 versions & 1 rubygems

Version Path
jinda-0.3.3 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.2 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.1 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.9 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.8 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.7 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.6 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.5 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.4 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.3 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.2 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.1 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.2.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.1.9 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.1.8 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.1.7 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.1.6.6 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.1.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.0.9 lib/generators/jinda/templates/app/models/jinda/runseq.rb