Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;import java.time.LocalDate;import java.util.ArrayList;import java.util.List;/*** Self-contained snapshot of one beat for one scheduled date.* Returned by BeatPlanQueryService.getBeatsForUserOnDate(authUserId, date).* <p>* Stops carry only IDs and ordering info — enrichment with partner/lead* names and geocoded coordinates is left to the calling project (so this* common service stays free of geocoding/retailer dependencies).*/public class BeatDayDetails {private int beatId;private String beatName;private String beatColor;private int authUserId;private int dayNumber;private LocalDate scheduleDate;private LocalDate endDate;private Double totalDistanceKm;private Integer totalTimeMins;private String endAction;private String startLocationName;private String startLatitude;private String startLongitude;private String stayLocationName;private String stayLatitude;private String stayLongitude;/*** Partner stops: each map has {fofoId, sequenceOrder, dayNumber}.*/private List<java.util.Map<String, Object>> partnerStops = new ArrayList<>();/*** Lead stops for THIS scheduleDate: each map has {leadId, sequenceOrder, nearestStoreId, scheduleDate}.*/private List<java.util.Map<String, Object>> leadStops = new ArrayList<>();public int getBeatId() {return beatId;}public void setBeatId(int beatId) {this.beatId = beatId;}public String getBeatName() {return beatName;}public void setBeatName(String beatName) {this.beatName = beatName;}public String getBeatColor() {return beatColor;}public void setBeatColor(String beatColor) {this.beatColor = beatColor;}public int getAuthUserId() {return authUserId;}public void setAuthUserId(int authUserId) {this.authUserId = authUserId;}public int getDayNumber() {return dayNumber;}public void setDayNumber(int dayNumber) {this.dayNumber = dayNumber;}public LocalDate getScheduleDate() {return scheduleDate;}public void setScheduleDate(LocalDate scheduleDate) {this.scheduleDate = scheduleDate;}public LocalDate getEndDate() {return endDate;}public void setEndDate(LocalDate endDate) {this.endDate = endDate;}public Double getTotalDistanceKm() {return totalDistanceKm;}public void setTotalDistanceKm(Double totalDistanceKm) {this.totalDistanceKm = totalDistanceKm;}public Integer getTotalTimeMins() {return totalTimeMins;}public void setTotalTimeMins(Integer totalTimeMins) {this.totalTimeMins = totalTimeMins;}public String getEndAction() {return endAction;}public void setEndAction(String endAction) {this.endAction = endAction;}public String getStartLocationName() {return startLocationName;}public void setStartLocationName(String startLocationName) {this.startLocationName = startLocationName;}public String getStartLatitude() {return startLatitude;}public void setStartLatitude(String startLatitude) {this.startLatitude = startLatitude;}public String getStartLongitude() {return startLongitude;}public void setStartLongitude(String startLongitude) {this.startLongitude = startLongitude;}public String getStayLocationName() {return stayLocationName;}public void setStayLocationName(String stayLocationName) {this.stayLocationName = stayLocationName;}public String getStayLatitude() {return stayLatitude;}public void setStayLatitude(String stayLatitude) {this.stayLatitude = stayLatitude;}public String getStayLongitude() {return stayLongitude;}public void setStayLongitude(String stayLongitude) {this.stayLongitude = stayLongitude;}public List<java.util.Map<String, Object>> getPartnerStops() {return partnerStops;}public void setPartnerStops(List<java.util.Map<String, Object>> partnerStops) {this.partnerStops = partnerStops;}public List<java.util.Map<String, Object>> getLeadStops() {return leadStops;}public void setLeadStops(List<java.util.Map<String, Object>> leadStops) {this.leadStops = leadStops;}}