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

io.mosip.pms.common.entity.BaseEntity Maven / Gradle / Ivy

There is a newer version: 1.3.0-dp.1
Show newest version
package io.mosip.pms.common.entity;

import java.time.LocalDateTime;

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

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author Nagarjuna Kuchi 
* @version 1.0
* @since 2019-Oct-11
* * * Defines an object to provide a wrapper for all common properties to misp entities.
* All the misp entities must extend from this class.
*/ @Data @AllArgsConstructor @NoArgsConstructor @MappedSuperclass public class BaseEntity { @Column(name = "is_active") public Boolean isActive; @Column(name = "cr_by", nullable = false, length = 256) public String createdBy; @Column(name = "cr_dtimes", nullable = false) public LocalDateTime createdDateTime; @Column(name = "upd_by", length = 256) public String updatedBy; @Column(name = "upd_dtimes") public LocalDateTime updatedDateTime; @Column(name = "is_deleted") public Boolean isDeleted; @Column(name = "del_dtimes") public LocalDateTime deletedDateTime; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy