io.mosip.admin.bulkdataupload.entity.DeviceRegister Maven / Gradle / Ivy
package io.mosip.admin.bulkdataupload.entity;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
@Entity
@Table(name = "registered_device_master", schema = "master")
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeviceRegister extends BaseEntity {
@Id
@Column(name = "code")
private String deviceCode;
@Column(name = "dtype_code")
private String dTypeCode;
@Column(name = "dstype_code")
private String dSubTypeCode;
@Column(name = "status_code")
private String statusCode;
@Column(name = "device_id")
private String deviceId;
@Column(name = "device_sub_id")
private String deviceSubId;
@Column(name = "digital_id")
private String digitalId;
@Column(name = "provider_id")
private String deviceProviderId;
@Column(name = "provider_name")
private String deviceProviderName;
@Column(name = "purpose")
private String purpose;
@Column(name = "firmware")
private String firmware;
@Column(name = "make")
private String deviceMake;
@Column(name = "model")
private String deviceModel;
@Column(name = "expiry_date")
private LocalDateTime deviceExpiry;
@Column(name = "certification_level")
private String certificationLevel;
@Column(name = "foundational_trust_provider_iD")
private String foundationalTrustProviderID;
@Column(name = "serial_number", nullable = false)
private String serialNumber;
}