1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-backoffice-v2-api/pkg/training/training.go
2024-05-04 18:21:45 +02:00

20 lines
270 B
Go

package training
import (
"github.com/google/uuid"
)
type ID uuid.UUID
func NewID() ID {
id := uuid.Must(uuid.NewV7())
return ID(id)
}
type Training struct {
ID ID
Days int8
Name string
Description string
Price []TrainingPrice
}