mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 23:53:07 +01:00
Refactor some reflection
This commit is contained in:
20 files changed
+287
-300
No files matched your search
@@ -2,7 +2,7 @@ package stream
|
||||
|
||||
import (
|
||||
"npm/internal/database"
|
||||
"npm/internal/entity"
|
||||
"npm/internal/model"
|
||||
"npm/internal/types"
|
||||
|
||||
"github.com/rotisserie/eris"
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
// Model is the model
|
||||
type Model struct {
|
||||
entity.ModelBase
|
||||
model.ModelBase
|
||||
ExpiresOn types.DBDate `json:"expires_on" gorm:"column:expires_on" filter:"expires_on,integer"`
|
||||
UserID uint `json:"user_id" gorm:"column:user_id" filter:"user_id,integer"`
|
||||
Provider string `json:"provider" gorm:"column:provider" filter:"provider,string"`
|
||||
|
||||
Reference in new issue
Block a user