using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FrameworkDAL.DTO.Notification { public class NotificationListDTO { #region PrivateMembers #region Notification private int notificationid; //Id private int notificationtoid; //Id #region Event private int eventlogid; //Id #endregion #region User private int fromuserid; //Id private string fromusercode; //Code private string fromusername; //Name #endregion private byte notificationtonotificationstatus; //NotificationStatus #region User private int touserid; //Id private string tousercode; //Code private string tousername; //Name #endregion private string notificationmessage; //Message private DateTime notificationmodifiedon; //Modifiedon private int dataid; private byte status = 1; //Status private Int64 numberofrecords; #endregion #endregion #region PublicMembers #region Notification public int NotificationId { get { return notificationid; } //Id set { notificationid = value; } //Id } public int NotificationToId { get { return notificationtoid; } //Id set { notificationtoid = value; } //Id } #region Event public int EventLogId { get { return eventlogid; } //Id set { eventlogid = value; } //Id } #endregion #region User public int FromUserId { get { return fromuserid; } //Id set { fromuserid = value; } //Id } public string FromUserCode { get { return fromusercode; } //Code set { fromusercode = value; } //Code } public string FromUserName { get { return fromusername; } //Name set { fromusername = value; } //Name } #endregion #region User public int ToUserId { get { return touserid; } //Id set { touserid = value; } //Id } public string ToUserCode { get { return tousercode; } //Code set { tousercode = value; } //Code } public string ToUserName { get { return tousername; } //Name set { tousername = value; } //Name } #endregion public byte NotificationToNotificationStatus { get { return notificationtonotificationstatus; } //NotificationStatus set { notificationtonotificationstatus = value; } //NotificationStatus } public string NotificationMessage { get { return notificationmessage; } //Message set { notificationmessage = value; } //Message } public DateTime NotificationModifiedon { get { return notificationmodifiedon; } //Modifiedon set { notificationmodifiedon = value; } //Modifiedon } // Read-side projection of TNOTIFICATION.STATUS (aliased in // NotificationQB.GET_NOTIFICATION_USER). Not tagged [WorkflowStatusField] -- // only the write-side NotificationDTO is what SetDtoStatus resolves against. public byte Status { get { return status; } //Status set { status = value; } //Status } public Int64 NumberOfRecords { get { return numberofrecords; } set { numberofrecords = value; } } public int DataId { get { return dataid; } //id set { dataid = value; } //id } #endregion #endregion } }