mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
96587b491d
Introduced AutoMapper to the API project and registered it in the DI container. Added mapping profiles for core models to DTOs and response objects. Refactored controllers to use AutoMapper for mapping entities to response DTOs. Implemented new response models for messages, media attachments, reactions, and views. Updated MessagesLoader to load messages with related data. Added a migration to support ChatGroupId in messages. Updated dependencies and fixed minor issues in related files.
8 lines
193 B
C#
8 lines
193 B
C#
namespace Govor.Contracts.Responses;
|
|
|
|
public class MediaAttachmentResponse
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid MessageId { get; set; }
|
|
public Guid MediaFileId { get; set; }
|
|
} |