export interface Ilogistics {
  code?: string
  basicsName?: string
  id?: number
  name?: string
  warehouseId?: number
  warehouseName?: string
  uinuinWarehouseId?: number | null
  companyId?: number | null
  company?: string | null
  serviceCode?: string
  siteUrl?: string
  status?: number
  factoryId?: number
  createTime?: string
  updateTime?: string | null
}

export interface SortingPortCondition {
  id?: number
  ruleId?: number
  conditionType: string
  operator: string
  conditionValue?: string | number | string[]
}

export interface IsortingInfo {
  id?: number
  sortingRemark?: string
  sortingArea?: number | null
  sortingAreaName?: string | null
  matchType?: 1 | 2
  sortNo?: number
  conditions?: SortingPortCondition[]
  conditionsText?: string
}

export interface SortingPortAreaItem {
  code: number
  desc: string
  used: boolean
}

export interface SortingPortOptionItem {
  desc: string
  code: string
  used?: boolean
}
