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

io.mosip.admin.bulkdataupload.entity.RegistrationCenterUser Maven / Gradle / Ivy

There is a newer version: 1.2.1.0
Show newest version
package io.mosip.admin.bulkdataupload.entity;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import io.mosip.admin.bulkdataupload.entity.id.RegistrationCenterUserID;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "reg_center_user", schema = "master")
public class RegistrationCenterUser extends BaseEntity {

	/**
	 * Composite key for this table
	 */
	@EmbeddedId
	@AttributeOverride(name = "regCenterId", column = @Column(name = "regcntr_id"))
	@AttributeOverride(name = "userId", column = @Column(name = "usr_id"))
	private RegistrationCenterUserID registrationCenterUserID;

	@Column(name = "lang_code", nullable = false, length = 3)
	private String langCode;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy