initial commit

This commit is contained in:
2025-12-07 11:32:45 +01:00
commit c3daed67ac
35 changed files with 1315 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package domain
import "gorm.io/gorm"
type Software struct {
gorm.Model
ID uint `gorm:"primaryKey" json:"id"`
Name string `gorm:"uniqueIndex;size:128" json:"name"`
Title string `gorm:"size:255" json:"title"`
Author string `gorm:"size:255" json:"author"`
Desc string `gorm:"type:text" json:"desc"`
Site string `gorm:"size:255" json:"site"`
License string `gorm:"size:128" json:"license"`
Platform string `gorm:"size:128" json:"license"`
Releases []Release `json:"releases"`
}