类 ServerRestMethodsGenerator

java.lang.Object
net.entframework.kernel.db.generator.plugin.generator.ServerRestMethodsGenerator

public class ServerRestMethodsGenerator extends Object
  • 构造器详细资料

    • ServerRestMethodsGenerator

      public ServerRestMethodsGenerator(org.mybatis.generator.api.dom.java.FullyQualifiedJavaType recordType, org.mybatis.generator.api.dom.java.FullyQualifiedJavaType voJavaType, String serviceFieldName, org.mybatis.generator.api.IntrospectedColumn pkColumn, boolean addAnnotation)
  • 方法详细资料

    • generate

      public RestMethodAndImports generate()
    • setBaseVoType

      public void setBaseVoType(org.mybatis.generator.api.dom.java.FullyQualifiedJavaType baseRequestType)
    • build

      public RestMethodAndImports build()
    • getBuilder

      public RestMethodAndImports.Builder getBuilder()
    • addCreateMethod

      public void addCreateMethod()
    • addBatchCreateMethod

      public void addBatchCreateMethod()
    • addUpdateMethod

      public void addUpdateMethod()
    • addDeleteByPrimaryKeyMethod

      public void addDeleteByPrimaryKeyMethod()
    • addBatchDeleteMethod

      public void addBatchDeleteMethod()
    • addQueryListMethod

      public void addQueryListMethod()
    • addPageListMethod

      public void addPageListMethod()
    • addSelectByPrimaryKeyMethod

      public void addSelectByPrimaryKeyMethod()