SaleOrderCache.php 479 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 SaleOrderCache extends Model{
  11. protected $table = 'ai_popupshop_sales_order_cache';
  12. //产品信息
  13. public function house(){
  14. return $this->hasOne('SaleHouse','id','house_id');
  15. }
  16. }