pub mod tenant;
pub mod tenant_product_assign_info;
use crate::core::config::Config;
pub struct V2 {
pub tenant: tenant::TenantService,
pub tenant_product_assign_info: tenant_product_assign_info::TenantProductAssignInfoService,
}
impl V2 {
pub fn new(config: Config) -> Self {
Self {
tenant: tenant::TenantService::new(config.clone()),
tenant_product_assign_info:
tenant_product_assign_info::TenantProductAssignInfoService::new(config),
}
}
}