io.mosip.admin.bulkdataupload.entity.RegistrationCenterDeviceHistoryPk Maven / Gradle / Ivy
package io.mosip.admin.bulkdataupload.entity;
import java.io.Serializable;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
* @author Bal Vikash Sharma
* @since 1.0.0
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Embeddable
public class RegistrationCenterDeviceHistoryPk implements Serializable {
private static final long serialVersionUID = 1L;
@Column(name = "regcntr_id", unique = true, nullable = false, length = 10)
private String regCenterId;
@Column(name = "device_id", unique = true, nullable = false, length = 36)
private String deviceId;
@Column(name = "eff_dtimes", nullable = false)
private LocalDateTime effectivetimes;
}