Initial commit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christoph K.
2026-03-21 15:03:55 +01:00
commit dfd66e43c6
78 changed files with 6219 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package model
import "time"
// Session repräsentiert eine Trainingseinheit.
type Session struct {
ID int64 `json:"id"`
SetID int64 `json:"set_id"`
SetName string `json:"set_name"`
StartedAt time.Time `json:"started_at"`
EndedAt *time.Time `json:"ended_at,omitempty"`
Note string `json:"note"`
Logs []SessionLog `json:"logs,omitempty"`
}
// CreateSessionRequest enthält die Felder zum Starten einer Session.
type CreateSessionRequest struct {
SetID int64 `json:"set_id"`
}