ask/app/models/ask_category_print_setting.rb

8 lines
217 B
Ruby
Raw Normal View History

2020-07-04 13:36:32 +00:00
class AskCategoryPrintSetting
include Mongoid::Document
include Mongoid::Timestamps
field :print_format, type: String,default: ''
field :save_name, type: String,default: 'ask_{title}'
field :category_id
end