azote-backend/models/fileModel.go

11 lines
179 B
Go
Raw Normal View History

2024-01-16 00:36:49 +01:00
package models
import "github.com/google/uuid"
type File struct {
ID uint `gorm:"primaryKey;autoIncrement;"`
FileName string
PostID *uuid.UUID
UserID *uuid.UUID
}