2014-07-04 06:14:37 +00:00
|
|
|
class ProjectType
|
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
|
|
|
field :title, localize: true
|
2015-12-02 10:29:49 +00:00
|
|
|
field :sort_position, type: Integer, default: 0
|
2014-07-04 06:14:37 +00:00
|
|
|
|
|
|
|
has_many :projects
|
|
|
|
|
|
|
|
end
|