io.mosip.admin.bulkdataupload.entity.id.RegistrationCenterMachineDeviceID Maven / Gradle / Ivy
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;
/**
*
*
* @author Bal Vikash Sharma
* @since 1.0.0
*
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Embeddable
public class RegistrationCenterMachineDeviceID implements Serializable {
private static final long serialVersionUID = -8541947587557590379L;
@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 = "machine_id", unique = true, nullable = false, length = 10)
private String machineId;
}