org.octopusden.octopus.dms.entity.ComponentVersion.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dms-service Show documentation
Show all versions of dms-service Show documentation
Octopus module: dms-service
The newest version!
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 - 2025 Weber Informatics LLC | Privacy Policy