package domain

import "time"

type Account struct {
	ID           int       `json:"id"`
	Created      time.Time `json:"created"`
	Verified     time.Time `json:"verified,omitempty"`
	Email        string    `json:"email"`
	PasswordHash string    `json:"password_hash,omitempty"`
	Role         string    `json:"role"`
	Enabled      bool      `json:"enabled"`
}

type Session struct {
	ID        int
	AccountID int
	Created   time.Time
}
