parent
df89ba46f3
commit
d564cedfb5
11 changed files with 242 additions and 37 deletions
@ -0,0 +1,64 @@ |
||||
package org.springblade.plugin.operation.database.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.tenant.mp.TenantEntity; |
||||
|
||||
@Data |
||||
@TableName("t_data_base") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class DataBase extends TenantEntity { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 数据库名称 |
||||
*/ |
||||
private String dataBaseName; |
||||
|
||||
/** |
||||
* 数据库中文别名 |
||||
*/ |
||||
private String dataBaseAlias; |
||||
|
||||
/** |
||||
* 数据库类型 |
||||
*/ |
||||
private Integer dataBaseType; |
||||
|
||||
/** |
||||
* 数据库版本 |
||||
*/ |
||||
private String dataBaseVersion; |
||||
|
||||
/** |
||||
* 数据库ip |
||||
*/ |
||||
private String dataBaseIp; |
||||
|
||||
/** |
||||
* 数据库端口 |
||||
*/ |
||||
private String dataBasePort; |
||||
|
||||
/** |
||||
* 系统名称 |
||||
*/ |
||||
private String systemName; |
||||
|
||||
/** |
||||
* 模块名称 |
||||
*/ |
||||
private String systemModuleName; |
||||
|
||||
/** |
||||
* 表名称 |
||||
*/ |
||||
private String dataTableName; |
||||
|
||||
/** |
||||
* 中文别名 |
||||
*/ |
||||
private String dataTableAlias; |
||||
} |
||||
@ -0,0 +1,62 @@ |
||||
package org.springblade.plugin.operation.database.excel; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
@Data |
||||
public class DatabaseExcel implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("序号") |
||||
private String number; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("IP地址") |
||||
private String ip; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("端口号") |
||||
private String port; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("数据库实例") |
||||
private String databaseInstance; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("数据库类型") |
||||
private String databaseType; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("数据库中文名") |
||||
private String databaseChineseName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("系统名称") |
||||
private String code1; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("模块名称") |
||||
private String code2; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("管理部门") |
||||
private String code3; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("运维公司") |
||||
private String code4; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("表名") |
||||
private String code5; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("中文表别名") |
||||
private String code6; |
||||
|
||||
} |
||||
@ -0,0 +1,25 @@ |
||||
package org.springblade.plugin.operation.system.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.tenant.mp.TenantEntity; |
||||
|
||||
@Data |
||||
@TableName("t_module_info") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class ModuleInfo extends TenantEntity { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主表id |
||||
*/ |
||||
private String projectInfoId; |
||||
|
||||
/** |
||||
* 模块名称 |
||||
*/ |
||||
private String moduleName; |
||||
|
||||
} |
||||
@ -0,0 +1,29 @@ |
||||
package org.springblade.plugin.operation.system.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.tenant.mp.TenantEntity; |
||||
|
||||
@Data |
||||
@TableName("t_project_info") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class ProjectInfo extends TenantEntity { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 任务分类名称 |
||||
*/ |
||||
private String name; |
||||
|
||||
/** |
||||
* 上级id |
||||
*/ |
||||
private Long pid; |
||||
|
||||
/** |
||||
* 排序 |
||||
*/ |
||||
private Integer sort; |
||||
} |
||||
@ -0,0 +1,29 @@ |
||||
package org.springblade.plugin.operation.task.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.tenant.mp.TenantEntity; |
||||
|
||||
@Data |
||||
@TableName("t_task_info") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class TaskInfo extends TenantEntity { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 任务种类名称 |
||||
*/ |
||||
private String taskTypeName; |
||||
|
||||
/** |
||||
* 任务父类,字典id |
||||
*/ |
||||
private String taskParentId; |
||||
|
||||
/** |
||||
* 人物等级,字典id |
||||
*/ |
||||
private String taskLevel; |
||||
} |
||||
Loading…
Reference in new issue