public static function findByColumn($column, $value)
{
$class = get_called_class();
$sql = 'SELECT * FROM ' . static::$table . ' WHERE ' . $column . '=' . ':value';
$db = new db();
$db->setClassName($class);
return $db->query($sql, [':value' => $value]);
}