Skip to content

Commit 4e6672a

Browse files
committed
update README.md
1 parent 99cb1a8 commit 4e6672a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ class ProductCategory extends Model
123123

124124
protected $fillable = ["parent_id", "title", "order"];
125125

126+
protected $casts = [
127+
'parent_id' => 'int'
128+
];
129+
126130
protected $table = 'product_categories';
127131
}
128132
```

0 commit comments

Comments
 (0)