2023-05-08 15:53:06 +02:00
|
|
|
package model
|
|
|
|
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
|
|
|
|
type Status string
|
|
|
|
|
|
|
|
const (
|
2023-05-13 12:53:37 +02:00
|
|
|
StatusNew Status = "new"
|
|
|
|
StatusHasMetadata Status = "has_metadata"
|
|
|
|
StatusHasSummary Status = "has_summary"
|
|
|
|
StatusReady Status = "ready"
|
2023-05-08 15:53:06 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
type Video struct {
|
|
|
|
ID uuid.UUID
|
|
|
|
Status Status
|
2023-05-10 16:28:45 +02:00
|
|
|
YoutubeID string
|
|
|
|
FeedID uuid.UUID
|
2023-05-08 15:53:06 +02:00
|
|
|
Title string
|
|
|
|
Description string
|
|
|
|
Summary string
|
|
|
|
}
|