src/Leevel/Database/Ddd/Repository.php
public function findOrFail(int $id, array $column = ['*']): IEntity
    {
        return $this->entity->findOrFail($id, $column);
    }
public function findOrFail(int $id, array $column = ['*']): IEntity
    {
        return $this->entity->findOrFail($id, $column);
    }
取得一条数据，未找到记录抛出异常.

@param int   $id
@param array $column

@return \Leevel\Database\Ddd\IEntity