mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Add CollectionResource model and update collection handling methods
This commit is contained in:
9
server/model/collection_resource.go
Normal file
9
server/model/collection_resource.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type CollectionResource struct {
|
||||
CollectionID uint `gorm:"primaryKey"`
|
||||
ResourceID uint `gorm:"primaryKey"`
|
||||
CreatedAt time.Time
|
||||
}
|
Reference in New Issue
Block a user