/** * @inheritdoc */ public function behaviors() { return [TimestampBehavior::className()]; }
/** * @inheritdoc */ public function behaviors() { return [['class' => TimestampBehavior::className(), 'createdAtAttribute' => 'reg_date', 'updatedAtAttribute' => 'update_date']]; }