-
Notifications
You must be signed in to change notification settings - Fork 24
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 #1840 from asanchezr/uat_is32_release
Test -> Master - UAT IS32 release
- Loading branch information
Showing
332 changed files
with
67,946 additions
and
16,748 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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
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,19 @@ | ||
using Mapster; | ||
using Entity = Pims.Dal.Entities; | ||
|
||
namespace Pims.Api.Models.Concepts.Document | ||
{ | ||
public class DocumentMap : IRegister | ||
{ | ||
public void Register(TypeAdapterConfig config) | ||
{ | ||
config.NewConfig<Entity.PimsDocument, DocumentModel>() | ||
.PreserveReference(true) | ||
.Map(dest => dest.Id, src => src.DocumentId) | ||
.Map(dest => dest.DocumentType, src => src.DocumentType) | ||
.Map(dest => dest.DocumentStatusTypeCode, src => src.DocumentStatusTypeCodeNavigation) | ||
.Map(dest => dest.FileName, src => src.FileName) | ||
.Map(dest => dest.RowVersion, src => src.ConcurrencyControlNumber); | ||
} | ||
} | ||
} |
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,33 @@ | ||
|
||
namespace Pims.Api.Models.Concepts | ||
{ | ||
/// <summary> | ||
/// DocumentModel class, provides a model to represent document associated to entities. | ||
/// </summary> | ||
public class DocumentModel : BaseAppModel | ||
{ | ||
|
||
#region Properties | ||
|
||
/// <summary> | ||
/// get/set - Document Id. | ||
/// </summary> | ||
public int Id { get; set; } | ||
|
||
/// <summary> | ||
/// get/set - Document Type. | ||
/// </summary> | ||
public DocumentTypeModel DocumentType { get; set; } | ||
|
||
/// <summary> | ||
/// get/set - The document status type. | ||
/// </summary> | ||
public TypeModel<string> DocumentStatusTypeCode { get; set; } | ||
|
||
/// <summary> | ||
/// get/set - Document/File Name. | ||
/// </summary> | ||
public string FileName { get; set; } | ||
#endregion | ||
} | ||
} |
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,17 @@ | ||
using Mapster; | ||
using Entity = Pims.Dal.Entities; | ||
|
||
namespace Pims.Api.Models.Concepts.Document | ||
{ | ||
public class DocumentTypeMap : IRegister | ||
{ | ||
public void Register(TypeAdapterConfig config) | ||
{ | ||
config.NewConfig<Entity.PimsDocumentTyp, DocumentTypeModel>() | ||
.PreserveReference(true) | ||
.Map(dest => dest.Id, src => src.DocumentTypeId) | ||
.Map(dest => dest.DocumentType, src => src.DocumentType) | ||
.Inherits<Entity.IBaseAppEntity, BaseAppModel>(); | ||
} | ||
} | ||
} |
Oops, something went wrong.