Commit 40a994038e6d4532a37251a0c77ca80ce602e1b6
1 parent
29b2e6a6
Restore DeviceProfileEntity fields
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -117,6 +117,7 @@ public final class DeviceProfileEntity extends BaseSqlEntity<DeviceProfile> impl | @@ -117,6 +117,7 @@ public final class DeviceProfileEntity extends BaseSqlEntity<DeviceProfile> impl | ||
117 | this.setCreatedTime(deviceProfile.getCreatedTime()); | 117 | this.setCreatedTime(deviceProfile.getCreatedTime()); |
118 | this.name = deviceProfile.getName(); | 118 | this.name = deviceProfile.getName(); |
119 | this.type = deviceProfile.getType(); | 119 | this.type = deviceProfile.getType(); |
120 | + this.image = deviceProfile.getImage(); | ||
120 | this.transportType = deviceProfile.getTransportType(); | 121 | this.transportType = deviceProfile.getTransportType(); |
121 | this.provisionType = deviceProfile.getProvisionType(); | 122 | this.provisionType = deviceProfile.getProvisionType(); |
122 | this.description = deviceProfile.getDescription(); | 123 | this.description = deviceProfile.getDescription(); |
@@ -125,6 +126,9 @@ public final class DeviceProfileEntity extends BaseSqlEntity<DeviceProfile> impl | @@ -125,6 +126,9 @@ public final class DeviceProfileEntity extends BaseSqlEntity<DeviceProfile> impl | ||
125 | if (deviceProfile.getDefaultRuleChainId() != null) { | 126 | if (deviceProfile.getDefaultRuleChainId() != null) { |
126 | this.defaultRuleChainId = deviceProfile.getDefaultRuleChainId().getId(); | 127 | this.defaultRuleChainId = deviceProfile.getDefaultRuleChainId().getId(); |
127 | } | 128 | } |
129 | + if (deviceProfile.getDefaultDashboardId() != null) { | ||
130 | + this.defaultDashboardId = deviceProfile.getDefaultDashboardId().getId(); | ||
131 | + } | ||
128 | this.defaultQueueName = deviceProfile.getDefaultQueueName(); | 132 | this.defaultQueueName = deviceProfile.getDefaultQueueName(); |
129 | this.provisionDeviceKey = deviceProfile.getProvisionDeviceKey(); | 133 | this.provisionDeviceKey = deviceProfile.getProvisionDeviceKey(); |
130 | if (deviceProfile.getFirmwareId() != null) { | 134 | if (deviceProfile.getFirmwareId() != null) { |