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

io.mosip.preregistration.batchjob.entity.ProcessedPreRegEntity Maven / Gradle / Ivy

There is a newer version: 1.3.0-beta.1
Show newest version
/* 
 * Copyright
 * 
 */
package io.mosip.preregistration.batchjob.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * The persistent class Processed PreReg List database table.
 * 
 * @author Kishan Rathore
 * @since 1.0.0
 */
@Component
@Entity
@Table(name = "processed_prereg_list", schema="prereg")
@Getter
@Setter
@NoArgsConstructor
public class ProcessedPreRegEntity implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -4642077019557115876L;

	/**
	 * The PreRegistration Id.
	 */
	@Id
	@Column(name = "prereg_id")
	private String preRegistrationId;
	
	/**
	 * The first received time.
	 */
	@Column(name = "first_received_dtimes")
	private LocalDateTime receivedDTime;
	
	/**
	 * The status code.
	 */
	@Column(name = "status_code")
	private String statusCode;
	
	/**
	 * The status comment.
	 */
	@Column(name = "status_comments")
	private String statusComments;
	
	/**
	 * The PreRegistration transaction Id. 
	 */
	@Column(name = "prereg_trn_id")
	private String preregTrnId;
	
	/**
	 * The Language code.
	 */
	@Column(name = "lang_code")
	private String langCode;
	
	/**
	 * The created by
	 */
	@Column(name = "cr_by")
	private String crBy;
	
	/**
	 * The created time.
	 */
	@Column(name = "cr_dtimes")
	private LocalDateTime crDate;
	
	/**
	 * The updated by.
	 */
	@Column(name = "upd_by")
	private String upBy;
	
	/**
	 * The updated time.
	 */
	@Column(name = "upd_dtimes")
	private LocalDateTime updDate;
	
	/**
	 * The is deleted.
	 */
	@Column(name = "is_deleted")
	private boolean isDeleted;
	
	/**
	 * The deleted time.
	 */
	@Column(name = "del_dtimes")
	private LocalDateTime delTime;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy