Customer Order
This commit is contained in:
@@ -28,6 +28,7 @@ type Site struct {
|
||||
Latitude *float64 `json:"latitude"`
|
||||
Longitude *float64 `json:"longitude"`
|
||||
Region string `json:"region"`
|
||||
Regency string `json:"regency"`
|
||||
Distance float64 `json:"distance"`
|
||||
}
|
||||
|
||||
@@ -78,6 +79,10 @@ func (e *SiteDB) ToSite() *Site {
|
||||
DeletedAt: e.DeletedAt,
|
||||
CreatedBy: e.CreatedBy,
|
||||
UpdatedBy: e.UpdatedBy,
|
||||
Regency: e.Regency,
|
||||
Region: e.Region,
|
||||
Latitude: e.Latitude,
|
||||
Longitude: e.Longitude,
|
||||
Products: e.Products,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user