Login History (#2)
Go Release / build-and-release (push) Successful in 6s
Go CI / Test and Lint (push) Successful in 12s

Reviewed-on: phoenix/textsender-models#2
This commit was merged in pull request #2.
This commit is contained in:
2026-05-26 22:08:05 -04:00
parent f7baac328a
commit 5b36e5c42e
2 changed files with 19 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
package user
import (
"github.com/google/uuid"
"time"
)
type UserLoginHistory struct {
Id uuid.UUID `json:"id"`
LoginTime time.Time `json:"login_time"`
UserId uuid.UUID `json:"user_id"`
}
type ServiceUserLoginHistory struct {
Id uuid.UUID `json:"id"`
LoginTime time.Time `json:"login_time"`
ServiceUserId uuid.UUID `json:"service_user_id"`
}