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.5.3 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.5.2 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.5.1 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.5.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.9 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.8 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.7 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.6 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-5-0.4.5 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.5 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.4 lib/generators/jinda/templates/app/models/jinda/runseq.rb