DictionaryItemPageDto.java 713 B

123456789101112131415161718192021222324
  1. package com.xjrsoft.module.system.dto;
  2. import com.xjrsoft.common.page.PageInput;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import lombok.Data;
  5. import lombok.EqualsAndHashCode;
  6. import org.hibernate.validator.constraints.Length;
  7. /**
  8. * @Author: tzx
  9. * @Date:2022/3/17 15:54
  10. */
  11. @EqualsAndHashCode(callSuper = true)
  12. @Data
  13. public class DictionaryItemPageDto extends PageInput {
  14. @ApiModelProperty(value = "数据字典项目名称")
  15. @Length(max = 20,message = "项目名长度不超过20个字符")
  16. private String name;
  17. @ApiModelProperty(value = "数据字典项目编码")
  18. @Length(max = 20,message = "编码长度不超过20个字符")
  19. private String code;
  20. }