import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
/**
 * @description: Request list interface parameters
 */
export type PageParams = BasicPageParams;

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 getItemParams {
  id: 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;
}

export interface InvoiceList {
  orderSn: string;
  payTimeStart: string;
  payTimeEnd: string;
  invoiceTimeStart: string;
  invoiceTimeEnd: string;
  orderBy: string;
  sortBy: string;
  pageSize: number;
  pageNum: number;
}

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