<?php

namespace app\model;

use think\Model;

class CampaignBudget extends Model
{
    protected $table = 'ad_ga_campaign_budgets';
    protected $primaryKey = 'id';
    protected $autoWriteTimestamp = true;

    public function campaigns()
    {
        return $this->hasMany(Campaign::class, 'budget_id', 'id');
    }
}