Skip to content

Commit

Permalink
A3 Dto missing property (#11)
Browse files Browse the repository at this point in the history
* Adds MOMPRDX property

* Updates patch version number

* Update version for os x vs

* Adds dto and entity mapping
  • Loading branch information
Oddvocado authored Jul 20, 2023
1 parent 78203c5 commit 2c4ea30
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/UDS.Net.API.Client/UDS.Net.API.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<TargetFramework>netstandard2.1</TargetFramework>
<OutputType>Library</OutputType>
<PackageId>UDS.Net.API.Client</PackageId>
<Version>1.4.0</Version>
<Version>1.4.1</Version>
<Authors>Sanders-Brown Center on Aging</Authors>
<Description>UDS client library for using UDS.Net.API</Description>
<Owners>UK-SBCoA</Owners>
<PackageDescription>Client library for API</PackageDescription>
<RepositoryUrl>https://github.com/UK-SBCoA/uniform-data-set-dotnet-api</RepositoryUrl>
<ReleaseVersion>1.4.0</ReleaseVersion>
<ReleaseVersion>1.4.1</ReleaseVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="7.0.2" />
Expand Down
1 change: 1 addition & 0 deletions src/UDS.Net.API/Extensions/DtoToEntityMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public static bool Update(this A3 entity, A3Dto dto)
entity.MOMYOB = dto.MOMYOB;
entity.MOMDAGE = dto.MOMDAGE;
entity.MOMNEUR = dto.MOMNEUR;
entity.MOMPRDX = dto.MOMPRDX;
entity.MOMMOE = dto.MOMMOE;
entity.MOMAGEO = dto.MOMAGEO;
entity.DADMOB = dto.DADMOB;
Expand Down
1 change: 1 addition & 0 deletions src/UDS.Net.API/Extensions/EntityToDtoMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ public static A3Dto ToFullDto(this A3 a3)
MOMYOB = a3.MOMYOB,
MOMDAGE = a3.MOMDAGE,
MOMNEUR = a3.MOMNEUR,
MOMPRDX = a3.MOMPRDX,
MOMMOE = a3.MOMMOE,
MOMAGEO = a3.MOMAGEO,
DADMOB = a3.DADMOB,
Expand Down
2 changes: 1 addition & 1 deletion src/UDS.Net.API/UDS.Net.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ReleaseVersion>1.4.0</ReleaseVersion>
<ReleaseVersion>1.4.1</ReleaseVersion>
<DockerComposeProjectPath>../docker-compose.dcproj</DockerComposeProjectPath>
<UserSecretsId>c1dd1715-6fa0-4515-bcf2-6a7f6a0c11a5</UserSecretsId>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/UDS.Net.Dto/A3Dto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class A3Dto : FormDto
public int? MOMYOB { get; set; }
public int? MOMDAGE { get; set; }
public int? MOMNEUR { get; set; }
public int? MOMPRDX { get; set; }
public int? MOMMOE { get; set; }
public int? MOMAGEO { get; set; }
public int? DADMOB { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/UDS.Net.Dto/UDS.Net.Dto.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<TargetFramework>netstandard2.1</TargetFramework>
<OutputType>Library</OutputType>
<PackageId>UDS.Net.Dto</PackageId>
<Version>1.4.0</Version>
<Version>1.4.1</Version>
<Authors>Sanders-Brown Center on Aging</Authors>
<Description>UDS data transfer objects for use with API</Description>
<Owners>UK-SBCoA</Owners>
<PackageDescription>Dtos for API</PackageDescription>
<RepositoryUrl>https://github.com/UK-SBCoA/uniform-data-set-dotnet-api</RepositoryUrl>
<ReleaseVersion>1.4.0</ReleaseVersion>
<ReleaseVersion>1.4.1</ReleaseVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="7.0.2" />
Expand Down
2 changes: 1 addition & 1 deletion src/UDS.Net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ Global
SolutionGuid = {D39D5BFF-1FB6-4543-9752-418308400A84}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
version = 1.4.0
version = 1.4.1
EndGlobalSection
EndGlobal

0 comments on commit 2c4ea30

Please sign in to comment.