Coverage Summary for Class: ForumAnnouncement (com.galarzaa.tibiakt.core.section.forum.announcement.model)

Class Method, % Branch, % Line, % Instruction, %
ForumAnnouncement 100% (2/2) 0% (0/2) 100% (12/12) 82.7% (177/214)
ForumAnnouncement$Companion 0% (0/1) 0% (0/1) 0% (0/2)
Total 66.7% (2/3) 0% (0/2) 92.3% (12/13) 81.9% (177/216)


 /*
  * Copyright © 2025 Allan Galarza
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 package com.galarzaa.tibiakt.core.section.forum.announcement.model
 
 import com.galarzaa.tibiakt.core.section.forum.shared.model.BaseForumAnnouncement
 import com.galarzaa.tibiakt.core.section.forum.shared.model.ForumAuthor
 import kotlinx.serialization.Serializable
 import kotlin.time.Instant
 
 /**
  * An announcement in the Tibia forums.
  *
  * @property boardName The name of the board the announcement is posted in.
  * @property boardId The internal ID of the board the announcement is in.
  * @property sectionName The name of the section the announcement is posted in.
  * @property sectionId The internal ID of the section the announcement is in.
  * @property author The author that created the announcement.
  * @property content The content of the announcement.
  * @property startsAt The start date of the announcement.
  * @property endsAt The end date of the announcement.
  */
 @Serializable
 public data class ForumAnnouncement(
     override val announcementId: Int,
     override val title: String,
     val boardName: String,
     val boardId: Int,
     val sectionName: String,
     val sectionId: Int,
     val author: ForumAuthor,
     val content: String,
     val startsAt: Instant,
     val endsAt: Instant,
 ) : BaseForumAnnouncement