/*
 * Copyright (c) 京北方信息技术股份有限公司 Corporation 2021 . All rights reserved.
 *
 */
package net.northking.cctp.platform.db.impl;

import net.northking.cctp.common.cache.EntityNameCache;
import net.northking.cctp.common.saas.db.TenantEntityService;
import net.northking.cctp.platform.api.user.service.UserApiService;
import net.northking.cctp.platform.db.dao.CpLogDao;
import net.northking.cctp.platform.db.service.CpLogService;
import net.northking.cctp.platform.db.entity.CpLog;

import net.northking.cctp.common.db.BasicDao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.stereotype.Service;


/**
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2021-12-06 14:56:51  <br>
 *
 * @author: maven-cctp-plugin  <br>
 * @since: 1.0 <br>
 */
@Service
@ConditionalOnMissingBean(name = "CpLogServiceImpl")
public class CpLogServiceImpl extends TenantEntityService<CpLog> implements CpLogService {
    private static final Logger logger = LoggerFactory.getLogger(CpLogServiceImpl.class);

    private final CpLogDao cpLogDao;

    @Autowired
    private EntityNameCache entityNameCache;

    @Autowired
    private UserApiService userApiService;

    public CpLogServiceImpl(CpLogDao cpLogDao) {
        this.cpLogDao = cpLogDao;
    }

    public BasicDao<CpLog> getDao() {
        return cpLogDao;
    }

    public CpLog createEntity() {
        return new CpLog();
    }

}

