MdModelInfo.java 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. package cn.com.goldenwater.domain;
  2. import com.baomidou.mybatisplus.annotation.TableId;
  3. import com.baomidou.mybatisplus.annotation.TableName;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import lombok.AllArgsConstructor;
  6. import lombok.Data;
  7. import lombok.NoArgsConstructor;
  8. import java.util.Date;
  9. /**
  10. * 模型信息对象 md_model_info
  11. *
  12. * @author 朱得糠
  13. * @date 2025-07-31
  14. */
  15. @AllArgsConstructor
  16. @NoArgsConstructor
  17. @Data
  18. @TableName
  19. public class MdModelInfo {
  20. /**
  21. * 模型标识
  22. */
  23. @TableId
  24. private String mdid;
  25. /**
  26. * 模型名称
  27. */
  28. private String name;
  29. /**
  30. * 模型英文名称
  31. */
  32. private String enname;
  33. /**
  34. * 目录标识
  35. */
  36. private String cateid;
  37. /**
  38. * 开发语言
  39. */
  40. private String devlang;
  41. /**
  42. * 模型版本号
  43. */
  44. private String version;
  45. /**
  46. * 模型介绍,简介
  47. */
  48. private String intro;
  49. /**
  50. * 模型分类
  51. */
  52. private String type;
  53. /**
  54. * 模型标签
  55. */
  56. private String tags;
  57. /**
  58. * 模型类别
  59. */
  60. private String kind;
  61. /**
  62. * 模型用途
  63. */
  64. private String purpose;
  65. /**
  66. * 可否率定
  67. */
  68. private Integer israte;
  69. /**
  70. * 权值
  71. */
  72. private Double weight;
  73. /**
  74. * 区分系统内的模型,还是第三方的模型
  75. */
  76. private String devkind;
  77. /**
  78. * 开发者用户编号
  79. */
  80. private String author;
  81. /**
  82. * 是否发布
  83. */
  84. private Integer ispublic;
  85. /**
  86. * 是否审核
  87. */
  88. private Integer isapproved;
  89. /**
  90. * 模型状态
  91. */
  92. private Integer status;
  93. /**
  94. * 模型类名
  95. */
  96. private String classname;
  97. /**
  98. * 模型运行命令
  99. */
  100. private String mdRunCmd;
  101. /**
  102. * 模型URL地址
  103. */
  104. private String mdUrl;
  105. /**
  106. * 模型验证类型
  107. */
  108. private String mdAuth;
  109. /**
  110. * 模型Header项
  111. */
  112. private String mdHeader;
  113. /**
  114. * 模型TOKEN Sercet
  115. */
  116. private String mdSecret;
  117. /**
  118. * 模型提供单位
  119. */
  120. private String mdUnit;
  121. /**
  122. * 模型单位联系方式
  123. */
  124. private String mdContact;
  125. /**
  126. * 开发单位,技术支撑单位
  127. */
  128. private String devUnit;
  129. /**
  130. * 开发单位联系方式
  131. */
  132. private String devContact;
  133. /**
  134. * 是否使用WebHook
  135. */
  136. private Integer whFlag;
  137. /**
  138. * 模型消息WebHook URL地址
  139. */
  140. private String whUrl;
  141. /**
  142. * WebHook请求方法
  143. */
  144. private String whMethod;
  145. /**
  146. * WebHook验证类型
  147. */
  148. private String whAuth;
  149. /**
  150. * WebHook Header项
  151. */
  152. private String whHeader;
  153. /**
  154. * WebHook TOKEN Sercet
  155. */
  156. private String whSecret;
  157. /**
  158. * 模型运行服务器操作系统
  159. */
  160. private String envOs;
  161. /**
  162. * 模型运行服务器架构
  163. */
  164. private String evnArmX86;
  165. /**
  166. * 模型CPU核心数
  167. */
  168. private Integer envCpu;
  169. /**
  170. * GPU类型
  171. */
  172. private String envGpuType;
  173. /**
  174. * GPU数量
  175. */
  176. private Integer envGpuNum;
  177. /**
  178. * GPU显存大小
  179. */
  180. private Integer envGpuMem;
  181. /**
  182. * 所需存储空间大小
  183. */
  184. private Integer envDisk;
  185. /**
  186. * 所需内存大小
  187. */
  188. private Integer envMem;
  189. /**
  190. * 部署服务器IP
  191. */
  192. private String deployIp;
  193. /**
  194. * 部署目录
  195. */
  196. private String deployDir;
  197. /**
  198. * 部署端口
  199. */
  200. private String deployPort;
  201. /**
  202. * 部署说明
  203. */
  204. private String deployNote;
  205. /**
  206. * 模型输入文件名称
  207. */
  208. private String mdInName;
  209. /**
  210. * 模型输入文件存储路径
  211. */
  212. private String mdInFile;
  213. /**
  214. * 模型输入说明
  215. */
  216. private String mdInNote;
  217. /**
  218. * 模型输出文件名称
  219. */
  220. private String mdOutName;
  221. /**
  222. * 模型输出文件存储路径
  223. */
  224. private String mdOutFile;
  225. /**
  226. * 模型输出说明
  227. */
  228. private String mdOutNote;
  229. /**
  230. * 模型镜像名称
  231. */
  232. private String mirrorImageName;
  233. /**
  234. * 模型镜像地址/服务地址
  235. */
  236. private String mirrorImageUrl;
  237. /**
  238. * 模型对应文件描述表
  239. */
  240. private String mirrorImageDesc;
  241. /**
  242. * 验证url
  243. */
  244. private String mdAuthUrl;
  245. /**
  246. * 编辑时间
  247. */
  248. @JsonFormat(pattern = "yyyy-MM-dd")
  249. private Date modifyby;
  250. /**
  251. * 创建时间
  252. */
  253. @JsonFormat(pattern = "yyyy-MM-dd")
  254. private Date createby;
  255. }