|
|
@ -117,6 +117,7 @@ public final class DeviceProfileEntity extends BaseSqlEntity<DeviceProfile> impl |
|
|
this.setCreatedTime(deviceProfile.getCreatedTime()); |
|
|
this.setCreatedTime(deviceProfile.getCreatedTime()); |
|
|
this.name = deviceProfile.getName(); |
|
|
this.name = deviceProfile.getName(); |
|
|
this.type = deviceProfile.getType(); |
|
|
this.type = deviceProfile.getType(); |
|
|
|
|
|
this.image = deviceProfile.getImage(); |
|
|
this.transportType = deviceProfile.getTransportType(); |
|
|
this.transportType = deviceProfile.getTransportType(); |
|
|
this.provisionType = deviceProfile.getProvisionType(); |
|
|
this.provisionType = deviceProfile.getProvisionType(); |
|
|
this.description = deviceProfile.getDescription(); |
|
|
this.description = deviceProfile.getDescription(); |
|
|
@ -125,6 +126,9 @@ public final class DeviceProfileEntity extends BaseSqlEntity<DeviceProfile> impl |
|
|
if (deviceProfile.getDefaultRuleChainId() != null) { |
|
|
if (deviceProfile.getDefaultRuleChainId() != null) { |
|
|
this.defaultRuleChainId = deviceProfile.getDefaultRuleChainId().getId(); |
|
|
this.defaultRuleChainId = deviceProfile.getDefaultRuleChainId().getId(); |
|
|
} |
|
|
} |
|
|
|
|
|
if (deviceProfile.getDefaultDashboardId() != null) { |
|
|
|
|
|
this.defaultDashboardId = deviceProfile.getDefaultDashboardId().getId(); |
|
|
|
|
|
} |
|
|
this.defaultQueueName = deviceProfile.getDefaultQueueName(); |
|
|
this.defaultQueueName = deviceProfile.getDefaultQueueName(); |
|
|
this.provisionDeviceKey = deviceProfile.getProvisionDeviceKey(); |
|
|
this.provisionDeviceKey = deviceProfile.getProvisionDeviceKey(); |
|
|
if (deviceProfile.getFirmwareId() != null) { |
|
|
if (deviceProfile.getFirmwareId() != null) { |
|
|
|