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

org.octopusden.octopus.dms.entity.ComponentVersion.kt Maven / Gradle / Ivy

package org.octopusden.octopus.dms.entity

import javax.persistence.*

@Entity
@Table(name = "component_version")
class ComponentVersion(
        @Id
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        val id: Long = 0,
        @ManyToOne
        val component: Component,
        var minorVersion: String,
        val version: String
) {
    override fun toString(): String {
        return "ComponentVersion(id=$id, component=$component, minorVersion=$minorVersion, version=$version)"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy