π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Ressource model
Smaug#67395ee3a20eb272
diff --git a/backend/models/ressource.model.go b/backend/models/ressource.model.gonew file mode 100644index 00000000..b06fcc7e--- /dev/null+++ b/backend/models/ressource.model.go@@ -0,0 +1,12 @@+package models++type Ressource struct {+ Id int64 `json:"id" form:"id" binding:"omitempty"`+ Filename string `json:"filename" form:"filename" binding:"required,max=50"`+ Filesize int64 `json:"filesize" form:"filesize" binding:"omitempty"`+ Filetype string `json:"filetype" form:"filetype" binding:"omitempty"`+ OriginalPath string `json:"original_path" form:"original_path" binding:"omitempty"`+ TransformedPath string `json:"transformed_path" form:"transformed_path" binding:"omitempty"`+ AuthorId int64 `json:"author_id" form:"author_id" binding:"omitempty"`+ CreatedTimestamp int64 `json:"created_timestamp" form:"created_timestamp" binding:"omitempty"`+}