Commit 6fbbb1ff by 袁伟铭

1.0.0

parent 051b2971
package com.zq.common.vo;
import cn.hutool.core.util.StrUtil;
import lombok.*;
import java.util.HashSet;
import java.util.Set;
/**
* @author wilmiam
* @since 2022-08-12 11:45
*/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class IdVo {
private String id;
private String note;
private Set<String> ids;
public Set<String> getIds() {
if (ids == null) {
ids = new HashSet<>();
}
if (StrUtil.isNotBlank(id)) {
ids.add(id);
}
return ids;
}
}
......@@ -4,8 +4,8 @@ import lombok.*;
import org.springframework.web.multipart.MultipartFile;
/**
* @author CodeAnyWay
* @since 2019-04-28
* @author wilmiam
* @since 2022-08-12 11:45
*/
@Getter
@Setter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment