package model

import java.time.Instant

/** User domain model
  *
  * Represents a registered user in the system. Maps to the summer_users table.
  *
  * @param id
  *   Auto-generated primary key
  * @param email
  *   Unique email address, used for login
  * @param passwordHash
  *   Bcrypt-hashed password (never store plain text)
  * @param createdAt
  *   Timestamp when user was created
  * @param updatedAt
  *   Timestamp of last update
  */
case class User(
    id: Long,
    email: String,
    passwordHash: String,
    createdAt: Instant,
    updatedAt: Instant
)
