feat: add uuid for medias

This commit is contained in:
Rogee
2024-12-04 15:47:48 +08:00
parent 774f8644ab
commit 385c1b1e2f
5 changed files with 14 additions and 3 deletions

View File

@@ -8,11 +8,13 @@
package model
import (
"github.com/google/uuid"
"time"
)
type Medias struct {
ID int64 `sql:"primary_key" json:"id"`
UUID uuid.UUID `json:"uuid"`
TenantID int64 `json:"tenant_id"`
Title string `json:"title"`
Description string `json:"description"`