Refund.php 439 B

123456789101112131415161718192021
  1. <?php
  2. namespace app\admin\model;
  3. use think\Model;
  4. /**
  5. * 短信验证码
  6. */
  7. class Refund Extends \app\common\model\Refund
  8. {
  9. public function orderInfo(){
  10. return $this->belongsTo(OrderInfo::class)->setEagerlyType(0);
  11. }
  12. public function user(){
  13. return $this->belongsTo(User::class)->setEagerlyType(0);
  14. }
  15. public function goods(){
  16. return $this->belongsTo(Goods::class)->setEagerlyType(0);
  17. }
  18. }