Login History (#2)
Reviewed-on: http://git.kundeng.us/phoenix/textsender-models/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
1 parent
f7baac328a
commit
5b36e5c42e
2 files changed
+19
-1
No files matched your search
@@ -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"`
|
||||
}
|
||||
Reference in new issue
Block a user