module user import base import freeflowuniverse.herolib.data.ourtime // UserRole represents the possible roles a user can have pub enum UserRole { user admin } // User represents a user in the system pub struct User { base.Base // Base struct for common fields (id u32, creation_time, mod_time, comments []u32) pub mut: name string email string password_hash string // Hashed password role UserRole }