java.lang.Object
net.entframework.kernel.db.generator.typescript.runtime.ModelField

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

    • ModelField

      public ModelField(org.mybatis.generator.api.dom.java.Field field, org.mybatis.generator.api.IntrospectedColumn column)
  • 方法详细资料

    • setPrimaryKey

      public void setPrimaryKey(boolean primaryKey)
    • isPrimaryKey

      public boolean isPrimaryKey()
    • getJavaType

      public org.mybatis.generator.api.dom.java.FullyQualifiedJavaType getJavaType()
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getLength

      public int getLength()
    • isRequired

      public boolean isRequired()
    • getScale

      public int getScale()
    • isHidden

      public boolean isHidden()
    • setHidden

      public void setHidden(boolean hidden)
    • getTextLength

      public int getTextLength()
    • getInputType

      public String getInputType()
    • getFieldType

      public String getFieldType()
    • getRemarks

      public String getRemarks()
    • getDefaultValue

      public String getDefaultValue()
    • isLogicDeleteField

      public boolean isLogicDeleteField()
    • isEnumField

      public boolean isEnumField()
    • isVersionField

      public boolean isVersionField()
    • isTenantField

      public boolean isTenantField()
    • isBlob

      public boolean isBlob()
    • isBasic

      public boolean isBasic()
    • isRelationField

      public boolean isRelationField()
    • isManyToOne

      public boolean isManyToOne()
    • isOneToMany

      public boolean isOneToMany()
    • isManyToMany

      public boolean isManyToMany()
    • isEnumLabel

      public boolean isEnumLabel()
    • getEnumLabelType

      public String getEnumLabelType()
    • isEnumSwitch

      public boolean isEnumSwitch()
    • getEnumSwitchType

      public String getEnumSwitchType()
    • getRelation

      public Relation getRelation()
    • copy

      public static ModelField copy(ModelField source)