azote-backend/models/fileModel.go
2024-01-16 00:36:49 +01:00

10 lines
179 B
Go

package models
import "github.com/google/uuid"
type File struct {
ID uint `gorm:"primaryKey;autoIncrement;"`
FileName string
PostID *uuid.UUID
UserID *uuid.UUID
}