package xyz.luxnk.lproject.module;

import org.nutz.dao.Dao;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.lang.random.R;
import xyz.luxnk.lproject.service.EmailService;

public abstract class BaseModule {

    @Inject // 注入同名的一个ioc对象
    protected Dao dao;

    @Inject
    protected EmailService emailService;

    protected byte[] emailKEY = R.sg(24).next().getBytes();

}
