io.mosip.preregistration.batchjob.entity.DocumentEntityConsumed Maven / Gradle / Ivy
/*
* 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 lombok.NoArgsConstructor;
import lombok.Setter;
/**
* This entity class defines the database table details for Document.
*
* @author Kishan Rathore
* @since 1.0.0
*
*/
@Entity
@Setter
@NoArgsConstructor
@Table(name = "applicant_document_consumed", schema = "prereg")
public class DocumentEntityConsumed implements Serializable {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = -5234323803111591958L;
/**
* Document Id
*/
@Id
@Column(name = "id")
private String documentId;
/**
* PreRegistration Id
*/
@Column(name = "prereg_id")
private String preregId;
/**
* Document Name
*/
@Column(name = "doc_name")
private String docName;
/**
* Document Category
*/
@Column(name = "doc_cat_code")
private String docCatCode;
/**
* Document Type
*/
@Column(name = "doc_typ_code")
private String docTypeCode;
/**
* Document File Format
*/
@Column(name = "doc_file_format")
private String docFileFormat;
/**
* Status Code
*/
@Column(name = "status_code")
private String statusCode;
/**
* Language Code
*/
@Column(name = "lang_code")
private String langCode;
/**
* Created By
*/
@Column(name = "cr_by")
private String crBy;
/**
* Created Date Time
*/
@Column(name = "cr_dtimes")
private LocalDateTime crDtime;
/**
* Updated By
*/
@Column(name = "upd_by")
private String updBy;
/**
* Updated Date Time
*/
@Column(name = "upd_dtimes")
private LocalDateTime updDtime;
/**
* Encrypted Date Time
*/
@Column(name = "encrypted_dtimes")
private LocalDateTime encryptedDateTime;
/**
* Document Id
*/
@Column(name = "doc_id")
private String docId;
/**
* Hash value of row
*/
@Column(name = "doc_hash")
private String DocHash;
@Column(name = "doc_ref_id")
private String docRefId;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy