Commit 17f9eebe23e8620e3e9b33b1c7c88a3c987b8d1e
Committed by
Andrew Shvayka
1 parent
0725a27d
Set serialVersionUIDs for cached entities
Showing
4 changed files
with
8 additions
and
0 deletions
... | ... | @@ -39,6 +39,8 @@ import static org.thingsboard.server.common.data.SearchTextBasedWithAdditionalIn |
39 | 39 | @Slf4j |
40 | 40 | public class TenantProfile extends SearchTextBased<TenantProfileId> implements HasName { |
41 | 41 | |
42 | + private static final long serialVersionUID = 3021989561267192281L; | |
43 | + | |
42 | 44 | @NoXss |
43 | 45 | @ApiModelProperty(position = 3, value = "Name of the tenant profile", example = "High Priority Tenants") |
44 | 46 | private String name; | ... | ... |
... | ... | @@ -24,6 +24,8 @@ import java.util.Optional; |
24 | 24 | */ |
25 | 25 | public class BaseAttributeKvEntry implements AttributeKvEntry { |
26 | 26 | |
27 | + private static final long serialVersionUID = -6460767583563159407L; | |
28 | + | |
27 | 29 | private final long lastUpdateTs; |
28 | 30 | private final KvEntry kv; |
29 | 31 | ... | ... |
... | ... | @@ -25,6 +25,8 @@ import java.io.Serializable; |
25 | 25 | @Data |
26 | 26 | public class SecuritySettings implements Serializable { |
27 | 27 | |
28 | + private static final long serialVersionUID = -1307613974597312465L; | |
29 | + | |
28 | 30 | @ApiModelProperty(position = 1, value = "The user password policy object." ) |
29 | 31 | private UserPasswordPolicy passwordPolicy; |
30 | 32 | @ApiModelProperty(position = 2, value = "Maximum number of failed login attempts allowed before user account is locked." ) | ... | ... |