All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.wslxm.springbootplus2.manage.gc.model.entity.Datasource Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package io.github.wslxm.springbootplus2.manage.gc.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.wslxm.springbootplus2.core.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.ToString;

/**
 * 代码生成数据源维护表
 * 

* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655 *

* @author wangsong * @email [email protected] * @date 2020-11-04 20:11:08 */ @Data @ToString(callSuper = true) @TableName("t_gc_datasource") @ApiModel(value = "Datasource 对象", description = "代码生成数据源维护表") public class Datasource extends BaseEntity { private static final long serialVersionUID = 0L; /** * db -标题 */ @TableField(value = "db_title") private String dbTitle; /** * db 库名 */ @TableField(value = "db_name") private String dbName; /** * db 连接地址 */ @TableField(value = "db_url") private String dbUrl; /** * db 账号 */ @TableField(value = "db_username") private String dbUsername; /** * db 密码 */ @TableField(value = "db_password") private String dbPassword; /** * 作者 */ @TableField(value = "author") private String author; /** * 邮箱 */ @TableField(value = "email") private String email; /** * 描述信息 */ @TableField(value = "`describe`") private String describe; /** * 项目名/路径,如:xj-server/xj-test-server */ @TableField(value = "project_name") private String projectName; /** * 包路径 (如: io.github.wslxm) */ @TableField(value = "pack_path") private String packPath; /** * 根模块 (固定为:modules(管理端), 用户端为:client) */ @TableField(value = "root_module") private String rootModule; /** * 子模块 (业务分类,如用户管理,订单管理模块拆分,也可以统一一个名称放在一起) */ @TableField(value = "modules_name") private String modulesName; /** * db 表前缀 (生成的类名会过滤掉前缀) */ @TableField(value = "db_table_prefix") private String dbTablePrefix; /** * db 字段前缀 (生成的字段名会过滤掉前缀) */ @TableField(value = "db_field_prefix") private String dbFieldPrefix; /** * 实体类是否使用swagger注释 (false情况下使用doc注释) */ @TableField(value = "entity_swagger") private Boolean entitySwagger; /** * 是否过滤crud方法- 默认生成 (controller/service/mapper/xml) */ @TableField(value = "filter_crud") private Boolean filterCrud; /** * 生成路径(不填默认当前项目跟目录,可指定绝对路径) */ @TableField(value = "father_path") private String fatherPath; /** * 排除vue字段类型 (字典code值,参考字典生成字段类型,如: 18=富文本 19=md编辑器 ) */ @TableField(value = "vue_field_types") private String vueFieldTypes; /** * 数据库通用字段 */ @TableField(value = "base_fields") private String baseFields; /** * 数据库关键字 */ @TableField(value = "keyword_array") private String keywordArray; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy