All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nutz.spring.boot.service.IdBaseService Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
package org.nutz.spring.boot.service;

import org.nutz.dao.Dao;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.service.IdEntityService;
import org.nutz.spring.boot.service.entity.IdEntity;

import jakarta.annotation.Resource;

/**
 * @author kerbores([email protected])
 *
 */
public class IdBaseService extends IdEntityService implements ExtService {

    protected Log logger = Logs.get();

    @Resource(type = Dao.class)
    public void init(Dao dao) {
        super.setDao(dao);
    }

    /**
     * @return
     * @see org.nutz.spring.boot.service.ExtService#getEntityType()
     */
    @Override
    public Class getEntityType() {
        return getEntityClass();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy