修改:去除多余依赖

This commit is contained in:
lxy
2020-08-16 20:49:17 +08:00
parent 8f26b66e35
commit 1b54d52cf0
2 changed files with 24 additions and 33 deletions

View File

@@ -1,12 +1,31 @@
package com.zdemo;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class Event<V> {
private String topic;
private String key;
private V value;
public String getTopic() {
return topic;
}
public void setTopic(String topic) {
this.topic = topic;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public V getValue() {
return value;
}
public void setValue(V value) {
this.value = value;
}
}