crud menu
This commit is contained in:
1 parent
5b4676a4c0
commit
c325b156bd
28 files changed
+442
-132
No files matched your search
@@ -53,7 +53,6 @@ class FormModel
|
||||
}
|
||||
|
||||
return false;
|
||||
//return $this->validator->validate($this->data, $this->rules());
|
||||
}
|
||||
|
||||
public function getErrors(): array
|
||||
|
||||
@@ -5,6 +5,17 @@ namespace kernel\models;
|
||||
use app\helpers\Debug;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int parent_id
|
||||
* @property string icon_file
|
||||
* @property string icon_font
|
||||
* @property string label
|
||||
* @property string url
|
||||
* @property int status
|
||||
* @method static find($id)
|
||||
*/
|
||||
|
||||
class Menu extends Model
|
||||
{
|
||||
protected $table = 'menu';
|
||||
|
||||
Reference in new issue
Block a user