This commit is contained in:
2023-05-14 09:33:41 +08:00
parent acb4839912
commit d328b31210
4 changed files with 34 additions and 4 deletions

View File

@@ -6,7 +6,9 @@ import (
type Session struct {
ID string `json:"id" gorm:"primary_key"`
IP string `json:"ip"`
UserID int `json:"user_id"`
UserAgent string `json:"user_agent"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}