export interface MemberTableListItem {
  id: number;
  is_subscribed: boolean
  user_name: string;
  email: string;
}

export interface AddressTableListItem {
  id: number;

}

export interface LoginLogListItem {
  id: number;

}

export interface MemberTableListPagination {
  total: number;
  pageSize: number;
  current: number;
}

export interface MemberTableListData {
  list: MemberTableListItem[];
  pagination: Partial<MemberTableListPagination>;
}

export interface MemberTableListParams {
  status?: number
  pageSize?: number;
  currentPage?: number;
  filter?: { [key: string]: any[] };
  sorter?: { [key: string]: any };

}

export interface MemberTableListParamsV2 {
  id?: number;
  is_subscribed?: boolean
  email?: string;
  pageSize?: number;
  current?: number;
  currentPage?: number;
}

export interface AddressTableListParams {
  memberId?: number;
  pageSize?: number;
  currentPage?: number;
  filter?: { [key: string]: any[] };
  sorter?: { [key: string]: any };

}

export interface LoginLogListParams {
  memberId?: number;
  pageSize?: number;
  currentPage?: number;
  filter?: { [key: string]: any[] };
  sorter?: { [key: string]: any };

}
