import { Nullable } from "./App";

// Define the Teacher interface


interface StudentUser {
  id: number;
  username: string;
  phone_number: string | null;
  type: 'Student' | 'other'; // Specify other types if needed
}

interface StudentLocation {
  lat: string;
  lng: string;
}

interface ContactInfo {
  contact_number1: string;
  contact_number2: string;
  card_number: string | null;
}


export interface Student {
  id: number;
  user: StudentUser;
  first_name: string;
  last_name: string;
  location: StudentLocation;
  contact_info: ContactInfo;
  contact_number1 : string |  number 
  contact_number2 : string |  number 
}

export interface InitialValues {
  id: number;
  user: StudentUser;
  first_name: string;
  last_name: string;
  location: StudentLocation;
  lat: string | Number;
  lng: string | Number;
  contact_info: ContactInfo;
  contact_number1 : string |  number 
contact_number2 : string |  number 
username : string;
password:any
}

export type StudentInitialValues = Partial<Nullable<InitialValues>>;
