1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/models/plan_category.rb

11 lines
251 B
Ruby
Raw Normal View History

2021-06-08 16:32:19 +02:00
# frozen_string_literal: true
# Allows to sort plans into categories. Plans are sorted by multiple criterion,
# ordered as follow:
# - group
# - plan_category
# - plan
class PlanCategory < ApplicationRecord
has_many :plans, dependent: :nullify
2021-06-08 16:32:19 +02:00
end