Files
LazyPM/internal/models/statistics.go
Robin Olsen a3a1d71325 first commit
2026-01-31 16:00:23 +01:00

25 lines
486 B
Go

package models
import (
"time"
"github.com/google/uuid"
)
type InterfaceType string
const (
InterfaceTypeCLI InterfaceType = "CLI"
InterfaceTypeWeb InterfaceType = "Web"
)
type Statistics struct {
ID uuid.UUID `json:"id"`
StartTime time.Time `json:"start_time"`
EndTime time.Time `json:"end_time"`
Duration time.Duration `json:"duration"`
InterfaceType InterfaceType `json:"interface_type"`
TasksCompleted int `json:"tasks_completed"`
}