export interface SubOrderQuery {
    status?: number | string;
    service?: number | string;
    content?: string;
    pageNum: number;
    pageSize: number;
}

export interface SubOrderListParams {
    content?: string;
    service?: number | string;
    status?: number | string;
    pageNum: number;
    pageSize: number;
}

export interface SubOrderVO {
    id: number;
    code: string;
    service: number;
    toAddress: string;
    mode: number;
    type: number;
    pet: number;
    petName: string;
    petBreed: string;
    petType?: string;
    customer: number;
    customerName: string;
    site: number;
    store: number;
    storeName: string;
    platformId?: number;
    placer: number;
    placerUsername: string;
    createTime: string;
    status: number;
    fulfiller: number;
    fulfillerName: string;
    fulfillerStatus?: string | 'resting' | 'busy' | 'disabled';
    fulfillmentCommission: number;
    transportType?: string;
    splitType?: string;
    detail?: any;
    serviceTime?: string;
}

export interface SubOrderListResult {
    total: number;
    rows: SubOrderVO[];
    code: number;
    msg: string;
}

export interface SubOrderHistoryVO {
    id: number;
    code: string;
    service: string;
    pet: string;
    serviceTime: string;
    status: number;
}

export interface SubOrderPetVO {
  id: number;
  code: string;
  service: number;
  fulfillmentCommission: number;
  serviceTime: string;
  status: number;
}

export interface SubOrderStoreVO {
  id: number;
  code: string;
  service: number;
  customer: string;
  fulfillmentCommission: number;
  createTime: string;
  status: number;
}
