Skip to content

Commit

Permalink
MW-1367 Add active flag to MinimalFacilityDto (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrochalskisoldevelo authored Jul 10, 2024
1 parent b7bc6a9 commit efe9f9f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
15.2.7 / WIP
==================

* [MW-1367](https://openlmis.atlassian.net/browse/MW-1367): Add active flag to MinimalFacilityDto

15.2.6 / 2023-11-07
==================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
@EqualsAndHashCode(callSuper = true)
public class BasicFacilityDto extends MinimalFacilityDto
implements Facility.Importer, Facility.Exporter {
private Boolean active;
private Boolean enabled;
private FacilityTypeDto type;
private GeographicZoneSimpleDto geographicZone;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public class MinimalFacilityDto extends BaseDto implements Facility.Exporter {
@Setter
private String name;

@Getter
@Setter
private Boolean active;

/**
* Creates new instance of {@link MinimalFacilityDto} based on passed facility.
*/
Expand Down Expand Up @@ -73,11 +77,6 @@ public void setOperator(FacilityOperator operator) {
// unsupported operation
}

@Override
public void setActive(Boolean active) {
// unsupported operation
}

@Override
public void setGoLiveDate(LocalDate goLiveDate) {
// unsupported operation
Expand Down

0 comments on commit efe9f9f

Please sign in to comment.