model.ts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 getItemParams {
  23. id: number;
  24. }
  25. export interface DeviceListItem {
  26. id: number;
  27. activatedTime: string;
  28. address: string;
  29. agentFrameworkId: string;
  30. agentFrameworkName: string;
  31. agentName: string;
  32. balance: string;
  33. cameraType: number;
  34. childName: string;
  35. companyId: string;
  36. companyName: string;
  37. cooperationUser: string;
  38. cooperationUserName: string;
  39. country: number;
  40. createTime: string;
  41. goodsId: number;
  42. goodsName: string;
  43. imageUrl: string;
  44. inTime: string;
  45. isExpire: string;
  46. lastTime: string;
  47. nickName: string;
  48. orderSn: string;
  49. outTime: string;
  50. own: number;
  51. pic: string;
  52. recStatus: string;
  53. responseUserIncrement: string;
  54. sceneNum: string;
  55. snCode: string;
  56. space: string;
  57. spaceContent: string;
  58. spaceEndStr: string;
  59. spaceEndTime: string;
  60. spaceId: string;
  61. spaceStr: string;
  62. surplusDate: string;
  63. totalSpace: number;
  64. totalSpaceStr: string;
  65. type: string;
  66. usedSpace: number;
  67. usedSpaceStr: string;
  68. userId: string;
  69. userIncrementId: string;
  70. userName: string;
  71. wifiName: string;
  72. }
  73. export interface InvoiceList {
  74. orderSn: string;
  75. payTimeStart : string;
  76. payTimeEnd: string;
  77. invoiceTimeStart: string;
  78. invoiceTimeEnd: string;
  79. orderBy: string;
  80. sortBy: string;
  81. pageSize: number;
  82. pageNum: number;
  83. }
  84. export type InvoiceListResul = BasicPageParams<InvoiceList>
  85. /**
  86. * @description: Request list return value
  87. */
  88. export type RentListGetResultModel = BasicFetchResult<DeviceListItem>;