public static class GlobalConfig.DbConfig
extends java.lang.Object
构造器和说明 |
---|
DbConfig() |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getColumnFormat() |
java.lang.String |
getEscapeSymbol() |
com.baomidou.mybatisplus.annotation.IdType |
getIdType() |
com.baomidou.mybatisplus.annotation.FieldStrategy |
getInsertStrategy() |
java.util.List<IKeyGenerator> |
getKeyGenerators() |
java.lang.String |
getLogicDeleteField() |
java.lang.String |
getLogicDeleteValue() |
java.lang.String |
getLogicNotDeleteValue() |
java.lang.String |
getPropertyFormat() |
java.lang.String |
getSchema() |
com.baomidou.mybatisplus.annotation.FieldStrategy |
getSelectStrategy()
已过时。
|
java.lang.String |
getTableFormat() |
java.lang.String |
getTablePrefix() |
com.baomidou.mybatisplus.annotation.FieldStrategy |
getUpdateStrategy() |
com.baomidou.mybatisplus.annotation.FieldStrategy |
getWhereStrategy()
重写whereStrategy的get方法,适配低版本:
- 如果用户自定义了selectStrategy则用用户自定义的,
- 后续版本移除selectStrategy后,直接删除该方法即可。
|
int |
hashCode() |
boolean |
isCapitalMode() |
boolean |
isReplacePlaceholder() |
boolean |
isTableUnderline() |
GlobalConfig.DbConfig |
setCapitalMode(boolean capitalMode) |
GlobalConfig.DbConfig |
setColumnFormat(java.lang.String columnFormat) |
GlobalConfig.DbConfig |
setEscapeSymbol(java.lang.String escapeSymbol) |
GlobalConfig.DbConfig |
setIdType(com.baomidou.mybatisplus.annotation.IdType idType) |
GlobalConfig.DbConfig |
setInsertStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy insertStrategy) |
GlobalConfig.DbConfig |
setKeyGenerators(java.util.List<IKeyGenerator> keyGenerators) |
GlobalConfig.DbConfig |
setLogicDeleteField(java.lang.String logicDeleteField) |
GlobalConfig.DbConfig |
setLogicDeleteValue(java.lang.String logicDeleteValue) |
GlobalConfig.DbConfig |
setLogicNotDeleteValue(java.lang.String logicNotDeleteValue) |
GlobalConfig.DbConfig |
setPropertyFormat(java.lang.String propertyFormat) |
GlobalConfig.DbConfig |
setReplacePlaceholder(boolean replacePlaceholder) |
GlobalConfig.DbConfig |
setSchema(java.lang.String schema) |
GlobalConfig.DbConfig |
setSelectStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy selectStrategy)
已过时。
|
GlobalConfig.DbConfig |
setTableFormat(java.lang.String tableFormat) |
GlobalConfig.DbConfig |
setTablePrefix(java.lang.String tablePrefix) |
GlobalConfig.DbConfig |
setTableUnderline(boolean tableUnderline) |
GlobalConfig.DbConfig |
setUpdateStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy updateStrategy) |
GlobalConfig.DbConfig |
setWhereStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy whereStrategy) |
java.lang.String |
toString() |
public com.baomidou.mybatisplus.annotation.FieldStrategy getWhereStrategy()
public com.baomidou.mybatisplus.annotation.IdType getIdType()
public java.lang.String getTablePrefix()
public java.lang.String getSchema()
public java.lang.String getColumnFormat()
public java.lang.String getTableFormat()
public java.lang.String getPropertyFormat()
public boolean isReplacePlaceholder()
public java.lang.String getEscapeSymbol()
public boolean isTableUnderline()
public boolean isCapitalMode()
public java.util.List<IKeyGenerator> getKeyGenerators()
public java.lang.String getLogicDeleteField()
public java.lang.String getLogicDeleteValue()
public java.lang.String getLogicNotDeleteValue()
public com.baomidou.mybatisplus.annotation.FieldStrategy getInsertStrategy()
public com.baomidou.mybatisplus.annotation.FieldStrategy getUpdateStrategy()
@Deprecated public com.baomidou.mybatisplus.annotation.FieldStrategy getSelectStrategy()
public GlobalConfig.DbConfig setIdType(com.baomidou.mybatisplus.annotation.IdType idType)
this
.public GlobalConfig.DbConfig setTablePrefix(java.lang.String tablePrefix)
this
.public GlobalConfig.DbConfig setSchema(java.lang.String schema)
this
.public GlobalConfig.DbConfig setColumnFormat(java.lang.String columnFormat)
this
.public GlobalConfig.DbConfig setTableFormat(java.lang.String tableFormat)
this
.public GlobalConfig.DbConfig setPropertyFormat(java.lang.String propertyFormat)
this
.public GlobalConfig.DbConfig setReplacePlaceholder(boolean replacePlaceholder)
this
.public GlobalConfig.DbConfig setEscapeSymbol(java.lang.String escapeSymbol)
this
.public GlobalConfig.DbConfig setTableUnderline(boolean tableUnderline)
this
.public GlobalConfig.DbConfig setCapitalMode(boolean capitalMode)
this
.public GlobalConfig.DbConfig setKeyGenerators(java.util.List<IKeyGenerator> keyGenerators)
this
.public GlobalConfig.DbConfig setLogicDeleteField(java.lang.String logicDeleteField)
this
.public GlobalConfig.DbConfig setLogicDeleteValue(java.lang.String logicDeleteValue)
this
.public GlobalConfig.DbConfig setLogicNotDeleteValue(java.lang.String logicNotDeleteValue)
this
.public GlobalConfig.DbConfig setInsertStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy insertStrategy)
this
.public GlobalConfig.DbConfig setUpdateStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy updateStrategy)
this
.@Deprecated public GlobalConfig.DbConfig setSelectStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy selectStrategy)
this
.public GlobalConfig.DbConfig setWhereStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy whereStrategy)
this
.public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object