Sha256: 9decc66e6fa104f25d2bbaca2d0b2b4ac99ac8fbfa82f9cf97db86398b1a01a8

Contents?: true

Size: 699 Bytes

Versions: 10

Compression:

Stored size: 699 Bytes

Contents

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

10 entries across 10 versions & 1 rubygems

Version Path
jinda-0.4.3 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.2 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.1 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.4.0 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.9 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.8 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.7 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.6 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.5 lib/generators/jinda/templates/app/models/jinda/runseq.rb
jinda-0.3.4 lib/generators/jinda/templates/app/models/jinda/runseq.rb