package com.example.fostracker.models;

import java.sql.Timestamp;
import java.time.ZoneId;
import java.time.ZonedDateTime;

/** Serves as a model for store objects that will be used in to communicate information about GPay Merchants' stores
 * and businesses */
public class Verification {
    String agentID;
    String storeID;
    Coordinates verificationCoordinates;
    String verificationStatus;
    Timestamp verificationCreationDateTime;

    /**
     * @param agentID - the agent who completed the verification
     * @param storeID - the store that was verified
     * @param verificationCoordinates - the location the agent was at at the time of verification
     * @param verificationStatus - whether the verification was successful/unsuccessful/incomplete
     * verificationDateTime is set by default to the current time of Asia/Kolkata and cannot be changed later
     */
    public Verification(String agentID, String storeID, Coordinates verificationCoordinates, String verificationStatus) {
        this.agentID = agentID;
        this.storeID = storeID;
        this.verificationCoordinates = verificationCoordinates;
        this.verificationStatus = verificationStatus;
        this.verificationCreationDateTime = Timestamp.valueOf(ZonedDateTime.now(ZoneId.of("Asia/Kolkata")).toLocalDateTime());
    }

    public String getAgentID() {
        return agentID;
    }

    public void setAgentID(String agentID) {
        this.agentID = agentID;
    }

    public String getStoreID() {
        return storeID;
    }

    public void setStoreID(String storeID) {
        this.storeID = storeID;
    }

    public Coordinates getVerificationCoordinates() {
        return verificationCoordinates;
    }

    public void setVerificationCoordinates(Coordinates coordinates) {
        this.verificationCoordinates = coordinates;
    }

    public String getStoreVerificationStatus() {
        return verificationStatus;
    }

    public void setStoreVerificationStatus(String status) {
        this.verificationStatus = status;
    }

    public Timestamp getStoreVerificationDateTime() {
        return verificationCreationDateTime;
    }
}
@@ -296,26 +296,29 @@
 String agent
-ID
+Email
 ;%0A    String
@@ -319,26 +319,29 @@
 String store
-ID
+Phone
 ;%0A    Coordi
@@ -474,20 +474,35 @@
 am agent
-ID -
+Email - email id of
  the age
@@ -554,18 +554,21 @@
 am store
-ID
+Phone
  - the s
@@ -572,16 +572,29 @@
 e store 
+phone number 
 that was
@@ -954,18 +954,21 @@
 ng agent
-ID
+Email
 , String
@@ -973,18 +973,21 @@
 ng store
-ID
+Phone
 , Coordi
@@ -1060,34 +1060,37 @@
   this.agent
-ID
+Email
  = agent
 ID;%0A        
@@ -1073,26 +1073,29 @@
 mail = agent
-ID
+Email
 ;%0A        th
@@ -1098,34 +1098,37 @@
   this.store
-ID
+Phone
  = store
 ID;%0A        
@@ -1111,26 +1111,29 @@
 hone = store
-ID
+Phone
 ;%0A        th
@@ -1400,18 +1400,21 @@
 getAgent
-ID
+Email
 () %7B%0A   
@@ -1426,26 +1426,29 @@
 return agent
-ID
+Email
 ;%0A    %7D%0A%0A   
@@ -1468,18 +1468,21 @@
 setAgent
-ID
+Email
 (String 
@@ -1510,18 +1510,21 @@
 is.agent
-ID
+Email
  = agent
@@ -1560,18 +1560,21 @@
 getStore
-ID
+Phone
 () %7B%0A   
@@ -1586,26 +1586,29 @@
 return store
-ID
+Phone
 ;%0A    %7D%0A%0A   
@@ -1628,18 +1628,21 @@
 setStore
-ID
+Phone
 (String 
@@ -1670,18 +1670,21 @@
 is.store
-ID
+Phone
  = store

Change Verification.java model