SysConfig.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. package com.ruoyi.system.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.base.BaseEntity;
  6. /**
  7. * 参数配置表 sys_config
  8. *
  9. * @author ruoyi
  10. */
  11. public class SysConfig extends BaseEntity
  12. {
  13. private static final long serialVersionUID = 1L;
  14. /** 参数主键 */
  15. @Excel(name = "参数主键")
  16. private Long configId;
  17. /** 参数名称 */
  18. @Excel(name = "参数名称")
  19. private String configName;
  20. /** 参数键名 */
  21. @Excel(name = "参数键名")
  22. private String configKey;
  23. /** 参数键值 */
  24. @Excel(name = "参数键值")
  25. private String configValue;
  26. /** 系统内置(Y是 N否) */
  27. @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
  28. private String configType;
  29. public Long getConfigId()
  30. {
  31. return configId;
  32. }
  33. public void setConfigId(Long configId)
  34. {
  35. this.configId = configId;
  36. }
  37. public String getConfigName()
  38. {
  39. return configName;
  40. }
  41. public void setConfigName(String configName)
  42. {
  43. this.configName = configName;
  44. }
  45. public String getConfigKey()
  46. {
  47. return configKey;
  48. }
  49. public void setConfigKey(String configKey)
  50. {
  51. this.configKey = configKey;
  52. }
  53. public String getConfigValue()
  54. {
  55. return configValue;
  56. }
  57. public void setConfigValue(String configValue)
  58. {
  59. this.configValue = configValue;
  60. }
  61. public String getConfigType()
  62. {
  63. return configType;
  64. }
  65. public void setConfigType(String configType)
  66. {
  67. this.configType = configType;
  68. }
  69. @Override
  70. public String toString() {
  71. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  72. .append("configId", getConfigId())
  73. .append("configName", getConfigName())
  74. .append("configKey", getConfigKey())
  75. .append("configValue", getConfigValue())
  76. .append("configType", getConfigType())
  77. .append("createBy", getCreateBy())
  78. .append("createTime", getCreateTime())
  79. .append("updateBy", getUpdateBy())
  80. .append("updateTime", getUpdateTime())
  81. .append("remark", getRemark())
  82. .toString();
  83. }
  84. }