career.ts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. import { Entity } from ".";
  2. /**
  3. * 职业项接口
  4. */
  5. export interface CareerItem {
  6. id: number;
  7. name: string;
  8. type: string;
  9. level: number;
  10. code: string;
  11. childCount: number;
  12. children: CareerItem[];
  13. learnYearArab: string;
  14. grandchildCount: number;
  15. }
  16. /**
  17. * 职业树查询参数
  18. */
  19. export interface CareerTreeQueryDTO {
  20. name?: string;
  21. level?: number;
  22. }
  23. /**
  24. * 职业详情接口
  25. */
  26. export interface CareerOverview extends Entity {
  27. code: string;
  28. description: string;
  29. hits: string;
  30. jobs: {
  31. code: string;
  32. name: string;
  33. hits: string;
  34. }[];
  35. level: number;
  36. levelName: string;
  37. levels: {
  38. code: string;
  39. name: string;
  40. }[];
  41. postJobs: {
  42. name: string;
  43. hotCity: string;
  44. salaryMax: number;
  45. salaryMin: number;
  46. hotIndustry: string;
  47. }[];
  48. postMajors: {
  49. code: string;
  50. femaleRatio: number;
  51. learnYear: string;
  52. maleRatio: number;
  53. mfRatioView: string;
  54. name: string;
  55. }[];
  56. status: number;
  57. summary: string;
  58. tags: string[];
  59. }
  60. export interface CareerJob extends Entity {
  61. code: string;
  62. salaryMax: string;
  63. salaryMin: string;
  64. salaryUnit: string;
  65. }
  66. export interface CareerJobSalary {
  67. city: string;
  68. salary: number;
  69. sample: number;
  70. }
  71. export interface CareerJobExperience {
  72. year: string;
  73. salary: number;
  74. sampleCount: number;
  75. }
  76. export interface CareerJobEdu {
  77. edu: string;
  78. ratio: number;
  79. }
  80. export interface CareerJobExp {
  81. exp: string;
  82. ratio: number;
  83. }
  84. export interface CareerJobDetail extends Entity {
  85. citySalary: CareerJobSalary[];
  86. demand: {
  87. city: string;
  88. count: number;
  89. }[];
  90. edu: CareerJobEdu[];
  91. exp: CareerJobExp[];
  92. experience: CareerJobExperience[];
  93. industrySalary: {
  94. name: string;
  95. salary: number;
  96. sampleCount: number;
  97. }[];
  98. salary: {
  99. max: number;
  100. min: number;
  101. ratio: number;
  102. }[];
  103. salaryAvg: string;
  104. salarySource: string;
  105. sampleDesc: string | null;
  106. vocationalSource: string;
  107. }
  108. export interface UniversityQueryDTO {
  109. code: string;
  110. pageNum: number;
  111. pageSize: number;
  112. }
  113. export interface University {
  114. address: string;
  115. area: number;
  116. bxLevel: string;
  117. cityName: string;
  118. code: string;
  119. collect: boolean;
  120. comScore: string;
  121. enrollLocation: string;
  122. features: string;
  123. hits: number;
  124. id: number;
  125. location: string;
  126. logo: string;
  127. name: string;
  128. natureTypeCN: string;
  129. star: string;
  130. type: string;
  131. webSite: string;
  132. }