feat(DossierAsignment): create model
This commit is contained in:
parent
f313e4eaed
commit
5f5714678c
5 changed files with 53 additions and 1 deletions
22
app/models/dossier_assignment.rb
Normal file
22
app/models/dossier_assignment.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: dossier_assignments
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# assigned_at :datetime not null
|
||||
# assigned_by :string
|
||||
# groupe_instructeur_label :string
|
||||
# mode :string not null
|
||||
# previous_groupe_instructeur_label :string
|
||||
# dossier_id :bigint not null
|
||||
# groupe_instructeur_id :bigint
|
||||
# previous_groupe_instructeur_id :bigint
|
||||
#
|
||||
class DossierAssignment < ApplicationRecord
|
||||
belongs_to :dossier
|
||||
|
||||
enum mode: {
|
||||
auto: 'auto',
|
||||
manual: 'manual'
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue