public static class AppTableFieldProperty.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
AppTableFieldProperty.Builder |
autoFill(Boolean autoFill)
日期字段中新纪录自动填写创建时间
示例值:false
|
AppTableFieldProperty.Builder |
autoSerial(AppFieldPropertyAutoSerial autoSerial)
自动编号类型
示例值:
|
AppTableFieldProperty.Builder |
backFieldName(String backFieldName)
双向关联字段中关联的数据表中对应的双向关联字段的名字
示例值:"table1-双向关联"
|
AppTableFieldProperty |
build() |
AppTableFieldProperty.Builder |
dateFormatter(String dateFormatter)
日期、创建时间、最后更新时间字段的显示格式
示例值:日期格式
|
AppTableFieldProperty.Builder |
formatter(String formatter)
数字、公式字段的显示格式
示例值:0
|
AppTableFieldProperty.Builder |
location(AppFieldPropertyLocation location)
地理位置输入方式
示例值:
|
AppTableFieldProperty.Builder |
multiple(Boolean multiple)
人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录
示例值:false
|
AppTableFieldProperty.Builder |
options(AppTableFieldPropertyOption[] options)
单选、多选字段的选项信息
示例值:
|
AppTableFieldProperty.Builder |
tableId(String tableId)
单向关联、双向关联字段中关联的数据表的id
示例值:tblsRc9GRRXKqhvW
|
AppTableFieldProperty.Builder |
tableName(String tableName)
单向关联、双向关联字段中关联的数据表的名字
示例值:"table2"
|
public AppTableFieldProperty.Builder options(AppTableFieldPropertyOption[] options)
示例值:
options - public AppTableFieldProperty.Builder formatter(String formatter)
示例值:0
formatter - public AppTableFieldProperty.Builder dateFormatter(String dateFormatter)
示例值:日期格式
dateFormatter - public AppTableFieldProperty.Builder autoFill(Boolean autoFill)
示例值:false
autoFill - public AppTableFieldProperty.Builder multiple(Boolean multiple)
示例值:false
multiple - public AppTableFieldProperty.Builder tableId(String tableId)
示例值:tblsRc9GRRXKqhvW
tableId - public AppTableFieldProperty.Builder tableName(String tableName)
示例值:"table2"
tableName - public AppTableFieldProperty.Builder backFieldName(String backFieldName)
示例值:"table1-双向关联"
backFieldName - public AppTableFieldProperty.Builder autoSerial(AppFieldPropertyAutoSerial autoSerial)
示例值:
autoSerial - public AppTableFieldProperty.Builder location(AppFieldPropertyLocation location)
示例值:
location - public AppTableFieldProperty build()
Copyright © 2022. All rights reserved.