Add Session struct

This commit is contained in:
qowevisa 2024-11-06 19:44:52 +02:00
parent a45423b5e2
commit 08a409caaf

View File

@ -74,3 +74,8 @@ type DbPayment struct {
Note string `json:"not" example:"I'm a teapot"` Note string `json:"not" example:"I'm a teapot"`
Date time.Time `json:"date" example:"29/11/2001 12:00"` Date time.Time `json:"date" example:"29/11/2001 12:00"`
} }
type Session struct {
ID string `json:"id"`
UserID uint `json:"user_id" example:"1"`
}