reactive_graph_std_date_time_model/entity/
utc_timestamp.rs1use crate::NAMESPACE_DATE_TIME;
2use reactive_graph_behaviour_model_api::behaviour_ty;
3use reactive_graph_behaviour_model_api::entity_behaviour_ty;
4use reactive_graph_graph::entity_ty;
5use reactive_graph_reactive_model_api::entity_model;
6use reactive_graph_runtime_model::Action;
7use reactive_graph_std_result_model::ResultNumberU64;
8
9entity_ty!(ENTITY_TYPE_UTC_TIMESTAMP, NAMESPACE_DATE_TIME, ENTITY_TYPE_NAME_UTC_TIMESTAMP, "utc_timestamp");
10behaviour_ty!(BEHAVIOUR_UTC_TIMESTAMP, NAMESPACE_DATE_TIME, BEHAVIOUR_NAME_UTC_TIMESTAMP, "utc_timestamp");
11entity_behaviour_ty!(ENTITY_BEHAVIOUR_UTC_TIMESTAMP, ENTITY_TYPE_UTC_TIMESTAMP, BEHAVIOUR_UTC_TIMESTAMP);
12
13entity_model!(UtcTimestamp);
14impl Action for UtcTimestamp {}
15impl ResultNumberU64 for UtcTimestamp {}