azote-backend/models/fileModel.go

10 lines
201 B
Go

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