using System; using System.Collections.Generic; using System.Linq; using System.Text; using GB5Shared.DTO.Framework.Enum; namespace FrameworkDAL.DTO.MessagingQueue { public class ResponseStandardDTO { #region HeaderRegion private string id = ""; private string to = ""; private string from = ""; private FrameworkEnumDTO.ResponseStatus status; private string replyto = ""; private string etag = ""; private string cachekey = ""; public string Id { get { return id; } set { id = value; } } public string To { get { return to; } set { to = value; } } public string From { get { return from; } set { from = value; } } public string CacheKey { get { return cachekey; } set { cachekey = value; } } public FrameworkEnumDTO.ResponseStatus Status { get { return status; } set { status = value; } } public string ReplyTo { get { return replyto; } set { replyto = value; } } public string ETag { get { return etag; } set { etag = value; } } #endregion #region Body private string body; public string Body { get { return body; } set { body = value; } } #endregion #region pagination Private private int total; private string first = ""; private string last = ""; private string current = ""; private string previous = ""; private string next = ""; #endregion #region pagination public public int Total { get { return total; } set { total = value; } } public string First { get { return first; } set { first = value; } } public string Last { get { return last; } set { last = value; } } public string Current { get { return current; } set { current = value; } } public string Previous { get { return previous; } set { previous = value; } } public string Next { get { return next; } set { next = value; } } #endregion #region ResponseObject private object responseobject; public object ResponseObject { get { return responseobject; } set { responseobject = value; } } #endregion #region ErrorRegion private string errorbody; private string errorinnerexception; public string ErrorBody { get { return errorbody; } set { errorbody = value; } } public string ErrorInnerException { get { return errorinnerexception; } set { errorinnerexception = value; } } #endregion #region Authentication private string validtotime; private string validityofsession; private string lastloginusedtime; public string ValidToTime { get { return validtotime; } set { validtotime = value; } } public string ValidityOfSession { get { return validityofsession; } set { validityofsession = value; } } public string LastLoginUsedTime { get { return lastloginusedtime; } set { lastloginusedtime = value; } } #endregion } }