92057bba63a6f192beda6071e1e609322e2bd617.svn-base 766 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package org.jeecg.common.system.vo;
  2. import java.io.Serializable;
  3. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  4. import lombok.Data;
  5. import lombok.EqualsAndHashCode;
  6. import lombok.experimental.Accessors;
  7. @Data
  8. @EqualsAndHashCode(callSuper = false)
  9. @Accessors(chain = true)
  10. @JsonIgnoreProperties(ignoreUnknown = true)
  11. public class DictModel implements Serializable{
  12. private static final long serialVersionUID = 1L;
  13. public DictModel() {
  14. }
  15. public DictModel(String value, String text) {
  16. this.value = value;
  17. this.text = text;
  18. }
  19. /**
  20. * 字典value
  21. */
  22. private String value;
  23. /**
  24. * 字典文本
  25. */
  26. private String text;
  27. /**
  28. * 特殊用途: JgEditableTable
  29. * @return
  30. */
  31. public String getTitle() {
  32. return this.text;
  33. }
  34. }