Skip to content

Commit

Permalink
PO-463: Add orgName to Alias and welshLanguage to BusinessUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyHMCTS committed Jul 15, 2024
1 parent 9085cf5 commit a1a5487
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ public String getAccountNumberPrefix() {
public String getOpalDomain() {
return "Fines";
}

@Override
public Boolean getWelshLanguage() {
return null;
}
};
}

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/uk/gov/hmcts/opal/entity/AliasEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@ public class AliasEntity {

@Column(name = "sequence_number", nullable = false)
private Integer sequenceNumber;

@Column(name = "organisation_name", length = 50)
private String organisationName;
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ public class BusinessUnitEntity {
@Column(name = "opal_domain", length = 30)
private String opalDomain;

@Column(name = "welsh_language")
private Boolean welshLanguage;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ public interface BusinessUnitReferenceData extends BusinessUnitRef {

String getOpalDomain();

Boolean getWelshLanguage();
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ public String getAccountNumberPrefix() {
public String getOpalDomain() {
return "Domain";
}

@Override
public Boolean getWelshLanguage() {
return null;
}
};

}
Expand Down

0 comments on commit a1a5487

Please sign in to comment.