namespace Modules.Library.Core.Domain.Common;
public class MediaInfo : Entity
{
    public MediaInfoType Type { get; init; } = MediaInfoType.OtherFile;
    //public string ContentType { get; set; } = default!;
    public string Url { get; set; } = default!;
    public void SetUrl(string value)
    {
        Url = value;
    }
}

public enum MediaInfoType
{
    Image,
    Video,
    Link,
    OtherFile
}
