-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #754 from bcgov/yj
Yj
- Loading branch information
Showing
15 changed files
with
311 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* Sprint 17 View Changes to STR DSS */ | ||
|
||
drop view if exists dss_local_gov_vw; | ||
|
||
CREATE OR REPLACE VIEW dss_local_gov_vw AS | ||
SELECT do2.organization_id | ||
, do2.organization_type | ||
, do2.organization_cd | ||
, do2.organization_nm | ||
, do2.local_government_type | ||
, lgt.local_government_type_nm | ||
, do2.business_licence_format_txt | ||
FROM dss_organization do2 | ||
left join dss_local_government_type lgt on lgt.local_government_type = do2.local_government_type | ||
where do2.organization_type = 'LG'; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace StrDss.Data.Entities; | ||
|
||
/// <summary> | ||
/// A geographic classification of LOCAL GOVERNMENT SUBDIVISION used for sorting and grouping of members | ||
/// </summary> | ||
public partial class DssEconomicRegion | ||
{ | ||
/// <summary> | ||
/// System-consistent code (e.g. Northeast, Cariboo) | ||
/// </summary> | ||
public string EconomicRegionDsc { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// Business term for the ECONOMIC REGION (e.g. Northeast, Cariboo) | ||
/// </summary> | ||
public string EconomicRegionNm { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// Relative order in which the business prefers to see the ECONOMIC REGION listed | ||
/// </summary> | ||
public short? EconomicRegionSortNo { get; set; } | ||
|
||
public virtual ICollection<DssOrganization> DssOrganizations { get; set; } = new List<DssOrganization>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace StrDss.Data.Entities; | ||
|
||
public partial class DssLocalGovVw | ||
{ | ||
public long? OrganizationId { get; set; } | ||
|
||
public string? OrganizationType { get; set; } | ||
|
||
public string? OrganizationCd { get; set; } | ||
|
||
public string? OrganizationNm { get; set; } | ||
|
||
public string? LocalGovernmentType { get; set; } | ||
|
||
public string? LocalGovernmentTypeNm { get; set; } | ||
|
||
public string? BusinessLicenceFormatTxt { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace StrDss.Data.Entities; | ||
|
||
/// <summary> | ||
/// A sub-type of local government organization used for sorting and grouping of members | ||
/// </summary> | ||
public partial class DssLocalGovernmentType | ||
{ | ||
/// <summary> | ||
/// System-consistent code (e.g. Municipality, First Nations Community) | ||
/// </summary> | ||
public string LocalGovernmentType { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// Business term for for the local government type (e.g. Municipality, First Nations Community) | ||
/// </summary> | ||
public string LocalGovernmentTypeNm { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// Relative order in which the business prefers to see the LOCAL GOVERNMENT TYPE listed | ||
/// </summary> | ||
public short? LocalGovernmentTypeSortNo { get; set; } | ||
|
||
public virtual ICollection<DssOrganization> DssOrganizations { get; set; } = new List<DssOrganization>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace StrDss.Model.OrganizationDtos | ||
{ | ||
public class EconomicRegionDto | ||
{ | ||
[JsonPropertyName("value")] | ||
public string EconomicRegionDsc { get; set; } = null!; | ||
[JsonPropertyName("label")] | ||
public string EconomicRegionNm { get; set; } = null!; | ||
[JsonPropertyName("sort")] | ||
public short? EconomicRegionSortNo { get; set; } | ||
} | ||
} |
Oops, something went wrong.