'ID', 'year' => 'Year', 'month' => 'Month', 'gift_id' => 'Gift ID', 'price' => 'Price', 'created_at' => 'Created At', 'updated_at' => 'Updated At', ]; } public function getGift() { return $this->hasOne(GiftType3T::className(),['id'=>'gift_id']); } }