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

io.coodoo.framework.jpa.boundary.entity.AbstractRevisionEntity Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package io.coodoo.framework.jpa.boundary.entity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * Base entity providing identification and revision information.
 * 
 * 
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
FieldsIDCreation DateCreation UserUpdate DateUpdate User
NameidcreatedAtcreatedByupdatedAtupdatedBy
TypeLongLocalDateTimeLongLocalDateTimeLong
Column nameidcreated_atcreated_byupdated_atupdated_by
* * @author coodoo GmbH (coodoo.io) */ @SuppressWarnings("serial") @MappedSuperclass public abstract class AbstractRevisionEntity extends AbstractRevisionDatesEntity { @Column(name = "created_by") protected Long createdBy; @Column(name = "updated_by") protected Long updatedBy; public Long getCreatedBy() { return createdBy; } public void setCreatedBy(Long createdBy) { this.createdBy = createdBy; } public Long getUpdatedBy() { return updatedBy; } public void setUpdatedBy(Long updatedBy) { this.updatedBy = updatedBy; } @Override public String toString() { return "AbstractRevisionEntity [id=" + id + ", createdAt=" + createdAt + ", createdBy=" + createdBy + ", updatedAt=" + updatedAt + ", updatedBy=" + updatedBy + "]"; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy