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

import net.northking.cctp.common.db.BasicDao;
import net.northking.cctp.common.db.entity.EntityService;
import net.northking.cctp.saas.db.dao.SaasTenantDao;
import net.northking.cctp.saas.db.entity.SaasTenant;
import net.northking.cctp.saas.db.service.SaasTenantService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.stereotype.Service;


/**
 * 租户
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2021-03-16 10:16:38  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Service
@ConditionalOnMissingBean(name = "SaaSTenantServiceImpl")
public class SaasTenantServiceImpl extends EntityService<SaasTenant> implements SaasTenantService
{
private static final Logger logger = LoggerFactory.getLogger(SaasTenantServiceImpl.class);

  private final SaasTenantDao saasTenantDao;

  public SaasTenantServiceImpl(SaasTenantDao saasTenantDao) {this.saasTenantDao = saasTenantDao;}

  public BasicDao<SaasTenant> getDao() {return saasTenantDao;}

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

}

