SearchCollectionConceptVO.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.diagbot.vo;
  2. import io.swagger.annotations.ApiModelProperty;
  3. import lombok.Getter;
  4. import lombok.Setter;
  5. import javax.validation.constraints.NotNull;
  6. import java.util.List;
  7. /**
  8. * @className: com.diagbot.vo-> SearchCollectionConceptVO
  9. * @description: 在集合业务中,搜索术语
  10. * @author: kongwz
  11. * @createDate: 2021-08-18 16:07
  12. * @version: 1.0
  13. * @todo:
  14. */
  15. @Setter
  16. @Getter
  17. public class SearchCollectionConceptVO {
  18. /**
  19. * 词性id
  20. */
  21. @ApiModelProperty(value="词性id")
  22. @NotNull(message ="请输入搜索词的词性" )
  23. private Integer libType;
  24. /**
  25. * 需要排除的概念id集合
  26. */
  27. @ApiModelProperty(value="需要排除的概念id集合")
  28. private List<Long> excludedConceptIds;
  29. @ApiModelProperty(value="搜索关键词")
  30. private List<String> names;
  31. @ApiModelProperty(value="逻辑运算符")
  32. @NotNull(message ="请输入逻辑运算符" )
  33. private Integer logicalOperator;
  34. @Override
  35. public String toString() {
  36. return "SearchCollectionConceptVO{" +
  37. "libType=" + libType +
  38. ", excludedConceptIds=" + excludedConceptIds +
  39. ", names=" + names +
  40. ", logicalOperator=" + logicalOperator +
  41. '}';
  42. }
  43. }