22 lines
538 B
C#
22 lines
538 B
C#
namespace Modules.Library.Domain.EntitiesV1;
|
|
public class MediaInfo : Entity
|
|
{
|
|
public MediaInfoType Type { get; private set; } = MediaInfoType.OtherFile;
|
|
//public string ContentType { get; set; } = default!;
|
|
public string Url { get; private set; } = default!;
|
|
|
|
internal MediaInfo(string url, MediaInfoType type)
|
|
{
|
|
Url = url;
|
|
Type = type;
|
|
}
|
|
|
|
internal void SetUrl(string value)
|
|
{
|
|
Url = value;
|
|
}
|
|
internal void SetType(MediaInfoType value)
|
|
{
|
|
Type = value;
|
|
}
|
|
} |