first commit

This commit is contained in:
2025-05-10 20:35:16 +03:30
commit 7f567a7adb
9 changed files with 181 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package models
type MediaAttachment struct {
ID string `json:"id" gorm:"primaryKey"`
Type string `json:"type"`
Url string `json:"url"`
PreviewUrl string `json:"preview_url"`
RemoteUrl string `json:"remote_url"`
Approved bool `json:"-"`
PostID string // Foreign key to Post
}