package files

import "github.com/jinzhu/gorm"

const (
	filetype_text = iota
	filetype_image = iota
	filetype_video = iota
	filetype_audio = iota

)

type File struct {
	gorm.Model

	Storage Storage
	StorageID uint

	RelativePath string
	FileType int
}

type Storage struct {
	gorm.Model

	AbsolutePath string
}

// TODO storage