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 interface customer {
  customerId:	number;
  repairId:	string;
  wxOpenId:	null;
  companyName:	string;
  customerName:	string;
  phone:	string;
  recStatus:	string;
  createTime:	string;
  updateTime:	string;
}
export interface customerAddress {
  addrId:	number;
  customerId:	number;
  repairId:	string;
  getType:	string;
  getAddress:	string;
  getAddrName:	string;
  getAddrPhone:	string;
  getTrackingNum:	string;
  sendType:	string;
  sendTrackingNum:	string;
  recStatus:	string;
  createTime:	string;
  updateTime:	string;
}
export interface repairerVo {
  repairId:	string;	
  cameraSnCode:	string;	
  cameraType:	number;	
  faultMsg:	string;	
  faultImg:	string;	
  status:	number;	
  remark:	null;	
  receiverType:	number;	
  recStatus:	string;	
  createTime:	string;	
  updateTime:	string;	
  sysUserId:	number;	
}
export interface repairerVo {
  repairId:	string;	
  cameraSnCode:	string;	
  cameraType:	number;	
  faultMsg:	string;	
  faultImg:	string;	
  status:	number;	
  remark:	null;	
  receiverType:	number;	
  recStatus:	string;	
  createTime:	string;	
  updateTime:	string;	
  sysUserId:	number;	
}
export interface orderReceivingVo {
  orderId:	number;	
  repairId:	string;	
  orderFaultMsg:	string;	
  orderFaultImg:	string;	
  warrantyType:	number;	
  warrantyExpirationDate:	string;	
  sysUserName:	string;	
  saleId:	number;	
  repairerId:	number;	
  supplyAdminId:	number;	
  testerId:	number;	
  recStatus:	string;	
  createTime:	string;	
  updateTime:	string;	

}
export interface repairRegisterVo {
  checkResult:	string;	
  checkImg:	string;	
  remark:	string;	
  status:	string;	
  sysUserName:	string;	
  overTime:	string;	
}
export interface RepairTestVo {
  resultStatus:	string;	
  resultInfo:	string;	
  resultImg:	string;	
  sysUserName:	string;	
  passTime:	string;	
}
export interface repairPay {
  payId:	number;	
  repairId:	string;	
  payType:	number;	
  payImg:	string;	
  recStatus:	string;	
  createTime:	string;	
  updateTime:	string;	
  sysUserId:	number;	
}
export interface priceListItem {
  name:	string;	
  price:	string;	
  count:	string;	
}
export interface detailResult {
  customer:any;
  customerAddress:any;
  repairerVo:any;
  RepairTestVo:any;
  repairRegisterVo:any;
  orderReceivingVo:any;
  repairPay:any;
  repairComment:any;
  priceList:any[];
  lastRepairId:any;
} 
export type InvoiceListResul = BasicPageParams<InvoiceList>;
/**
 * @description: Request list return value
 */
export type RentListGetResultModel = BasicFetchResult<DeviceListItem>;
