diff --git a/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdProperties.java b/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdProperties.java index bf8711bf..1609b341 100644 --- a/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdProperties.java +++ b/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdProperties.java @@ -1,5 +1,6 @@ package net.xnzn.framework.id; +import lombok.Generated; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties( @@ -11,30 +12,37 @@ public class IdProperties { private String key = "worker_id_sequence"; private String workspace; + @Generated public Boolean getEnabled() { return this.enabled; } + @Generated public String getKey() { return this.key; } + @Generated public String getWorkspace() { return this.workspace; } + @Generated public void setEnabled(final Boolean enabled) { this.enabled = enabled; } + @Generated public void setKey(final String key) { this.key = key; } + @Generated public void setWorkspace(final String workspace) { this.workspace = workspace; } + @Generated public boolean equals(final Object o) { if (o == this) { return true; @@ -84,10 +92,12 @@ public class IdProperties { } } + @Generated protected boolean canEqual(final Object other) { return other instanceof IdProperties; } + @Generated public int hashCode() { int PRIME = true; int result = 1; @@ -100,6 +110,7 @@ public class IdProperties { return result; } + @Generated public String toString() { Boolean var10000 = this.getEnabled(); return "IdProperties(enabled=" + var10000 + ", key=" + this.getKey() + ", workspace=" + this.getWorkspace() + ")"; diff --git a/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdWorkAutoConfiguration.java b/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdWorkAutoConfiguration.java index 8deee3bf..7d4f8072 100644 --- a/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdWorkAutoConfiguration.java +++ b/bonus-common-biz/Id/src/main/java/net/xnzn/framework/id/IdWorkAutoConfiguration.java @@ -10,6 +10,7 @@ import java.nio.charset.StandardCharsets; import java.util.Collection; import java.util.Iterator; import java.util.UUID; +import lombok.Generated; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -33,6 +34,7 @@ import org.springframework.util.CollectionUtils; matchIfMissing = true ) public class IdWorkAutoConfiguration { + @Generated private static final Logger log = LoggerFactory.getLogger(IdWorkAutoConfiguration.class); private final IdProperties idProperties;