client_management/app/models/request_contract.rb

15 lines
570 B
Ruby
Raw Normal View History

2017-03-07 09:37:28 +00:00
class RequestContract
include Mongoid::Document
include Mongoid::Timestamps
field :new_site_cost, type: Integer, :default => 0
field :hosting_with_rulingdigital_cost, type: Integer, :default => 0
field :service_cost, type: Integer, :default => 0
field :option_module_cost, type: Integer, :default => 0
field :customized_module_cost, type: Integer, :default => 0
field :template_cost, type: Integer, :default => 0
field :customized_template_cost, type: Integer, :default => 0
field :rwd_cost, type: Integer, :default => 0
2017-03-07 09:37:28 +00:00
has_one :site_request
end