using System;
namespace zero.Core.Entities
{
///
/// A media file (can contain an image or other media like videos and documents)
///
public class Media : DatabaseEntity
{
///
/// Alternative text which is used when the image can't be loaded
///
public string AlternativeText { get; set; }
///
/// Additional caption text
///
public string Caption { get; set; }
///
/// Path of the media item
///
public string Source { get; set; }
///
/// Filesize in bytes
///
public int Size { get; set; }
///
/// Time the file has last changed
///
public DateTimeOffset LastModifiedDate { get; set; }
///
/// Optional focal point for an image
///
public MediaFocalPoint FocalPoint { get; set; }
}
}