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

com.netgrif.application.engine.migration.Migration.groovy Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
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