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

io.mosip.admin.bulkdataupload.entity.id.GenderID Maven / Gradle / Ivy

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

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

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

/**
 * Entity for composite primary key in gender table in DB
 * 
 * @author Sidhant Agarwal
 * @since 1.0.0
 *
 */
@Embeddable
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GenderID implements Serializable {

	private static final long serialVersionUID = -1169678225048676557L;

	@Column(name = "code", unique = true, nullable = false, length = 16)
	private String genderCode;

	@Column(name = "name", unique = true, nullable = false, length = 64)
	private String genderName;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy