| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- namespace app\model\saas;
- use app\extra\basic\Model;
- /**
- * @property integer $id (主键)
- * @property integer $shop_id 所属店铺
- * @property string $parent_id 消费店铺
- * @property string $order_sn
- * @property integer $money
- * @property integer $status 0待付款1已支付
- * @property integer $uuid
- * @property integer $pay_type 支付方式1微信2会员卡
- * @property string $print_name 打印机名称
- * @property integer $coupon_money 优惠券金额
- * @property integer $coupon_id
- * @property integer $notify_status 通知状态1已通知
- * @property mixed $pay_at 支付时间
- * @property string $transaction_id 交易编号wx
- * @property mixed $refund_at
- * @property integer $refund_status
- * @property integer $package 1店内打印2远程自取3商家配送
- * @property string $package_sn 取件号
- * @property integer $package_type 0无1店内打印2远程自取3商家配送
- * @property string $package_local 装订位置
- * @property integer $extra_money 额外加价
- * @property integer $express_money 配送费
- * @property integer $staple_money 装订费
- * @property float $discount 折扣
- * @property mixed $print_at 打印时间
- * @property string $remark 备注
- * @property string $reason 失败原因
- * @property mixed $create_at
- */
- class SaasOrder extends Model
- {
- /**
- * The connection name for the model.
- *
- * @var string|null
- */
- protected $connection = 'mysql';
-
- /**
- * The table associated with the model.
- *
- * @var string
- */
- protected string $table = "saas_order";
-
- /**
- * The primary key associated with the table.
- *
- * @var string
- */
- protected string $primaryKey = "id";
-
- /**
- * Indicates if the model should be timestamped.
- *
- * @var bool
- */
- public bool $timestamps = false;
- }
|