commonMain.com.saveourtool.save.entities.ProjectProblemDto.kt Maven / Gradle / Ivy
The newest version!
package com.saveourtool.save.entities
import kotlinx.serialization.Serializable
/**
* @property name
* @property description
* @property critical
* @property vulnerabilityName
* @property organizationName
* @property projectName
* @property id
* @property isClosed
*/
@Serializable
data class ProjectProblemDto(
val name: String,
val description: String,
val critical: ProjectProblemCritical,
val vulnerabilityName: String?,
val organizationName: String,
val projectName: String,
val isClosed: Boolean,
val id: Long? = null,
) {
companion object {
val empty = ProjectProblemDto(
"",
"",
ProjectProblemCritical.LOW,
null,
"",
"",
false,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy