Blame view

ruoyi-common/src/main/java/com/ruoyi/generator/domain/GenTable.java 832 Bytes
937c51f4   YunaiV   完成代码生成器的 sql 生成
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
  package com.ruoyi.generator.domain;
  
  import java.util.List;
  import javax.validation.Valid;
  import javax.validation.constraints.NotBlank;
  
  import org.apache.commons.lang3.ArrayUtils;
  import com.ruoyi.common.constant.GenConstants;
  import com.ruoyi.common.core.domain.BaseEntity;
  import com.ruoyi.common.utils.StringUtils;
  
  /**
   * 业务表 gen_table
   *
   * @author ruoyi
   */
  public class GenTable extends BaseEntity {
  
      /**
       * 生成包路径
       */
      @NotBlank(message = "生成包路径不能为空")
      private String packageName;
  
      /**
       * 其它生成选项
       */
      private String options;
  
      /**
       * 树编码字段
       */
      private String treeCode;
  
      /**
       * 树父编码字段
       */
      private String treeParentCode;
  
      /**
       * 树名称字段
       */
      private String treeName;
  
  }