reportModel.ts
976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { BasicPageParams } from '/@/api/model/baseModel';
export type ReportQueryParam = BasicPageParams & CameraParam;
export type CameraParam = {
  status: true;
  name: string;
  organizationId: string;
  orderFiled: string;
  orderType: string;
};
export interface ReportModel {
  attributeNature: number;
  attributes: [string];
  createTime: string;
  creator: string;
  dataCompare: number;
  defaultConfig: string;
  description: string;
  devices: [string];
  enabled: true;
  endTs: number;
  executeContent: string;
  executeWay: number;
  icon: string;
  id: string;
  name: string;
  organizationId: string;
  queryCondition: {
    agg: string;
    interval: number;
    limit: number;
    orderBy: string;
    useStrictDataTypes: false;
  };
  remark: string;
  roleIds: [string];
  startTs: number;
  status: number;
  tenantExpireTime: string;
  tenantId: string;
  tenantProfileId: string;
  tenantStatus: string;
  updateTime: string;
  updater: string;
}