Skip to content

Training Groups

Training groups provide season-based group training packages with fee management and trainer salary calculation.

Edzéscsomagok → Csoportok (/Club/TrainingGroup)

Training Group Configuration

The TrainingGroupPackage table defines group training packages.

Column Description
Name Display name
Season_ID Associated season
DeafultFeeAmount Default fee amount (note: column name has a typo)
FeeDueDate Date when the fee is due
MaxAttendance Maximum number of participants
SalaryAttendanceType_ID FK to AttendanceType_Enum for salary calculation
Notes Free-text notes

Note

The column DeafultFeeAmount contains a historical typo in the database schema (Deafult instead of Default). This is preserved for backward compatibility.

The demo environment has 1 training group package configured.

User Enrollment

Enrollment is tracked in UserTrainingGroupPackage, linking a user to a training group package.

A unique constraint on (User_ID, TrainingGroupPackage_ID) ensures each user can only be enrolled once per group.

A RecurringReservation can reference a TrainingGroupPackage_ID, binding the reservation schedule to the group. This ensures all group sessions appear on the calendar automatically.

Trainer Salary Calculation

The SalaryAttendanceType_ID column determines which attendance type rate is used when calculating trainer salaries for the group. This references the three standard attendance types:

ID Type
1 Private
2 Semi-private
3 Group

Tip

Set SalaryAttendanceType_ID to 3 (Group) for standard group training. Use 2 (Semi-private) for smaller, premium group sessions where trainers should receive a higher rate.

Credit Integration

TrainingCreditDefinition can link to a TrainingGroupPackage_ID, enabling credit-based attendance tracking for group members.