protected function getTimestampAttributes()
    {
        return [
            ActiveRecord::EVENT_BEFORE_INSERT => [$this->createdAtAttribute, $this->updatedAtAttribute],
            ActiveRecord::EVENT_BEFORE_UPDATE => $this->updatedAtAttribute,
        ];
    }