'int', 'customer_id' => 'int', 'amount_micros' => 'int', 'start_date' => 'date', 'end_date' => 'date', ]; // 默认值设置 protected $defaults = [ 'amount_micros' => 0, // 预算金额默认0 ]; // 关联 Customer 模型(预算与客户相关) // public function customer() // { // return $this->belongsTo(GoogleAdsCustomer::class, 'customer_id', 'customer_id'); // } // 可以根据需要添加其他关联方法,假设有其他与预算相关的表,例如广告系列(campaign) }