Skip to content

Commit

Permalink
Revert previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-karasch committed Feb 20, 2024
1 parent 78dd9b7 commit 6431843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions FMS.Domain/Dto/Facility/FacilityDetailDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public FacilityDetailDto(Facility facility)
City = facility.City;
State = facility.State;
PostalCode = facility.PostalCode;
Latitude = (decimal)facility.Latitude;
Longitude = (decimal)facility.Longitude;
Latitude = facility.Latitude;
Longitude = facility.Longitude;
HasERecord = facility.HasERecord;
Comments = facility.Comments;
// *** these properties only apply to Release Notifications ***
Expand Down
4 changes: 2 additions & 2 deletions FMS.Domain/Entities/Facility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ public Facility(FacilityCreateDto newFacility)

// site Coordinates
[Column(TypeName = "decimal(8, 6)")]
public decimal? Latitude { get; set; }
public decimal Latitude { get; set; }

[Column(TypeName = "decimal(9, 6)")]
public decimal? Longitude { get; set; }
public decimal Longitude { get; set; }

public int CountyId { get; set; }

Expand Down

0 comments on commit 6431843

Please sign in to comment.