<?php
/**
 * @package merchant
 *
 * @author xaboy
 * @day 2020-04-16
 *
 * 
 */

namespace app\common\repositories\merchant\apply;

use app\common\dao\merchant\apply\MerchantIntentionApplyDao;
use app\common\repositories\BaseRepository;

/**
 * Class MerchantIntentionApplyRepository
 * @package app\common\repositories\merchant\apply
 * @author php迷途小书童
 * @created 2021/1/30 17:42
 */
class MerchantIntentionApplyRepository extends BaseRepository
{
    /**
     * MerchantRepository constructor.
     * @param MerchantIntentionApplyDao $dao
     */
    public function __construct(MerchantIntentionApplyDao $dao)
    {
        $this->dao = $dao;
    }
    /**
     * 获取单条信息
     * @return array|\think\Model|null
     * @author php迷途小书童
     * @created 2021/1/16 10:45
     */
    public function getOne($where)
    {
        return ($this->dao->getWhere($where));
    }
}
