import other kontor repos into directories
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type AbstractEntity struct {
|
||||
ID uuid.UUID `gorm:"type:uuid;primary_key" json:"id"`
|
||||
Version uint `json:"version"`
|
||||
CreatedDate time.Time `json:"createdDate"`
|
||||
LastModifiedDate time.Time `json:"lastModifiedDate"`
|
||||
}
|
||||
|
||||
type MediaFile struct {
|
||||
AbstractEntity
|
||||
Url []byte `json:"url"`
|
||||
Review []uint8 `json:"review"`
|
||||
ShouldDownload []uint8 `json:"shouldDownload"`
|
||||
Title []byte `json:"title"`
|
||||
CloudLink string `json:"cloudLink"`
|
||||
FileName string `json:"fileName"`
|
||||
Path string `json:"path"`
|
||||
}
|
||||
Reference in New Issue
Block a user