feat: add bylaw management features including documents, legal authorities, subject categories, and nodes
This commit is contained in:
@@ -9,7 +9,7 @@ class Chapter extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = ['title', 'number', 'section_id', 'book_id', 'volum_id', 'law_id','division_id'];
|
||||
protected $fillable = ['title', 'number', 'section_id', 'book_id', 'volum_id', 'law_id', 'division_id'];
|
||||
|
||||
protected $hidden = ['created_at', 'updated_at'];
|
||||
|
||||
@@ -28,7 +28,6 @@ class Chapter extends Model
|
||||
return $this->hasMany(Gate::class);
|
||||
}
|
||||
|
||||
|
||||
public function branch()
|
||||
{
|
||||
return $this->hasMany(Branch::class);
|
||||
|
||||
Reference in New Issue
Block a user