import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
/**
 * @description: Request list interface parameters
 */
export type PageParams = BasicPageParams;
export interface operateList {
  companyId?: number;
  sceneName: string;
  snCode: string;
  userName: string;
  type?: number;
  pageNum?: number;
  pageSize?: number;
}
export interface overallList {
  searchKey: string;
  pageNum?: number;
  pageSize?: number;
}
export interface overallDelete {
  id: string;
}
export interface sceneMoveParams {
  snCode: string;
  num: string;
}
export interface sceneControlParams {
  num: string;
}
export interface ResultDetail{
  content: string,
  coverImageUrl: string,
  createTime: string,
  createrId: number;
  display: number;
  id: number;
  isPublic: number;
  isTop: number;
  newType: number;
  publicTime: string,
  source: string,
  tbStatus: number;
  title: string,
  topTime: string,
  updateTime: string,
  updaterId: number;
}
export interface addCameraParams {
  address: string;
  balance: string;
  cameraType: string;
  childName: string;
  companyId?: string;
  orderSn?: string;
  own: string;
  snCode?: string;
  wifiName: string;
}
export interface updateParams {
  id: number;
  canShow: number;
  liveRoomCapacities: number;
}
export interface checkDownLoadResult {
  id: number;
  canShow: number;
  downloadStatus: number;
  percent: number;
  liveRoomCapacities: number;
}

export interface sceneDownloadResult {
  id: number;
  canShow: number;
  downloadStatus: number;
  percent: number;
  liveRoomCapacities: number;
}
export interface DeviceListItem {
  id: number;
  activatedTime: string;
  address: string;
  agentFrameworkId: string;
  agentFrameworkName: string;
  agentName: string;
  balance: string;
  cameraType: number;
  childName: string;
  companyId: string;
  companyName: string;
  cooperationUser: string;
  cooperationUserName: string;
  country: number;
  createTime: string;
  goodsId: number;
  goodsName: string;
  imageUrl: string;
  inTime: string;
  isExpire: string;
  lastTime: string;
  nickName: string;
  orderSn: string;
  outTime: string;
  own: number;
  pic: string;
  recStatus: string;
  responseUserIncrement: string;
  sceneNum: string;
  snCode: string;
  space: string;
  spaceContent: string;
  spaceEndStr: string;
  spaceEndTime: string;
  spaceId: string;
  spaceStr: string;
  surplusDate: string;
  totalSpace: number;
  totalSpaceStr: string;
  type: string;
  usedSpace: number;
  usedSpaceStr: string;
  userId: string;
  userIncrementId: string;
  userName: string;
  wifiName: string;
}

/**
 * @description: Request list return value
 */
export type RentListGetResultModel = BasicFetchResult<DeviceListItem>;
