Blame view

ruoyi-system/src/main/java/com/ruoyi/system/domain/SysConfig.java 1.72 KB
cee572f2   RuoYi   若依 3.0
1
  package com.ruoyi.system.domain;

46444bd0   RuoYi   RuoYi-Vue 1.0
2
3
4
  

  import javax.validation.constraints.NotBlank;

  import javax.validation.constraints.Size;

bcee37b8   RuoYi   若依 1.1
5
6
  import org.apache.commons.lang3.builder.ToStringBuilder;

  import org.apache.commons.lang3.builder.ToStringStyle;

cee572f2   RuoYi   若依 3.0
7
8
9
  import com.ruoyi.common.annotation.Excel;

  import com.ruoyi.common.annotation.Excel.ColumnType;

  import com.ruoyi.common.core.domain.BaseEntity;

46444bd0   RuoYi   RuoYi-Vue 1.0
10
11
12
  

  /**

   * 参数配置表 sys_config

1345c663   YunaiV   清理一次,已经迁移完成的代码
13
   *

46444bd0   RuoYi   RuoYi-Vue 1.0
14
15
16
17
18
19
20
   * @author ruoyi

   */

  public class SysConfig extends BaseEntity

  {

      private static final long serialVersionUID = 1L;

  

      /** 参数主键 */

bcee37b8   RuoYi   若依 1.1
21
      @Excel(name = "参数主键", cellType = ColumnType.NUMERIC)

46444bd0   RuoYi   RuoYi-Vue 1.0
22
23
24
      private Long configId;

  

      /** 参数名称 */

bcee37b8   RuoYi   若依 1.1
25
      @Excel(name = "参数名称")

46444bd0   RuoYi   RuoYi-Vue 1.0
26
27
28
      private String configName;

  

      /** 参数键名 */

bcee37b8   RuoYi   若依 1.1
29
      @Excel(name = "参数键名")

46444bd0   RuoYi   RuoYi-Vue 1.0
30
31
32
      private String configKey;

  

      /** 参数键值 */

bcee37b8   RuoYi   若依 1.1
33
      @Excel(name = "参数键值")

46444bd0   RuoYi   RuoYi-Vue 1.0
34
35
36
      private String configValue;

  

      /** 系统内置(Y是 N否) */

bcee37b8   RuoYi   若依 1.1
37
      @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")

46444bd0   RuoYi   RuoYi-Vue 1.0
38
39
      private String configType;

  

46444bd0   RuoYi   RuoYi-Vue 1.0
40
41
42
43
44
45
46
      @NotBlank(message = "参数名称不能为空")

      @Size(min = 0, max = 100, message = "参数名称不能超过100个字符")

      public String getConfigName()

      {

          return configName;

      }

  

46444bd0   RuoYi   RuoYi-Vue 1.0
47
48
49
50
51
52
53
      @NotBlank(message = "参数键名长度不能为空")

      @Size(min = 0, max = 100, message = "参数键名长度不能超过100个字符")

      public String getConfigKey()

      {

          return configKey;

      }

  

46444bd0   RuoYi   RuoYi-Vue 1.0
54
55
56
57
58
59
60
      @NotBlank(message = "参数键值不能为空")

      @Size(min = 0, max = 500, message = "参数键值长度不能超过500个字符")

      public String getConfigValue()

      {

          return configValue;

      }

  

46444bd0   RuoYi   RuoYi-Vue 1.0
61
  }