diff --git a/Entities/Category.php b/Entities/Category.php index 423202b..3590447 100755 --- a/Entities/Category.php +++ b/Entities/Category.php @@ -50,4 +50,14 @@ public function fields(Blueprint $table = null): void $this->fields->string('name')->nullable()->html('text'); $this->fields->integer('parent')->default(0)->html('text'); } + + /** + * Define rights for this model. + * + * @return array + */ + public function rights(): array + { + + } } diff --git a/Entities/Product.php b/Entities/Product.php index 116dc85..1a9c4c3 100755 --- a/Entities/Product.php +++ b/Entities/Product.php @@ -89,4 +89,14 @@ public function structure($structure): array return $structure; } + + /** + * Define rights for this model. + * + * @return array + */ + public function rights(): array + { + + } } diff --git a/Entities/Stock.php b/Entities/Stock.php index 60c293a..e0fced6 100755 --- a/Entities/Stock.php +++ b/Entities/Stock.php @@ -64,4 +64,15 @@ public function structure($structure): array return $structure; } + + + /** + * Define rights for this model. + * + * @return array + */ + public function rights(): array + { + + } } diff --git a/Entities/Type.php b/Entities/Type.php index 34aa150..5442909 100755 --- a/Entities/Type.php +++ b/Entities/Type.php @@ -49,4 +49,14 @@ public function fields(Blueprint $table = null): void $this->fields->string('name')->nullable()->html('text'); $this->fields->string('slug')->nullable(); } + + /** + * Define rights for this model. + * + * @return array + */ + public function rights(): array + { + + } }