From 2c4ea30b2caecf6efe7cad525d1a88d8f13a1e43 Mon Sep 17 00:00:00 2001 From: Oddvocado <96854090+Oddvocado@users.noreply.github.com> Date: Thu, 20 Jul 2023 15:47:25 -0400 Subject: [PATCH] A3 Dto missing property (#11) * Adds MOMPRDX property * Updates patch version number * Update version for os x vs * Adds dto and entity mapping --- src/UDS.Net.API.Client/UDS.Net.API.Client.csproj | 4 ++-- src/UDS.Net.API/Extensions/DtoToEntityMapper.cs | 1 + src/UDS.Net.API/Extensions/EntityToDtoMapper.cs | 1 + src/UDS.Net.API/UDS.Net.API.csproj | 2 +- src/UDS.Net.Dto/A3Dto.cs | 1 + src/UDS.Net.Dto/UDS.Net.Dto.csproj | 4 ++-- src/UDS.Net.sln | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/UDS.Net.API.Client/UDS.Net.API.Client.csproj b/src/UDS.Net.API.Client/UDS.Net.API.Client.csproj index 3aa8e10..bf02097 100644 --- a/src/UDS.Net.API.Client/UDS.Net.API.Client.csproj +++ b/src/UDS.Net.API.Client/UDS.Net.API.Client.csproj @@ -4,13 +4,13 @@ netstandard2.1 Library UDS.Net.API.Client - 1.4.0 + 1.4.1 Sanders-Brown Center on Aging UDS client library for using UDS.Net.API UK-SBCoA Client library for API https://github.com/UK-SBCoA/uniform-data-set-dotnet-api - 1.4.0 + 1.4.1 diff --git a/src/UDS.Net.API/Extensions/DtoToEntityMapper.cs b/src/UDS.Net.API/Extensions/DtoToEntityMapper.cs index 6f67e08..81cd77f 100644 --- a/src/UDS.Net.API/Extensions/DtoToEntityMapper.cs +++ b/src/UDS.Net.API/Extensions/DtoToEntityMapper.cs @@ -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; diff --git a/src/UDS.Net.API/Extensions/EntityToDtoMapper.cs b/src/UDS.Net.API/Extensions/EntityToDtoMapper.cs index 0b369c6..f60f126 100644 --- a/src/UDS.Net.API/Extensions/EntityToDtoMapper.cs +++ b/src/UDS.Net.API/Extensions/EntityToDtoMapper.cs @@ -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, diff --git a/src/UDS.Net.API/UDS.Net.API.csproj b/src/UDS.Net.API/UDS.Net.API.csproj index 71f2829..72494bb 100644 --- a/src/UDS.Net.API/UDS.Net.API.csproj +++ b/src/UDS.Net.API/UDS.Net.API.csproj @@ -4,7 +4,7 @@ net6.0 enable enable - 1.4.0 + 1.4.1 ../docker-compose.dcproj c1dd1715-6fa0-4515-bcf2-6a7f6a0c11a5 diff --git a/src/UDS.Net.Dto/A3Dto.cs b/src/UDS.Net.Dto/A3Dto.cs index 3b5c258..ab7d543 100644 --- a/src/UDS.Net.Dto/A3Dto.cs +++ b/src/UDS.Net.Dto/A3Dto.cs @@ -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; } diff --git a/src/UDS.Net.Dto/UDS.Net.Dto.csproj b/src/UDS.Net.Dto/UDS.Net.Dto.csproj index 06676cd..f20129c 100644 --- a/src/UDS.Net.Dto/UDS.Net.Dto.csproj +++ b/src/UDS.Net.Dto/UDS.Net.Dto.csproj @@ -4,13 +4,13 @@ netstandard2.1 Library UDS.Net.Dto - 1.4.0 + 1.4.1 Sanders-Brown Center on Aging UDS data transfer objects for use with API UK-SBCoA Dtos for API https://github.com/UK-SBCoA/uniform-data-set-dotnet-api - 1.4.0 + 1.4.1 diff --git a/src/UDS.Net.sln b/src/UDS.Net.sln index 9e1e4de..9700299 100644 --- a/src/UDS.Net.sln +++ b/src/UDS.Net.sln @@ -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