ResendExpress.php 752 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * Author: 芸众商城 www.yunzshop.com
  5. * Date: 2017/3/23
  6. * Time: 上午10:49
  7. */
  8. namespace app\common\models\refund;
  9. use app\common\models\BaseModel;
  10. /**
  11. * Class ResendExpress
  12. * @package app\common\models\refund
  13. */
  14. class ResendExpress extends BaseModel
  15. {
  16. public $table = 'yz_resend_express';
  17. protected $fillable = [];
  18. protected $guarded = ['id'];
  19. protected $attributes = [
  20. 'pack_goods' => [],
  21. ];
  22. protected $casts = [
  23. 'pack_goods' => 'json',
  24. ];
  25. // /**
  26. // * @return \Illuminate\Database\Eloquent\Relations\HasMany
  27. // */
  28. // public function packageGoods()
  29. // {
  30. // return $this->hasMany(RefundGoodsLog::class, 'resend_id', 'id');
  31. // }
  32. }