创建topic

This commit is contained in:
tangcongfa_v@didichuxing.com
2021-04-26 11:16:53 +08:00
parent 0bd3e28348
commit f551674860
4 changed files with 86 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
package com.xiaojukeji.kafka.manager.common.entity.dto.normal;
import com.xiaojukeji.kafka.manager.common.entity.dto.ClusterTopicDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(description = "创建topic")
public class TopicAddDTO extends ClusterTopicDTO {
@ApiModelProperty(value = "appId")
private String appId;
@ApiModelProperty(value = "峰值流量")
private Long peakBytesIn;
@ApiModelProperty(value = "备注信息")
private String description;
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public Long getPeakBytesIn() {
return peakBytesIn;
}
public void setPeakBytesIn(Long peakBytesIn) {
this.peakBytesIn = peakBytesIn;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}