mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
66819a015a
This commit introduces the MediaFile entity and updates the media attachments model, repositories, and related logic to reference MediaFile instead of storing file metadata directly in MediaAttachments. Controller, service, and SignalR request/response contracts are updated to support the new structure. Database configurations and validators are also adjusted accordingly. This refactor improves media management and normalization in the data model.
9 lines
204 B
C#
9 lines
204 B
C#
using Govor.Core.Models;
|
|
|
|
namespace Govor.Contracts.Requests.SignalR;
|
|
|
|
public record MediaReference
|
|
{
|
|
public Guid MediaId { get; init; }
|
|
public string EncryptedKey { get; init; } = string.Empty;
|
|
} |