diff --git a/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs b/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs index 59d278e7..58b7e50f 100644 --- a/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs +++ b/EnvelopeGenerator.Application/Common/Dto/MappingProfile.cs @@ -36,6 +36,7 @@ public class MappingProfile : Profile CreateMap(); CreateMap(); CreateMap(); + CreateMap(); // DTO to Entity mappings CreateMap(); diff --git a/EnvelopeGenerator.Application/Common/Dto/ThirdPartyModuleDto.cs b/EnvelopeGenerator.Application/Common/Dto/ThirdPartyModuleDto.cs new file mode 100644 index 00000000..de758925 --- /dev/null +++ b/EnvelopeGenerator.Application/Common/Dto/ThirdPartyModuleDto.cs @@ -0,0 +1,57 @@ +namespace EnvelopeGenerator.Application.Common.Dto; + +/// +/// +/// +public record ThirdPartyModuleDto +{ + /// + /// + /// + public int Id { get; init; } + + /// + /// + /// + public bool Active { get; init; } + + /// + /// + /// + public string Name { get; init; } = default!; + + /// + /// + /// + public string? Description { get; init; } + + /// + /// + /// + public string License { get; init; } = default!; + + /// + /// + /// + public string Version { get; init; } = default!; + + /// + /// + /// + public string? AddedWho { get; init; } + + /// + /// + /// + public DateTime? AddedWhen { get; init; } + + /// + /// + /// + public string? ChangedWho { get; init; } + + /// + /// + /// + public DateTime? ChangedWhen { get; init; } +} \ No newline at end of file