Update git remote URL from git.threefold.info to git.ourworld.tf

This commit is contained in:
2025-08-04 10:44:17 +02:00
parent 0cf66642a2
commit aa7e79d26c
85 changed files with 1865 additions and 392 deletions

20
specs/modelsold/user.v Normal file
View File

@@ -0,0 +1,20 @@
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
}