2019-08-19 16:12:30 +02:00
|
|
|
class GroupeInstructeur < ApplicationRecord
|
2019-08-27 15:28:02 +02:00
|
|
|
DEFAULT_LABEL = 'défaut'
|
2019-08-19 16:12:30 +02:00
|
|
|
belongs_to :procedure
|
2019-08-20 16:47:41 +02:00
|
|
|
has_many :assign_tos
|
2019-09-09 15:40:45 +02:00
|
|
|
has_many :instructeurs, through: :assign_tos, dependent: :destroy
|
2019-08-22 17:58:31 +02:00
|
|
|
has_many :dossiers
|
2019-08-19 16:12:30 +02:00
|
|
|
end
|