Initial commit: Custom Start Page application with authentication and DynamoDB storage
This commit is contained in:
15
internal/models/user.go
Normal file
15
internal/models/user.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// User represents a user in the system
|
||||
type User struct {
|
||||
ID string `dynamodbav:"user_id" json:"id"`
|
||||
Email string `dynamodbav:"email" json:"email"`
|
||||
OAuthProvider string `dynamodbav:"oauth_provider" json:"oauth_provider"`
|
||||
OAuthID string `dynamodbav:"oauth_id" json:"oauth_id"`
|
||||
CreatedAt time.Time `dynamodbav:"created_at" json:"created_at"`
|
||||
UpdatedAt time.Time `dynamodbav:"updated_at" json:"updated_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user