...
This commit is contained in:
24
specs/models_old/gov/committee.v
Normal file
24
specs/models_old/gov/committee.v
Normal file
@@ -0,0 +1,24 @@
|
||||
module gov
|
||||
|
||||
import freeflowuniverse.herolib.hero.models.core
|
||||
|
||||
// CommitteeMember represents a member of a committee
|
||||
pub struct CommitteeMember {
|
||||
core.Base
|
||||
pub mut:
|
||||
user_id u32
|
||||
name string
|
||||
role CommitteeRole
|
||||
joined_date u64 // Unix timestamp
|
||||
notes string
|
||||
}
|
||||
|
||||
// Committee represents a committee in the governance system
|
||||
pub struct Committee {
|
||||
core.Base
|
||||
pub mut:
|
||||
company_id u32 @[index]
|
||||
name string @[index]
|
||||
description string
|
||||
members []CommitteeMember
|
||||
}
|
Reference in New Issue
Block a user