DictionaryDetailPageDto.java 564 B

1234567891011121314151617181920212223
  1. package com.xjrsoft.module.system.dto;
  2. import com.xjrsoft.common.page.PageInput;
  3. import lombok.Data;
  4. import lombok.EqualsAndHashCode;
  5. import org.hibernate.validator.constraints.Length;
  6. /**
  7. * @Author: tzx
  8. * @Date:2022/3/30 14:39
  9. */
  10. @EqualsAndHashCode(callSuper = true)
  11. @Data
  12. public class DictionaryDetailPageDto extends PageInput {
  13. @Length(max = 20,message = "字典名不超过20字符!")
  14. private String name;
  15. @Length(max = 10,message = "编码不超过20字符!")
  16. private String code;
  17. private Long itemId;
  18. }