From 814e3f292fa2921762d0c2779a283574f92d8aee Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Fri, 14 Jul 2023 10:14:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20TableInfo=20?= =?UTF-8?q?=E8=A1=A8=E4=BF=A1=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processor/entity/TableInfo.java | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 mybatis-flex-processor/src/main/java/com/mybatisflex/processor/entity/TableInfo.java diff --git a/mybatis-flex-processor/src/main/java/com/mybatisflex/processor/entity/TableInfo.java b/mybatis-flex-processor/src/main/java/com/mybatisflex/processor/entity/TableInfo.java new file mode 100644 index 00000000..b3796e9f --- /dev/null +++ b/mybatis-flex-processor/src/main/java/com/mybatisflex/processor/entity/TableInfo.java @@ -0,0 +1,92 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *
+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.mybatisflex.processor.entity; + +/** + * 表详细信息。 + * + * @author 王帅 + * @since 2023-07-13 + */ +public class TableInfo { + + /** + * 实体类全类名。 + */ + private String entityName; + + /** + * 实体类简单类名。 + */ + private String entitySimpleName; + + /** + * 实体类注释。 + */ + private String entityComment; + + /** + * 表名称。 + */ + private String tableName; + + /** + * Schema 模式。 + */ + private String schema; + + public String getEntityName() { + return entityName; + } + + public void setEntityName(String entityName) { + this.entityName = entityName; + } + + public String getEntitySimpleName() { + return entitySimpleName; + } + + public void setEntitySimpleName(String entitySimpleName) { + this.entitySimpleName = entitySimpleName; + } + + public String getEntityComment() { + return entityComment; + } + + public void setEntityComment(String entityComment) { + this.entityComment = entityComment; + } + + public String getTableName() { + return tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getSchema() { + return schema; + } + + public void setSchema(String schema) { + this.schema = schema; + } + +}