This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
otter-space-sdk/pkg/models/userFavorite.go
SoXX 47fda2994b
All checks were successful
Gitea Build Check / Build (push) Successful in 11m38s
Gitea Build Check / Build (pull_request) Successful in 11m37s
fix: fixed issues in PR
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-07-01 21:38:09 +02:00

14 lines
227 B
Go

package models
import "time"
type UserFavorites struct {
UserID string `gorm:"primaryKey"`
PostID string `gorm:"primaryKey"`
CreatedAt time.Time
}
func (UserFavorites) TableName() string {
return "UserFavorites"
}