//ข้อมูล
interface ResponseObject {
  id: number;
  fullname: String;
  avatar: String;
  citizenId: String;
  position: String;
  line: String;
  linePosition: String;
  level: String;
  positionFormalManage: String;
  positionManage: String;
  numberPosition: String;
  government: String;
}

interface ResponesePosType {
  createdAt: string;
  id: string;
  lastUpdateFullName: string;
  lastUpdatedAt: string;
  posTypeName: string;
  posTypeRank: number;
  posLevels: DataPosLevel[];
}

interface DataPosLevel {
  createdAt: string;
  id: string;
  lastUpdateFullName: string;
  lastUpdatedAt: string;
  posLevelAuthority: string;
  posLevelName: string;
  posLevelRank: number;
}

interface ResponesePosition {
  createdAt: string;
  id: string;
  isSpecial: boolean;
  lastUpdateFullName: string;
  lastUpdatedAt: string;
  posLevelId: string;
  posLevelName: string;
  posTypeId: string;
  posTypeName: string;
  positionArea: string;
  positionExecutiveField: null;
  positionField: string;
  positionIsSelected: boolean;
  positionName: string;
}

export type {
  ResponseObject,
  ResponesePosType,
  DataPosLevel,
  ResponesePosition,
};
