DictDto.java 989 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package com.huaxu.dto;
  2. import com.huaxu.entity.Dict;
  3. import io.swagger.annotations.ApiModel;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import lombok.Data;
  6. import java.io.Serializable;
  7. import java.util.List;
  8. /**
  9. * 数据字典扩展类
  10. *
  11. * @author yjy
  12. * @since 2021-1-11
  13. */
  14. @Data
  15. @ApiModel
  16. public class DictDto implements Serializable {
  17. private static final long serialVersionUID = 269554608076349144L;
  18. /**
  19. * 父编码主键
  20. */
  21. @ApiModelProperty(value = "父编码主键")
  22. private Integer parentDictId;
  23. /**
  24. * 父编码名称
  25. */
  26. @ApiModelProperty(value = "父编码名称")
  27. private String parentDictName;
  28. /**
  29. * 父编码
  30. */
  31. @ApiModelProperty(value = "父编码")
  32. private String parentDictCode;
  33. /**
  34. * 备注
  35. */
  36. @ApiModelProperty(value = "备注")
  37. private String remark;
  38. /**
  39. * 字典列表
  40. */
  41. @ApiModelProperty(value = "字典列表")
  42. private List<Dict> dictList;
  43. }