All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.saveourtool.save.entities.vulnerability.VulnerabilityProjectDto.kt Maven / Gradle / Ivy

The newest version!
package com.saveourtool.save.entities.vulnerability

import kotlinx.serialization.Serializable

/**
 * @property name name of project
 * @property url url of project
 * @property type type of link
 * @property vulnerabilityName name of vulnerability
 * @property versions
 */
@Serializable
data class VulnerabilityProjectDto(
    val name: String,
    val url: String,
    val versions: String,
    val type: VulnerabilityProjectType,
    val vulnerabilityName: String,
) {
    companion object {
        val empty = VulnerabilityProjectDto(
            "",
            "",
            "",
            VulnerabilityProjectType.LIBRARY,
            "",
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy