字段属性

Property Type Description
title string 标题
description string 描述
column string 数据库物理字段名,默认为字段名
identity boolean 是否主键,默认false
increment boolean 是否自增长主键,默认false,设置为true会同时设置identity=true
type string Required,数据库字段类型,可同时定义长度,详细看字段类型
length integer 长度
precision integer
scale integer
dataType string 数据类型(在swagger spec中的数据类型),参考API数据类型
required boolean 是否必须,默认为false
value string 非物理字段的固定值,是一个JSON格式的简单数值或者是一个环境变量
default string 非物理字段的默认值,是一个JSON格式的简单数值或者是一个环境变量
columnDefault string 物理字段的默认值
update boolean 字段是否可更新,默认为true
persist boolean 是否持久化,默认为true,设置为false表示这是一个逻辑字段
internal boolean 字段是否不对外公开,默认为false
sortable boolean 字段是否可被排序,默认为false
filterable boolean 字段是否可被作为过滤条件,默认为false
options string 字段选项集名称
format string 字段格式
validate string 字段验证表达式
input string 字段输入类型
meaning string 字段含义
Bingosoft            updated 2018-07-23
上一篇:字段定义 下一篇:字段表达式

results matching ""

    No results matching ""