SaasOrder.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. namespace app\model\saas;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $shop_id 所属店铺
  7. * @property string $parent_id 消费店铺
  8. * @property string $order_sn
  9. * @property integer $money
  10. * @property integer $status 0待付款1已支付
  11. * @property integer $uuid
  12. * @property integer $pay_type 支付方式1微信2会员卡
  13. * @property string $print_name 打印机名称
  14. * @property integer $coupon_money 优惠券金额
  15. * @property integer $coupon_id
  16. * @property integer $notify_status 通知状态1已通知
  17. * @property mixed $pay_at 支付时间
  18. * @property string $transaction_id 交易编号wx
  19. * @property mixed $refund_at
  20. * @property integer $refund_status
  21. * @property integer $package 1店内打印2远程自取3商家配送
  22. * @property string $package_sn 取件号
  23. * @property integer $package_type 0无1店内打印2远程自取3商家配送
  24. * @property string $package_local 装订位置
  25. * @property integer $extra_money 额外加价
  26. * @property integer $express_money 配送费
  27. * @property integer $staple_money 装订费
  28. * @property float $discount 折扣
  29. * @property mixed $print_at 打印时间
  30. * @property string $remark 备注
  31. * @property string $reason 失败原因
  32. * @property mixed $create_at
  33. */
  34. class SaasOrder extends Model
  35. {
  36. /**
  37. * The connection name for the model.
  38. *
  39. * @var string|null
  40. */
  41. protected $connection = 'mysql';
  42. /**
  43. * The table associated with the model.
  44. *
  45. * @var string
  46. */
  47. protected string $table = "saas_order";
  48. /**
  49. * The primary key associated with the table.
  50. *
  51. * @var string
  52. */
  53. protected string $primaryKey = "id";
  54. /**
  55. * Indicates if the model should be timestamped.
  56. *
  57. * @var bool
  58. */
  59. public bool $timestamps = false;
  60. }