package models import ( "time" "git.zervo.org/zervo/worktime/internal/types" ) type Session struct { Base ProjectID string `gorm:"column:project_id;<-:create;type:uuid" json:"project_id"` State types.SessionState `gorm:"column:state;<-;type:int" json:"state"` Summary string `gorm:"column:summary;<-" json:"summary"` Commits types.StringSlice `gorm:"column:commits;<-;type:json" json:"commits"` FinishedAt time.Time `gorm:"column:finished_at;<-" json:"finished_at"` PauseIDs types.StringSlice `gorm:"column:pause_ids;<-;type:json" json:"pause_ids"` }