interface DataResponse {
  createdAt: Date;
  id: string;
  lastUpdateFullName: String;
  lastUpdatedAt: Date;
  posTypes?: {
    id: string;
    posTypeName: string;
    posTypeRank: number;
  };
  posTypeName?: string;
  posLevelName?: string;
  posLevelRank?: number;
  posLevelAuthority?: string;
}

interface DataRow {
  createdAt: string | null;
  id: string;
  lastUpdateFullName: String;
  lastUpdatedAt: string | null;
  posTypeName?: string;
  posTypeRank?: number;
  posTypeId?: string;
  posLevelName?: string;
  posLevelRank?: number;
  posLevelAuthority?: string;
}

export type { DataResponse, DataRow };
