SaasOrderRefund.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace app\model\saas;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $source 1微信2会员卡
  7. * @property string $order_sn 退款编号
  8. * @property string $old_order 订单编号
  9. * @property integer $money
  10. * @property integer $type 1单笔打印2整笔订单
  11. * @property integer $status
  12. * @property integer $order_id 1为打印ID2订单ID
  13. * @property mixed $refund_at
  14. * @property mixed $create_at
  15. */
  16. class SaasOrderRefund extends Model
  17. {
  18. /**
  19. * The connection name for the model.
  20. *
  21. * @var string|null
  22. */
  23. protected $connection = 'mysql';
  24. /**
  25. * The table associated with the model.
  26. *
  27. * @var string
  28. */
  29. protected string $table = "saas_order_refund";
  30. /**
  31. * The primary key associated with the table.
  32. *
  33. * @var string
  34. */
  35. protected string $primaryKey = "id";
  36. /**
  37. * Indicates if the model should be timestamped.
  38. *
  39. * @var bool
  40. */
  41. public bool $timestamps = false;
  42. }