ask/app/models/ask_category_print_setting.rb

8 lines
217 B
Ruby

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