export interface LoginReq {
  factoryCode: string
  account: string
  password: string
}

export interface LoginResp {
  data: Root
  message: string
  code: number
}

export interface Root {
  sysUser: SysUser
  token: string
}

export interface SysUser {
  id: number
  account: string
  password: string
  supperMark: number
  factoryId: number
  factoryCode: string
  status: number
  factory: Factory
  baseExternalAccountTypes?: []
}

export interface Factory {
  id: number
  bianma: string
  title: string
  typeId: number
  name: string
  mobile: string
  goodsNumber: number
  authorizeNumber: number
  status: number
}
