model.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
  2. /**
  3. * @description: Request list interface parameters
  4. */
  5. export type PageParams = BasicPageParams;
  6. export interface addCameraParams {
  7. address: string;
  8. balance: string;
  9. cameraType: string;
  10. childName: string;
  11. companyId?: string;
  12. orderSn?: string;
  13. own: string;
  14. snCode?: string;
  15. wifiName: string;
  16. }
  17. export interface updateParams {
  18. id: number;
  19. canShow: number;
  20. liveRoomCapacities: number;
  21. }
  22. export interface DeviceListItem {
  23. id: number;
  24. activatedTime: string;
  25. address: string;
  26. agentFrameworkId: string;
  27. agentFrameworkName: string;
  28. agentName: string;
  29. balance: string;
  30. cameraType: number;
  31. childName: string;
  32. companyId: string;
  33. companyName: string;
  34. cooperationUser: string;
  35. cooperationUserName: string;
  36. country: number;
  37. createTime: string;
  38. goodsId: number;
  39. goodsName: string;
  40. imageUrl: string;
  41. inTime: string;
  42. isExpire: string;
  43. lastTime: string;
  44. nickName: string;
  45. orderSn: string;
  46. outTime: string;
  47. own: number;
  48. pic: string;
  49. recStatus: string;
  50. responseUserIncrement: string;
  51. sceneNum: string;
  52. snCode: string;
  53. space: string;
  54. spaceContent: string;
  55. spaceEndStr: string;
  56. spaceEndTime: string;
  57. spaceId: string;
  58. spaceStr: string;
  59. surplusDate: string;
  60. totalSpace: number;
  61. totalSpaceStr: string;
  62. type: string;
  63. usedSpace: number;
  64. usedSpaceStr: string;
  65. userId: string;
  66. userIncrementId: string;
  67. userName: string;
  68. wifiName: string;
  69. }
  70. /**
  71. * @description: Request list return value
  72. */
  73. export type RentListGetResultModel = BasicFetchResult<DeviceListItem>;