Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Stuff extends Model
- {
- protected $primaryKey = 'stuff_id';
- protected $fillable = ['stuff_id' , 'title' , 'desc'];
- protected $dates = ['deleted_at'];
- }
- class Product extends Stuff
- {
- protected $fillable = ['quantity' , 'picture'];
- }
Add Comment
Please, Sign In to add comment