models: generate annotations

This commit is contained in:
Pierre de La Morinerie 2020-08-06 16:35:45 +02:00
parent e6d8581b06
commit 6d28069539
67 changed files with 1038 additions and 0 deletions

View file

@ -1,3 +1,16 @@
# == Schema Information
#
# Table name: deleted_dossiers
#
# id :bigint not null, primary key
# deleted_at :datetime
# reason :string
# state :string
# created_at :datetime not null
# updated_at :datetime not null
# dossier_id :bigint
# procedure_id :bigint
#
class DeletedDossier < ApplicationRecord
belongs_to :procedure, -> { with_discarded }, inverse_of: :deleted_dossiers