public function first(array $conditions = [])
{
if (empty($conditions)) {
$query = $this->select()->limit(1);
} else {
$query = $this->where($conditions)->limit(1);
}
$collection = $query->execute();
if ($collection) {
return $collection->first();
} else {
return false;
}
}