model spec
This commit is contained in:
19
specs/models/biz/user.v
Normal file
19
specs/models/biz/user.v
Normal file
@@ -0,0 +1,19 @@
|
||||
module biz
|
||||
import base
|
||||
|
||||
import freeflowuniverse.herolib.data.ourtime
|
||||
|
||||
|
||||
// User represents a user in the Freezone Manager system
|
||||
pub struct User {
|
||||
base.Base // Base struct for common fields
|
||||
pub mut:
|
||||
id u32
|
||||
name string
|
||||
email string
|
||||
password string
|
||||
company string // here its just a best effort
|
||||
role string
|
||||
created_at ourtime.OurTime
|
||||
updated_at ourtime.OurTime
|
||||
}
|
Reference in New Issue
Block a user