16 lines
494 B
Go
16 lines
494 B
Go
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"`
|
|
}
|