using BO.AppServer.Metadata.Enums;
using Quadarax.Foundation.Core.Data.Interface.Entity;

namespace BO.AppServer.Metadata.Dto
{
    #region *** Artifact - Base ***

    public class ArtifactBaseDto : BoDto
    {
    }

    #endregion

    #region *** Artifact - Create ***

    public class ArtifactCDto : Dto, ICreateDto
    {
        public string Name { get; set; }
        public string Extension { get; set;}
        public string MimeType { get; set;}
    }

    #endregion

    #region *** Artifact - Update ***

    internal class ArtifactUDto : ArtifactBaseDto, IUpdateDto
    {
    }

    #endregion

    #region *** Artifact - Read ***

    public class ArtifactRDto : ArtifactBaseDto, IReadDto
    {
        public BoAuditDto Audit { get; set; }        
        public string Name { get; set;}
        public string Extension { get; set;}
        public string MimeType { get; set;}
        public string MimeTypeDescription { get; set;}
        public long Length { get; set;}
        public ArtifactTypeEnum Type { get; set; }
    }

    #endregion

    #region *** Artifact - Delete ***

    internal class ArtifactDDto : BoDto, IDeleteDto
    {
    }

    #endregion
}
