export type BuyerContactPerson = {
  id: string;
  name: string;
  mobile_phone: string | null;
  email: string | null;
};

export type Buyer = {
  id: string;
  code: string;
  name: string;
  phone: string | null;
  email: string | null;
  bank_name: string | null;
  bank_account_number: string | null;
  address: string | null;
  contact_people: BuyerContactPerson[];
  status: string;
  created_at: string;
  updated_at: string;
};

export type BuyerContactPersonFormValues = {
  name: string;
  mobile_phone: string;
  email: string;
};

export type BuyerFormValues = {
  code: string;
  name: string;
  phone: string;
  email: string;
  bank_name: string;
  bank_account_number: string;
  address: string;
  contact_people: BuyerContactPersonFormValues[];
  status: "ACTIVE" | "INACTIVE";
};
