OrderCache.php 465 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2017 https://www.sapixx.com All rights reserved.
  4. * @license Licensed (http://www.apache.org/licenses/LICENSE-2.0).
  5. * @author pillar<ltmn@qq.com>
  6. * 订单数据
  7. */
  8. namespace app\popupshop\model;
  9. use think\Model;
  10. class OrderCache extends Model{
  11. protected $table = 'ai_popupshop_order_cache';
  12. //产品嘻嘻你
  13. public function Item(){
  14. return $this->hasOne('Item','id','item_id');
  15. }
  16. }