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;
}
