<?php

namespace app\admin\model;

use think\Model;

/**
 * PlatformPayment
 */
class PlatformPayment extends Model
{
    // 表名
    protected $name = 'platform_payment';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = true;


    public function admin()
    {
        return $this->belongsTo(\app\admin\model\Admin::class, 'admin_id', 'id');
    }
}