ruwebframe 0.1.8

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation
// pkg rubase::rudto::cfgdto::webdto

/*
	@Title   文件名称: clientdto_init.rs
	@Desp    描述:    依赖自动注入
    @Company 公司:    wcht.akunlong.top
	@Author  作者:    raymond@163.com  时间: 2026-08-17 21:44:02
	@Update  作者:    raymond@163.com  时间: 2026-08-17 21:44:02
*/

// StructInit自动生成,一般不要手动修改

use std::sync::Arc;
use ctor::ctor;
use crate::rubase::rudto::cfgdto::web_dto::ClientDto;
use crate::rudi::dicontainer::direg; 

#[ctor(unsafe)]
pub fn init() {
    register_bean_clientdto();
}

const SINGLE_BEAN_NAME: &str = "*rubase::rudto::cfgdto::webdto:ClientDto:743d4399-2c84-4bb2-9529-3fbc4084f2f4}";

pub fn find_bean_clientdto() -> Option<Arc<ClientDto>> {
    direg::get_bean::<ClientDto>(SINGLE_BEAN_NAME)
}

pub fn register_bean_clientdto() {
    direg::register(SINGLE_BEAN_NAME, ClientDto::default);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\web_dto",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "ClientDto",
  "structPkg": "rubase::rudto::cfgdto::webdto",
  "ifSingle": false,
  "ifDefault": true,
  "structIniFile": "client_dto_init.rs",
  "existIniFile": false,
  "single_bean_name": "*:ClientDto:e63afacf-c679-454c-b16c-b8cf24c9637a",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/