framework_cqrs_lib/cqrs/infra/daos/
mongo_entity_dao.rs

1
2
3
4
5
use crate::cqrs::infra::daos::dbos::{EntityDBO, EventDBO};
use crate::cqrs::infra::daos::mongo_dao::MongoDAO;

pub type EntityMongoDAO<DATADBO> = MongoDAO<EntityDBO<DATADBO, String>>;
pub type EventMongoDAO<EVENTDBO> = MongoDAO<EventDBO<EVENTDBO, String>>;