diff --git a/01.workspace/heave/src/str/entity_state.rs b/01.workspace/heave/src/str/entity_state.rs index f620dfd..dfa168d 100644 --- a/01.workspace/heave/src/str/entity_state.rs +++ b/01.workspace/heave/src/str/entity_state.rs @@ -1,8 +1,13 @@ +/// Represents the state of an entity within the catalog. #[derive(Debug, Default, PartialEq, PartialOrd, Eq, Ord, Clone, Copy, Hash)] pub enum E { + /// The entity is newly created and has not been persisted. #[default] New, + /// The state of the entity is unknown. Unknown, + /// The entity has been loaded from the database. Loaded, + /// The entity is marked for deletion. ToDelete, -} +} \ No newline at end of file