Add CollectionResource model and update collection handling methods

This commit is contained in:
2025-08-03 13:06:43 +08:00
parent 0c841f2723
commit 0e69d787e3
4 changed files with 33 additions and 26 deletions

View File

@@ -0,0 +1,9 @@
package model
import "time"
type CollectionResource struct {
CollectionID uint `gorm:"primaryKey"`
ResourceID uint `gorm:"primaryKey"`
CreatedAt time.Time
}