// 组织
interface OrgItem {
    id: number;
    orgCode: string;
    name: string;
    orgType: string;
    standardCoin: string;
    standardCoinId: number;
    autoDetaultStockId: number;
    disable: boolean;
}
// 部门
interface Dept {
    id: number;
    deptCode: string;
    deptName: string;
    managerId: null;
}
// 仓库
interface WareHouseItem {
    id: number;
    name: string;
    code: null;
    contacts: string;
    contactsId: number;
    useOrgId: null;
    customerWarehouseTag: boolean;
    tempTransferWarehouse: number;
    defaultReplenishCustomer: number;
    customerId: number;
    stockType: number;
    disable: boolean;
}
// interface UserInfo {
//   seesionId: string;
//   ucId: number;
//   depts: Dept[];
//   staffId: number;
//   staff_code: string;
//   business_code: null;
//   avatar: null;
//   closed: number;
//   createdAt: string;
//   email: null;
//   mobile: string;
//   nickname: string;
//   roleId: string;
//   signinAt: string;
//   updatedAt: string;
//   companyId: number;
//   companyName: string;

//   orgId: number;
//   supplierId: null;
//   supplierName: null;
//   customerId: null;
//   customerName: null;
//   identity: number;
// }
export interface UserState {
    newUserToken: string;
    userInfo: Record<string, any>;
    orgIdArr: OrgItem[];
    orgId: number;
    orgName: string;
    dept: Dept[];
    companyId: any;
    warehouse: WareHouseItem[];
}
