1pub(crate) mod factory; 2 3use sofie::prelude::*; 4 5pub(crate) const NAME_TAKEN: &str = "is already a role"; 6 7#[derive(Aggregate)] 8pub struct Role { 9 meta: Meta, 10 name: String, 11} 12 13pub type RoleId = Id<Role>;