public class TColumn extends AbstractModel
header, skipSign
Constructor and Description |
---|
TColumn() |
TColumn(TColumn source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get 字段描述
|
String |
getDefault()
Get 字段默认值
|
String |
getName()
Get 字段名称
|
Boolean |
getNotNull()
Get 字段是否是非空
|
Long |
getPrecision()
Get 表示整个 numeric 的长度,取值1-38
|
Long |
getScale()
Get 表示小数部分的长度
Scale小于Precision
|
String |
getType()
Get 字段类型
|
void |
setComment(String Comment)
Set 字段描述
|
void |
setDefault(String Default)
Set 字段默认值
|
void |
setName(String Name)
Set 字段名称
|
void |
setNotNull(Boolean NotNull)
Set 字段是否是非空
|
void |
setPrecision(Long Precision)
Set 表示整个 numeric 的长度,取值1-38
|
void |
setScale(Long Scale)
Set 表示小数部分的长度
Scale小于Precision
|
void |
setType(String Type)
Set 字段类型
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TColumn()
public TColumn(TColumn source)
public String getName()
public void setName(String Name)
Name
- 字段名称public String getType()
public void setType(String Type)
Type
- 字段类型public String getComment()
public void setComment(String Comment)
Comment
- 字段描述public String getDefault()
public void setDefault(String Default)
Default
- 字段默认值public Boolean getNotNull()
public void setNotNull(Boolean NotNull)
NotNull
- 字段是否是非空public Long getPrecision()
public void setPrecision(Long Precision)
Precision
- 表示整个 numeric 的长度,取值1-38public Long getScale()
public void setScale(Long Scale)
Scale
- 表示小数部分的长度
Scale小于PrecisionCopyright © 2024. All rights reserved.