model.ts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
  2. /**
  3. * @description: Request list interface parameters
  4. */
  5. export type PageParams = BasicPageParams;
  6. export interface operateList {
  7. companyId?: number;
  8. sceneName: string;
  9. snCode: string;
  10. userName: string;
  11. type?: number;
  12. pageNum?: number;
  13. pageSize?: number;
  14. }
  15. export interface overallList {
  16. searchKey: string;
  17. pageNum?: number;
  18. pageSize?: number;
  19. }
  20. export interface overallDelete {
  21. id: string;
  22. }
  23. export interface sceneMoveParams {
  24. snCode: string;
  25. num: string;
  26. }
  27. export interface sceneControlParams {
  28. num: string;
  29. }
  30. export interface ResultDetail{
  31. content: string,
  32. coverImageUrl: string,
  33. createTime: string,
  34. createrId: number;
  35. display: number;
  36. id: number;
  37. isPublic: number;
  38. isTop: number;
  39. newType: number;
  40. publicTime: string,
  41. source: string,
  42. tbStatus: number;
  43. title: string,
  44. topTime: string,
  45. updateTime: string,
  46. updaterId: number;
  47. }
  48. export interface addCameraParams {
  49. address: string;
  50. balance: string;
  51. cameraType: string;
  52. childName: string;
  53. companyId?: string;
  54. orderSn?: string;
  55. own: string;
  56. snCode?: string;
  57. wifiName: string;
  58. }
  59. export interface updateParams {
  60. id: number;
  61. canShow: number;
  62. liveRoomCapacities: number;
  63. }
  64. export interface checkDownLoadResult {
  65. id: number;
  66. canShow: number;
  67. downloadStatus: number;
  68. percent: number;
  69. liveRoomCapacities: number;
  70. }
  71. export interface sceneDownloadResult {
  72. id: number;
  73. canShow: number;
  74. downloadStatus: number;
  75. percent: number;
  76. liveRoomCapacities: number;
  77. }
  78. export interface DeviceListItem {
  79. id: number;
  80. activatedTime: string;
  81. address: string;
  82. agentFrameworkId: string;
  83. agentFrameworkName: string;
  84. agentName: string;
  85. balance: string;
  86. cameraType: number;
  87. childName: string;
  88. companyId: string;
  89. companyName: string;
  90. cooperationUser: string;
  91. cooperationUserName: string;
  92. country: number;
  93. createTime: string;
  94. goodsId: number;
  95. goodsName: string;
  96. imageUrl: string;
  97. inTime: string;
  98. isExpire: string;
  99. lastTime: string;
  100. nickName: string;
  101. orderSn: string;
  102. outTime: string;
  103. own: number;
  104. pic: string;
  105. recStatus: string;
  106. responseUserIncrement: string;
  107. sceneNum: string;
  108. snCode: string;
  109. space: string;
  110. spaceContent: string;
  111. spaceEndStr: string;
  112. spaceEndTime: string;
  113. spaceId: string;
  114. spaceStr: string;
  115. surplusDate: string;
  116. totalSpace: number;
  117. totalSpaceStr: string;
  118. type: string;
  119. usedSpace: number;
  120. usedSpaceStr: string;
  121. userId: string;
  122. userIncrementId: string;
  123. userName: string;
  124. wifiName: string;
  125. }
  126. /**
  127. * @description: Request list return value
  128. */
  129. export type RentListGetResultModel = BasicFetchResult<DeviceListItem>;