OrderRefundProduct.php 651 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: zhengmingwei
  5. * Date: 2020/1/6
  6. * Time: 11:25 下午
  7. */
  8. namespace addons\unishop\model;
  9. use addons\unishop\extend\Hashids;
  10. use think\Model;
  11. /**
  12. * 订单商品表
  13. * Class OrderExtend
  14. * @package addons\unishop\model
  15. */
  16. class OrderRefundProduct extends Model
  17. {
  18. // 表名
  19. protected $name = 'unishop_order_refund_product';
  20. // 开启自动写入时间戳字段
  21. protected $autoWriteTimestamp = 'int';
  22. // 定义时间戳字段名
  23. protected $createTime = 'createtime';
  24. protected $updateTime = false;
  25. // 隐藏属性
  26. protected $hidden = [
  27. 'order_id',
  28. ];
  29. }