com.alibaba.tmq.common.domain.result.DeleteResult Maven / Gradle / Ivy
package com.alibaba.tmq.common.domain.result;
/**
* 删除结果
* @author tianyao.myc
*
*/
public class DeleteResult extends Result {
private static final long serialVersionUID = -4704682431483208415L;
public DeleteResult() {
}
public DeleteResult(Boolean data) {
super(data);
}
public DeleteResult(ResultCode resultCode) {
super(resultCode);
}
public DeleteResult(Result result) {
super(result.getData(), result.getResultCode());
}
public DeleteResult(Boolean data, ResultCode resultCode) {
super(data, resultCode);
}
@Override
public String toString() {
return "DeleteResult [getData()=" + getData() + ", getResultCode()="
+ getResultCode() + "]";
}
}