ComponentOptionConfig.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. package com.xjrsoft.common.model.generator;
  2. import lombok.Data;
  3. /**
  4. * @Author: tzx
  5. * @Date: 2022/5/11 15:55
  6. */
  7. @Data
  8. public class ComponentOptionConfig {
  9. /**
  10. * 宽度
  11. */
  12. private String width;
  13. /**
  14. * 默认值
  15. */
  16. private String defaultValue;
  17. /**
  18. * 提示
  19. */
  20. private String placeholder;
  21. /**
  22. * 最大长度
  23. */
  24. private Integer maxlength;
  25. /**
  26. * 前缀
  27. */
  28. private String prefix;
  29. /**
  30. * 后缀
  31. */
  32. private String suffix;
  33. /**
  34. * 前标签
  35. */
  36. private String addonBefore;
  37. /**
  38. * 后标签
  39. */
  40. private String addonAfter;
  41. /**
  42. * 是否不可操作
  43. */
  44. private Boolean disabled;
  45. /**
  46. * 是否显示清除
  47. */
  48. private Boolean allowClear;
  49. /**
  50. * 是否只读
  51. */
  52. private Boolean readonly;
  53. /**
  54. * 远程数据的类型 可分为 静态 数据字典 数据源 接口
  55. */
  56. private String remoteType;
  57. /**
  58. * 数据源id
  59. */
  60. private String sourceId;
  61. /**
  62. * 字典id
  63. */
  64. private String itemId;
  65. }