OfflineOrder.php 211 B

123456789101112
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. // 线下订单
  5. class OfflineOrder extends Model
  6. {
  7. public function orderItem()
  8. {
  9. return $this->hasMany('OfflineOrderItem','order_id');
  10. }
  11. }