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

net.sixpointsix.carpo.common.model.Timestamp Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
package net.sixpointsix.carpo.common.model;

import java.time.LocalDateTime;

/**
 * Timestamps provide standard creation and update times for entities
 *
 * 

* The purpose is to make it easy to record data on when an entity is changed. *

* * @author Andrew Tarry * @since 0.0.1 */ public interface Timestamp { /** * Get the time that the entity was created. * * @return Creation time */ LocalDateTime getCreatedAt(); /** * Get the time that the entity was last updated * * @return Last update time */ LocalDateTime getLastUpdated(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy