com.netgrif.application.engine.migration.Migration.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.migration
import com.querydsl.core.annotations.PropertyType
import com.querydsl.core.annotations.QueryType
import org.bson.types.ObjectId
import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.mapping.Document
import java.time.LocalDateTime
@Document
class Migration {
@Id
private ObjectId id
private LocalDateTime runDateTime
private String title
Migration(String title) {
this.title = title
this.runDateTime = LocalDateTime.now()
}
@Override
@QueryType(PropertyType.NONE)
MetaClass getMetaClass() {
return this.metaClass
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy