家政小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class OptionOrder extends Order
  5. {
  6. function __construct() {
  7. parent::__construct("option_order");
  8. $fillable = [
  9. 'options',
  10. 'remark', // 商家备注
  11. ];
  12. parent::mergeFillable(parent::getFillable(), $fillable);
  13. }
  14. /**
  15. * 获取评论
  16. */
  17. public function comments()
  18. {
  19. return $this->hasMany('App\Comment');
  20. }
  21. }