package models

import "time"

type User struct {
	ID          string     `json:"_id"`
	Login       string     `json:"login"`
	Email       string     `json:"email"`
	PhoneNumber string     `json:"phoneNumber"`
	IsDeleted   bool       `json:"isDeleted"`
	CreatedAt   time.Time  `json:"createdAt"`
	UpdatedAt   time.Time  `json:"updatedAt"`
	DeletedAt   *time.Time `json:"deletedAt,omitempty"`
}

const AuthJWTDecodedUserIDKey = "userID"
const AuthJWTDecodedAccessTokenKey = "access-token"
