Eshop-Laravel/app/sales_role.php

15 lines
259 B
PHP
Raw Normal View History

2019-10-18 09:25:37 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use DB;
class sales_role extends Model
{
static public function getAll(){
$sql = "SELECT * FROM sales_roles";
$sales_role = DB::select($sql,[] );
return $sales_role;
}
}