init: 导入团队知识库内容

This commit is contained in:
yueqian-ai
2026-05-14 16:56:48 +08:00
commit acca2041f0
1681 changed files with 285734 additions and 0 deletions
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2026 Qiantong Technology Co., Ltd.
qModel Model Platform(Open Source Edition)
*
License:
Released under the Apache License, Version 2.0.
You may use, modify, and distribute this software for commercial purposes
under the terms of the License.
*
Special Notice:
All derivative versions are strictly prohibited from modifying or removing
the default system logo and copyright information.
For brand customization, please apply for brand customization authorization via official channels.
*
More information: https://qmodel.qiantong.tech/business.html
*
============================================================================
*
版权所有 © 2026 江苏千桐科技有限公司
qModel 模型平台(开源版)
*
许可协议:
本项目基于 Apache License 2.0 开源协议发布,
允许在遵守协议的前提下进行商用、修改和分发。
*
特别说明:
所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
如需定制品牌,请通过官方渠道申请品牌定制授权。
*
更多信息请访问:https://qmodel.qiantong.tech/business.html
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>qmodel-module-model</artifactId>
<groupId>tech.qiantong</groupId>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>qmodel-module-model-api</artifactId>
<description>
system-api系统模块
</description>
<dependencies>
<!-- 通用工具-->
<dependency>
<groupId>tech.qiantong</groupId>
<artifactId>qmodel-common</artifactId>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,102 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.cacl.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型计算重构 DTO 对象 MODEL_CACL_RECONSTITUTION
*
* @author qModel
* @date 2026-01-12
*/
@Data
public class ModelCaclReqDTO {
private static final long serialVersionUID = 1L;
/** 主键id */
private Long ID;
/** 企业id */
private Long companyId;
/** 计算编码 */
private String CODE;
/** 计算名称 */
private String NAME;
/** 模型id */
private Long modelId;
/** 模型名称 */
private String modelName;
/** 模型版本 */
private String modelVersion;
/** 开始时间 */
private Date startTime;
/** 结束时间 */
private Date endTime;
/** 计算状态 */
private Long STATUS;
/** 模型输入内容 */
private String inputContent;
/** 模型输出内容 */
private String outputContent;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
/** 文件或接口地址id */
private Long addressId;
/** 判断是文件的id还是地址的id,0:文件,1:接口 */
private Long addressType;
/** 文件计算的历史方案id */
private Long mpProgrammeId;
}
@@ -0,0 +1,102 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.cacl.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型计算重构 DTO 对象 MODEL_CACL_RECONSTITUTION
*
* @author qModel
* @date 2026-01-12
*/
@Data
public class ModelCaclRespDTO {
private static final long serialVersionUID = 1L;
/** 主键id */
private Long ID;
/** 企业id */
private Long companyId;
/** 计算编码 */
private String CODE;
/** 计算名称 */
private String NAME;
/** 模型id */
private Long modelId;
/** 模型名称 */
private String modelName;
/** 模型版本 */
private String modelVersion;
/** 开始时间 */
private Date startTime;
/** 结束时间 */
private Date endTime;
/** 计算状态 */
private Long STATUS;
/** 模型输入内容 */
private String inputContent;
/** 模型输出内容 */
private String outputContent;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
/** 文件或接口地址id */
private Long addressId;
/** 判断是文件的id还是地址的id,0:文件,1:接口 */
private Long addressType;
/** 文件计算的历史方案id */
private Long mpProgrammeId;
}
@@ -0,0 +1,73 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.classify.dto;
import lombok.Data;
/**
* 模型分类 DTO 对象 MODEL_CLASSIFY
*
* @author qModel
* @date 2026-01-07
*/
@Data
public class ModelClassifyReqDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业id */
private Long companyId;
/** 父级id */
private Long parentId;
/** 祖籍列表 */
private String ancestors;
/** 分类名称 */
private String name;
/** 分类描述 */
private String description;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,75 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.classify.dto;
import lombok.Data;
/**
* 模型分类 DTO 对象 MODEL_CLASSIFY
*
* @author qModel
* @date 2026-01-07
*/
@Data
public class ModelClassifyRespDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业id */
private Long companyId;
/** 父级id */
private Long parentId;
/** 祖籍列表 */
private String ancestors;
/** 分类名称 */
private String name;
/** 分类描述 */
private String description;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,78 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.history.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型历史 DTO 对象 MODEL_HISTORY
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelHistoryReqDTO {
private static final long serialVersionUID = 1L;
/** 主键id */
private Long id;
/** 企业id */
private Long companyId;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 操作内容 */
private String context;
/** 启用时间 */
private Date startTime;
/** 启用版本号 */
private String modelVersion;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,78 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.history.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型历史 DTO 对象 MODEL_HISTORY
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelHistoryRespDTO {
private static final long serialVersionUID = 1L;
/** 主键id */
private Long id;
/** 企业id */
private Long companyId;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 操作内容 */
private String context;
/** 启用时间 */
private Date startTime;
/** 启用版本号 */
private String modelVersion;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,97 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.input.dto;
import lombok.Data;
/**
* 模型输入管理 DTO 对象 MODEL_INPUT
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelInputReqDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业Id */
private Long companyId;
/** 参数名称 */
private String name;
/** 英文名称 */
private String engName;
/** 参数类型 0:单值,1:多列数值,2:文件 */
private Long type;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 所属模型版本 */
private String modelVersion;
/** 参数说明(描述) */
private String description;
/** 参数示例(文件上传) */
private String example;
/** 参数文件 */
private String paramFile;
/** 参数单值 */
private String singleContent;
/** 参数多列值 */
private String multipleContent;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
/** 是否可变 */
private Boolean changeFlag;
}
@@ -0,0 +1,97 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.input.dto;
import lombok.Data;
/**
* 模型输入管理 DTO 对象 MODEL_INPUT
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelInputRespDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业Id */
private Long companyId;
/** 参数名称 */
private String name;
/** 英文名称 */
private String engName;
/** 参数类型 0:单值,1:多列数值,2:文件 */
private Long type;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 所属模型版本 */
private String modelVersion;
/** 参数说明(描述) */
private String description;
/** 参数示例(文件上传) */
private String example;
/** 参数文件 */
private String paramFile;
/** 参数单值 */
private String singleContent;
/** 参数多列值 */
private String multipleContent;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
/** 是否可变 */
private Boolean changeFlag;
}
@@ -0,0 +1,82 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.interfaceAddress.dto;
import lombok.Data;
/**
* 接口地址 DTO 对象 MODEL_INTERFACE_ADDRESS
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelInterfaceAddressReqDTO {
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 企业id */
private Long companyId;
/** 模型id */
private Long modelId;
/** 接口地址 */
private String interfaceAddress;
/** 模型版本id */
private Long versionId;
/** 请求方式 */
private Integer requestMethod;
/** 输入参数 */
private String inputParameter;
/** 输出参数 */
private String outputParameter;
/** 删除标志 */
private Boolean delFlag;
/** 输入参数说明 */
private String inputParameterIllustrate;
/** 输出参数说明 */
private String outputParameterIllustrate;
}
@@ -0,0 +1,82 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.interfaceAddress.dto;
import lombok.Data;
/**
* 接口地址 DTO 对象 MODEL_INTERFACE_ADDRESS
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelInterfaceAddressRespDTO {
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 企业id */
private Long companyId;
/** 模型id */
private Long modelId;
/** 接口地址 */
private String interfaceAddress;
/** 模型版本id */
private Long versionId;
/** 请求方式 */
private Integer requestMethod;
/** 输入参数 */
private String inputParameter;
/** 输出参数 */
private String outputParameter;
/** 删除标志 */
private Boolean delFlag;
/** 输入参数说明 */
private String inputParameterIllustrate;
/** 输出参数说明 */
private String outputParameterIllustrate;
}
@@ -0,0 +1,114 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.model.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型管理 DTO 对象 MODEL
*
* @author qModel
* @date 2026-01-07
*/
@Data
public class ModelReqDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业id */
private Long companyId;
/** 分类id */
private Long classifyId;
/** 父级和自己id */
private String ancestors;
/** 模型名称 */
private String name;
/** 模型介绍 */
private String description;
/** 所属模型类别 0:水文,1:水动力,2:水质 */
private Long type;
/** 所属纬度 0:一维,1:二维,2:三维 */
private Long dimensions;
/** 模型版本号 */
private String version;
/** 模型调用接口 */
private String interfaceAddress;
/** 是否内置 0:否,1:是 */
private Long builtin;
/** 模型格式 */
private Long format;
/** 模型大小 0exe格式 */
private Long size;
/** 数据来源 */
private String source;
/** 上传状态 */
private Long uploadStatus;
/** 上传时间 */
private Date uploadTime;
/** 上传接口 */
private String uploadInterface;
/** 上传文件 */
private String uploadFile;
/** 文件地址 */
private String uploadLocation;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,114 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.model.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型管理 DTO 对象 MODEL
*
* @author qModel
* @date 2026-01-07
*/
@Data
public class ModelRespDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业id */
private Long companyId;
/** 分类id */
private Long classifyId;
/** 父级和自己id */
private String ancestors;
/** 模型名称 */
private String name;
/** 模型介绍 */
private String description;
/** 所属模型类别 0:水文,1:水动力,2:水质 */
private Long type;
/** 所属纬度 0:一维,1:二维,2:三维 */
private Long dimensions;
/** 模型版本号 */
private String version;
/** 模型调用接口 */
private String interfaceAddress;
/** 是否内置 0:否,1:是 */
private Long builtin;
/** 模型格式 */
private Long format;
/** 模型大小 0exe格式 */
private Long size;
/** 数据来源 */
private String source;
/** 上传状态 */
private Long uploadStatus;
/** 上传时间 */
private Date uploadTime;
/** 上传接口 */
private String uploadInterface;
/** 上传文件 */
private String uploadFile;
/** 文件地址 */
private String uploadLocation;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,96 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.modelReconstitution.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型库重构 DTO 对象 MODEL_RECONSTITUTION
*
* @author qModel
* @date 2026-01-12
*/
@Data
public class ModelReconstitutionReqDTO {
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 企业id */
private Long companyId;
/** 模型名称 */
private String name;
/** 模型分类 */
private Long classifyId;
/** 是否预置 */
private Long builtin;
/** 接入方式 */
private Integer accessMode;
/** 请求方式 */
private Integer requestMethod;
/** 接口和文件的地址 */
private String interfaceorfileAddress;
/** 版本id */
private Long versionId;
/** 是否发布 */
private Long whetherPublish;
/** 发布时间 */
private Date publishTime;
/** 删除标志 */
private Boolean delFlag;
/** 接口的端口号 */
private String port;
/** 文件名称 */
private String filename;
/** 可执行文件相对路径 */
private String runnableFileAddress;
}
@@ -0,0 +1,96 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.modelReconstitution.dto;
import lombok.Data;
import java.util.Date;
/**
* 模型库重构 DTO 对象 MODEL_RECONSTITUTION
*
* @author qModel
* @date 2026-01-12
*/
@Data
public class ModelReconstitutionRespDTO {
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 企业id */
private Long companyId;
/** 模型名称 */
private String name;
/** 模型分类 */
private Long classifyId;
/** 是否预置 */
private Long builtin;
/** 接入方式 */
private Integer accessMode;
/** 请求方式 */
private Integer requestMethod;
/** 接口和文件的地址 */
private String interfaceorfileAddress;
/** 版本id */
private Long versionId;
/** 是否发布 */
private Long whetherPublish;
/** 发布时间 */
private Date publishTime;
/** 删除标志 */
private Boolean delFlag;
/** 接口的端口号 */
private String port;
/** 文件名称 */
private String filename;
/** 可执行文件相对路径 */
private String runnableFileAddress;
}
@@ -0,0 +1,88 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.operate.dto;
import lombok.Data;
/**
* 模型历史管理 DTO 对象 MODEL_OPERATE
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelOperateReqDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业id */
private Long companyId;
/** 操作模块 */
private String moduleName;
/** 操作类型 */
private Long type;
/** 操作内容 */
private String content;
/** 请求方式 */
private String method;
/** 请求参数 */
private String reqContent;
/** 返回参数 */
private String respContent;
/** 操作地址(Ip) */
private String ip;
/** 操作地点 */
private String address;
/** 操作状态 */
private Integer status;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,88 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.operate.dto;
import lombok.Data;
/**
* 模型历史管理 DTO 对象 MODEL_OPERATE
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelOperateRespDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业id */
private Long companyId;
/** 操作模块 */
private String moduleName;
/** 操作类型 */
private Long type;
/** 操作内容 */
private String content;
/** 请求方式 */
private String method;
/** 请求参数 */
private String reqContent;
/** 返回参数 */
private String respContent;
/** 操作地址(Ip) */
private String ip;
/** 操作地点 */
private String address;
/** 操作状态 */
private Integer status;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,88 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.output.dto;
import lombok.Data;
/**
* 模型输出管理 DTO 对象 MODEL_OUTPUT
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelOutputReqDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业Id */
private Long companyId;
/** 参数名称 */
private String name;
/** 英文名称 */
private String engName;
/** 参数类型 0:单值,1:多列数值 */
private Long type;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 所属模型版本 */
private String modelVersion;
/** 参数说明(描述) */
private String description;
/** 参数单值 */
private String singleContent;
/** 参数多列值 */
private String multipleContent;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,88 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.output.dto;
import lombok.Data;
/**
* 模型输出管理 DTO 对象 MODEL_OUTPUT
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelOutputRespDTO {
private static final long serialVersionUID = 1L;
/** ID */
private Long id;
/** 企业Id */
private Long companyId;
/** 参数名称 */
private String name;
/** 英文名称 */
private String engName;
/** 参数类型 0:单值,1:多列数值 */
private Long type;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 所属模型版本 */
private String modelVersion;
/** 参数说明(描述) */
private String description;
/** 参数单值 */
private String singleContent;
/** 参数多列值 */
private String multipleContent;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
}
@@ -0,0 +1,88 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.version.dto;
import lombok.Data;
/**
* 版本管理 DTO 对象 MODEL_VERSION
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelVersionReqDTO {
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 企业id */
private Long companyId;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 模型版本号 */
private String version;
/** 文件地址 */
private String fileAddress;
/** 接口地址 */
private String interfaceAddress;
/** 版本状态 */
private Integer status;
/** 描述 */
private String description;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
/** 文件的名称 */
private String fileName;
/** 可执行文件地址 */
private String runnableFileAddress;
}
@@ -0,0 +1,88 @@
/*
* Copyright © 2026 Qiantong Technology Co., Ltd.
* qModel Model Platform(Open Source Edition)
* *
* License:
* Released under the Apache License, Version 2.0.
* You may use, modify, and distribute this software for commercial purposes
* under the terms of the License.
* *
* Special Notice:
* All derivative versions are strictly prohibited from modifying or removing
* the default system logo and copyright information.
* For brand customization, please apply for brand customization authorization via official channels.
* *
* More information: https://qmodel.qiantong.tech/business.html
* *
* ============================================================================
* *
* 版权所有 © 2026 江苏千桐科技有限公司
* qModel 模型平台(开源版)
* *
* 许可协议:
* 本项目基于 Apache License 2.0 开源协议发布,
* 允许在遵守协议的前提下进行商用、修改和分发。
* *
* 特别说明:
* 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
* 如需定制品牌,请通过官方渠道申请品牌定制授权。
* *
* 更多信息请访问:https://qmodel.qiantong.tech/business.html
*/
package tech.qiantong.qmodel.module.model.api.version.dto;
import lombok.Data;
/**
* 版本管理 DTO 对象 MODEL_VERSION
*
* @author qModel
* @date 2026-01-09
*/
@Data
public class ModelVersionRespDTO {
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 企业id */
private Long companyId;
/** 所属模型id */
private Long modelId;
/** 所属模型名称 */
private String modelName;
/** 模型版本号 */
private String version;
/** 文件地址 */
private String fileAddress;
/** 接口地址 */
private String interfaceAddress;
/** 版本状态 */
private Integer status;
/** 描述 */
private String description;
/** 是否有效 0:无效,1:有效 */
private Boolean validFlag;
/** 删除标志 1:已删除,0:未删除 */
private Boolean delFlag;
/** 文件的名称 */
private String fileName;
/** 可执行文件地址 */
private String runnableFileAddress;
}