-
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.
- Loading branch information
Showing
61 changed files
with
1,532 additions
and
1,297 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
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
31 changes: 31 additions & 0 deletions
31
source/backend/apimodels/Models/Concepts/CompensationRequisition/CompReqPayeeMap.cs
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,31 @@ | ||
using Mapster; | ||
using Pims.Api.Models.Base; | ||
using Entity = Pims.Dal.Entities; | ||
|
||
namespace Pims.Api.Models.Concepts.CompensationRequisition | ||
{ | ||
public class CompReqPayeeMap : IRegister | ||
{ | ||
public void Register(TypeAdapterConfig config) | ||
{ | ||
config.NewConfig<Entity.PimsCompReqPayee, CompReqPayeeModel>() | ||
.Map(dest => dest.CompReqPayeeId, src => src.CompReqPayeeId) | ||
.Map(dest => dest.CompensationRequisitionId, src => src.CompensationRequisitionId) | ||
.Map(dest => dest.AcquisitionFileTeamId, src => src.AcquisitionFileTeamId) | ||
.Map(dest => dest.AcquisitionFileTeam, src => src.AcquisitionFileTeam) | ||
.Map(dest => dest.AcquisitionOwnerId, src => src.AcquisitionOwnerId) | ||
.Map(dest => dest.AcquisitionOwner, src => src.AcquisitionOwner) | ||
.Map(dest => dest.InterestHolderId, src => src.InterestHolderId) | ||
.Map(dest => dest.InterestHolder, src => src.InterestHolder) | ||
.Inherits<Entity.IBaseEntity, BaseConcurrentModel>(); | ||
|
||
config.NewConfig<CompReqPayeeModel, Entity.PimsCompReqPayee>() | ||
.Map(dest => dest.CompReqPayeeId, src => src.CompReqPayeeId) | ||
.Map(dest => dest.CompensationRequisitionId, src => src.CompensationRequisitionId) | ||
.Map(dest => dest.AcquisitionFileTeamId, src => src.AcquisitionFileTeamId) | ||
.Map(dest => dest.AcquisitionOwnerId, src => src.AcquisitionOwnerId) | ||
.Map(dest => dest.InterestHolderId, src => src.InterestHolderId) | ||
.Inherits<BaseConcurrentModel, Entity.IBaseEntity>(); | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
source/backend/apimodels/Models/Concepts/CompensationRequisition/CompReqPayeeModel.cs
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 Pims.Api.Models.Base; | ||
using Pims.Api.Models.Concepts.AcquisitionFile; | ||
using Pims.Api.Models.Concepts.InterestHolder; | ||
|
||
namespace Pims.Api.Models.Concepts.CompensationRequisition | ||
{ | ||
public class CompReqPayeeModel : BaseAuditModel | ||
{ | ||
public long? CompReqPayeeId { get; set; } | ||
|
||
public long? CompensationRequisitionId { get; set; } | ||
|
||
public CompensationRequisitionModel CompensationRequisition { get; set; } | ||
|
||
public long? AcquisitionOwnerId { get; set; } | ||
|
||
public AcquisitionFileOwnerModel AcquisitionOwner { get; set; } | ||
|
||
public long? InterestHolderId { get; set; } | ||
|
||
public InterestHolderModel InterestHolder { get; set; } | ||
|
||
public long? AcquisitionFileTeamId { get; set; } | ||
|
||
public AcquisitionFileTeamModel AcquisitionFileTeam { 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
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
Oops, something went wrong.