ÎļþÃû´Ó ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/GenConstants.java ÐÞ¸Ä |
| | |
| | | package com.ruoyi.common.core.constant; |
| | | package com.ruoyi.generator.constant; |
| | | |
| | | /** |
| | | * 代ç çæéç¨å¸¸é |
| | |
| | | /** |
| | | * æ°æ®åºå符串类å |
| | | */ |
| | | String[] COLUMNTYPE_STR = {"char", "varchar", "nvarchar", "varchar2"}; |
| | | String[] COLUMNTYPE_STR = {"char", "varchar", "enum", "set", "nchar", "nvarchar", "varchar2", "nvarchar2"}; |
| | | |
| | | /** |
| | | * æ°æ®åºææ¬ç±»å |
| | | */ |
| | | String[] COLUMNTYPE_TEXT = {"tinytext", "text", "mediumtext", "longtext"}; |
| | | String[] COLUMNTYPE_TEXT = {"tinytext", "text", "mediumtext", "longtext", "binary", "varbinary", "blob", |
| | | "ntext", "image", "bytea"}; |
| | | |
| | | /** |
| | | * æ°æ®åºæ¶é´ç±»å |
| | | */ |
| | | String[] COLUMNTYPE_TIME = {"datetime", "time", "date", "timestamp"}; |
| | | String[] COLUMNTYPE_TIME = {"datetime", "time", "date", "timestamp", "year", "interval", |
| | | "smalldatetime", "datetime2", "datetimeoffset"}; |
| | | |
| | | /** |
| | | * æ°æ®åºæ°åç±»å |
| | | */ |
| | | String[] COLUMNTYPE_NUMBER = {"tinyint", "smallint", "mediumint", "int", "number", "integer", |
| | | "bit", "bigint", "float", "double", "decimal"}; |
| | | "bit", "bigint", "float", "double", "decimal", "numeric", "real", "double precision", |
| | | "smallserial", "serial", "bigserial", "money", "smallmoney"}; |
| | | |
| | | /** |
| | | * BO对象 ä¸éè¦æ·»å åæ®µ |
| | | */ |
| | | String[] COLUMNNAME_NOT_ADD = {"create_by", "create_time", "del_flag", "update_by", |
| | | String[] COLUMNNAME_NOT_ADD = {"create_dept", "create_by", "create_time", "del_flag", "update_by", |
| | | "update_time", "version"}; |
| | | |
| | | /** |
| | | * BO对象 ä¸éè¦ç¼è¾å段 |
| | | */ |
| | | String[] COLUMNNAME_NOT_EDIT = {"create_by", "create_time", "del_flag", "update_by", |
| | | String[] COLUMNNAME_NOT_EDIT = {"create_dept", "create_by", "create_time", "del_flag", "update_by", |
| | | "update_time", "version"}; |
| | | |
| | | /** |
| | | * VO对象 ä¸éè¦è¿ååæ®µ |
| | | */ |
| | | String[] COLUMNNAME_NOT_LIST = {"create_by", "create_time", "del_flag", "update_by", |
| | | String[] COLUMNNAME_NOT_LIST = {"create_dept", "create_by", "create_time", "del_flag", "update_by", |
| | | "update_time", "version"}; |
| | | |
| | | /** |
| | | * BO对象 ä¸éè¦æ¥è¯¢å段 |
| | | */ |
| | | String[] COLUMNNAME_NOT_QUERY = {"id", "create_by", "create_time", "del_flag", "update_by", |
| | | String[] COLUMNNAME_NOT_QUERY = {"id", "create_dept", "create_by", "create_time", "del_flag", "update_by", |
| | | "update_time", "remark", "version"}; |
| | | |
| | | /** |
| | | * Entityåºç±»å段 |
| | | */ |
| | | String[] BASE_ENTITY = {"createBy", "createTime", "updateBy", "updateTime"}; |
| | | String[] BASE_ENTITY = {"createDept", "createBy", "createTime", "updateBy", "updateTime"}; |
| | | |
| | | /** |
| | | * Treeåºç±»å段 |