Skip to content

Commit

Permalink
Update annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Jan 21, 2020
1 parent 0b99893 commit b8ff9de
Show file tree
Hide file tree
Showing 37 changed files with 321 additions and 6 deletions.
4 changes: 3 additions & 1 deletion app/models/concert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
# Table name: concerts
#
# id :integer not null, primary key
# name :string not null
# name :string(255) not null
# verein_id :integer not null
# mitgliederverband_id :integer
# regionalverband_id :integer
# song_census_id :integer
# performed_at :date
# year :integer not null
# editable :boolean default(TRUE), not null
# created_at :datetime default(Wed, 30 Jan 2019 12:12:24 CET +01:00), not null
# updated_at :datetime default(Wed, 30 Jan 2019 12:12:24 CET +01:00), not null
#

class Concert < ActiveRecord::Base
Expand Down
39 changes: 39 additions & 0 deletions app/models/event/festival.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
# == Schema Information
#
# Table name: events
#
# id :integer not null, primary key
# type :string(255)
# name :string(255) not null
# number :string(255)
# motto :string(255)
# cost :string(255)
# maximum_participants :integer
# contact_id :integer
# description :text(65535)
# location :text(65535)
# application_opening_at :date
# application_closing_at :date
# application_conditions :text(65535)
# kind_id :integer
# state :string(60)
# priorization :boolean default(FALSE), not null
# requires_approval :boolean default(FALSE), not null
# created_at :datetime
# updated_at :datetime
# participant_count :integer default(0)
# application_contact_id :integer
# external_applications :boolean default(FALSE)
# applicant_count :integer default(0)
# teamer_count :integer default(0)
# signature :boolean
# signature_confirmation :boolean
# signature_confirmation_text :string(255)
# creator_id :integer
# updater_id :integer
# applications_cancelable :boolean default(FALSE), not null
# required_contact_attrs :text(65535)
# hidden_contact_attrs :text(65535)
# display_booking_info :boolean default(TRUE), not null
#

# Copyright (c) 2019, Schweizer Blasmusikverband. This file is part of
# hitobito_sbv and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory or at
Expand Down
23 changes: 23 additions & 0 deletions app/models/event/group_participation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
# or later. See the COPYING file at the top-level directory or at
# https://github.com/hitobito/hitobito_sbv.

# == Schema Information
#
# Table name: event_group_participations
#
# id :integer not null, primary key
# primary_state :string(255) not null
# event_id :integer not null
# group_id :integer not null
# music_style :string(255)
# music_type :string(255)
# music_level :string(255)
# created_at :datetime not null
# updated_at :datetime not null
# preferred_play_day_1 :integer
# preferred_play_day_2 :integer
# terms_accepted :boolean default(FALSE), not null
# parade_music :string(255)
# joint_participation :boolean default(FALSE), not null
# secondary_state :string(255) not null
# secondary_group_id :integer
# secondary_group_terms_accepted :boolean default(FALSE), not null
#

class Event::GroupParticipation < ActiveRecord::Base
include ::AASM

Expand Down
40 changes: 40 additions & 0 deletions app/models/group/generalverband.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
# == Schema Information
#
# Table name: groups
#
# id :integer not null, primary key
# parent_id :integer
# lft :integer
# rgt :integer
# name :string(255) not null
# short_name :string(31)
# type :string(255) not null
# email :string(255)
# address :string(1024)
# zip_code :integer
# town :string(255)
# country :string(255)
# contact_id :integer
# created_at :datetime
# updated_at :datetime
# deleted_at :datetime
# layer_group_id :integer
# creator_id :integer
# updater_id :integer
# deleter_id :integer
# require_person_add_requests :boolean default(FALSE), not null
# vereinssitz :string(255)
# founding_year :integer
# correspondence_language :string(5)
# besetzung :string(255)
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

# Copyright (c) 2019, Schweizer Blasmusikverband. This file is part of
# hitobito_sbv and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory or at
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/mitgliederverband.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::Mitgliederverband < ::Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/mitgliederverband_arbeitsgruppe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::MitgliederverbandArbeitsgruppe < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/mitgliederverband_geschaeftsstelle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::MitgliederverbandGeschaeftsstelle < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/mitgliederverband_kontakte.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::MitgliederverbandKontakte < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/mitgliederverband_musikkommission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::MitgliederverbandMusikkommission < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/mitgliederverband_veteranen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::MitgliederverbandVeteranen < ::Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/mitgliederverband_vorstand.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::MitgliederverbandVorstand < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/regionalverband.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::Regionalverband < ::Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/regionalverband_arbeitsgruppe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RegionalverbandArbeitsgruppe < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/regionalverband_geschaeftsstelle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RegionalverbandGeschaeftsstelle < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/regionalverband_kontakte.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RegionalverbandKontakte < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/regionalverband_musikkommission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RegionalverbandMusikkommission < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/regionalverband_vorstand.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RegionalverbandVorstand < Group
Expand Down
7 changes: 6 additions & 1 deletion app/models/group/root.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# hitobito_sbv and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory or at
# https://github.com/hitobito/hitobito_sbv.

# == Schema Information
#
# Table name: groups
Expand Down Expand Up @@ -35,6 +34,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::Root < ::Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/root_arbeitsgruppe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RootArbeitsgruppe < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/root_ehrenmitglieder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RootEhrenmitglieder < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/root_geschaeftsstelle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RootGeschaeftsstelle < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/root_kontakte.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RootKontakte < Group
Expand Down
6 changes: 6 additions & 0 deletions app/models/group/root_musikkommission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
# klasse :string(255)
# unterhaltungsmusik :string(255)
# subventionen :string(255)
# swoffice_id :integer
# secondary_parent_id :integer
# tertiary_parent_id :integer
# description :text(65535)
# logo :string(255)
# hostname :string(255)
#

class Group::RootMusikkommission < Group
Expand Down
Loading

0 comments on commit b8ff9de

Please sign in to comment.