|
|
@@ -71,6 +71,7 @@ public interface SwEnum { |
|
|
|
public static StrEnumBean INPUT = instance.addEnum("text", "文本"); |
|
|
|
public static StrEnumBean TEXT = instance.addEnum("textarea", "长文本"); |
|
|
|
public static StrEnumBean NUMBER = instance.addEnum("number", "数字"); |
|
|
|
public static StrEnumBean SWITCH = instance.addEnum("switch", "布尔型"); |
|
|
|
public static StrEnumBean DATE = instance.addEnum("date", "日期"); |
|
|
|
public static StrEnumBean TIME = instance.addEnum("time", "时间"); |
|
|
|
public static StrEnumBean DATETIME = instance.addEnum("datetime", "日期时间"); |
|
|
@@ -122,7 +123,7 @@ public interface SwEnum { |
|
|
|
public static DataTypeBean TEXT = instance.addEnum("text", "大文本", "text", 0, "string", Types.CLOB, "", EditorType.TEXT.value); |
|
|
|
public static DataTypeBean INT = instance.addEnum("int", "整型", "int", 0, "int", Types.INTEGER, "0", EditorType.NUMBER.value); |
|
|
|
public static DataTypeBean SHORT = instance.addEnum("short", "短整型", "smallint", 0, "short", Types.SMALLINT, "0", EditorType.NUMBER.value); |
|
|
|
public static DataTypeBean BOOL = instance.addEnum("bool", "布尔型", "tinyint", 0, "boolean", Types.TINYINT, "0", EditorType.COMBO.value); |
|
|
|
public static DataTypeBean BOOL = instance.addEnum("bool", "布尔型", "tinyint", 0, "boolean", Types.TINYINT, "0", EditorType.SWITCH.value); |
|
|
|
public static DataTypeBean CURRENCY = instance.addEnum("currency", "金额型", "bigint", 0, "long", Types.BIGINT, "0", EditorType.NUMBER.value); |
|
|
|
public static DataTypeBean DATE = instance.addEnum("date", "日期型", "bigint", 0, "long", Types.BIGINT, "0", EditorType.DATE.value); |
|
|
|
public static DataTypeBean TIME = instance.addEnum("time", "时间型", "bigint", 0, "long", Types.BIGINT, "0", EditorType.TIME.value); |
|
|
|