problemVo.ts 855 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * Generated by orval v7.0.1 🍺
  3. * Do not edit manually.
  4. * Serve API
  5. * Serve应用接口文档
  6. * OpenAPI spec version: 0.0.1-SNAPSHOT
  7. */
  8. import type { ProblemVoDifficulty } from "./problemVoDifficulty";
  9. import type { ProblemVoIsPublic } from "./problemVoIsPublic";
  10. /**
  11. * 题目列表响应展示对象
  12. */
  13. export interface ProblemVo {
  14. /** 通过次数 */
  15. acceptedCount?: number;
  16. /** 创建时间 */
  17. createdAt?: string;
  18. /** 难度:easy-简单,medium-中等,hard-困难 */
  19. difficulty?: ProblemVoDifficulty;
  20. /** 题目ID */
  21. id?: number;
  22. /** 是否公开题目,0-未公开,1-公开 */
  23. isPublic?: ProblemVoIsPublic;
  24. /** 内存限制(MB) */
  25. memoryLimitMb?: number;
  26. /** 时间限制(毫秒) */
  27. timeLimitMs?: number;
  28. /** 题目标题 */
  29. title?: string;
  30. /** 总提交次数 */
  31. tryCount?: number;
  32. }