<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Pay
 *
 * @property int $pay_id 订单ID
 * @property int $user_id 用户ID
 * @property int $store_id 店铺ID
 * @property int $pay_type 支付类型
 * @property int $status 订单状态
 * @property string $pay_dt 支付时间
 * @property string $order_fee 订单价格
 * @property string $discount_fee 优惠价格
 * @property string $handling_fee 手续费
 * @property string $prepay_id 微信支付预付单ID
 * @property string|null $serial_number 支付流水
 * @property string|null $pay_error 支付错误记录
 * @property \Illuminate\Support\Carbon $updated_at 删除时间
 * @property string $deleted_at 删除时间
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @method static \Illuminate\Database\Eloquent\Builder|Pay newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Pay newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Pay query()
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereDiscountFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereHandlingFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereOrderFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay wherePayDt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay wherePayError($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay wherePayId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay wherePayType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay wherePrepayId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereSerialNumber($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereStoreId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pay whereUserId($value)
 * @mixin \Eloquent
 */
class Pay extends Model
{
    use HasFactory;
    protected $table = 'pay';
}
