using System;
using Quadarax.Foundation.Core.Data.Interface.Entity;

namespace BO.AppServer.Metadata.Dto
{

    #region *** Registration - Base ***

    public class RegistrationBaseDto : BoDto
    {
        public string Psinstance { get; set; }
        public string LocationIp { get; set; }
        public int PoolSize { get; set; }
    }

    #endregion

    #region *** Registration - Create ***

    public class RegistrationCDto : RegistrationBaseDto, ICreateDto
    {
    }

    #endregion

    #region *** Registration - Update ***

    public class RegistrationUDto : RegistrationBaseDto, IUpdateDto
    {
    }

    #endregion

    #region *** Registration - Read ***

    public class RegistrationRDto : RegistrationBaseDto, IReadDto
    {
        public BoAuditTimestampDto Audit { get; set; }
        public DateTime? LastActivity { get; set; }
        public int DocumentProcessedCnt { get; set; }
        public int DocumentFailedCnt { get; set; }
    }

    #endregion

    #region *** Registration - Delete ***

    internal class RegistrationDDto : BoDto, IDeleteDto
    {
    }

    #endregion
}
