demarches-normaliennes/app/models/dossier_operation_log.rb
2019-02-14 18:09:08 +01:00

14 lines
386 B
Ruby

class DossierOperationLog < ApplicationRecord
enum operation: {
passer_en_instruction: 'passer_en_instruction',
repasser_en_construction: 'repasser_en_construction',
accepter: 'accepter',
refuser: 'refuser',
classer_sans_suite: 'classer_sans_suite',
supprimer: 'supprimer'
}
belongs_to :dossier
belongs_to :gestionnaire
belongs_to :administration
end