using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FrameworkDAL.DTO.Notification { public class NotificationDTO { #region PrivateMembers #region Notification private int notificationid; //Id #region Event private int eventlogid; //Id #endregion #region Event private int eventtypeid; //Id private string eventtypecode; //Id private string eventtypename; //Id #endregion private int notificationdataid; //Id #region User private int fromuserid; //Id private string fromusercode; //Code private string fromusername; //Name #endregion private string notificationmessage; //Message private DateTime notificationmodifiedon; //Modifiedon private List notificationtodetailarray = new List(); private byte status = 1; //Status #endregion #endregion #region PublicMembers #region Notification public int NotificationId { get { return notificationid; } //Id set { notificationid = 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 EventType public int EventTypeId { get { return eventtypeid; } //EventTypeId set { eventtypeid = value; } //EventTypeId } public string EventTypeCode { get { return eventtypecode; } //EventTypeCode set { eventtypecode = value; } //EventTypeCode } public string EventTypeName { get { return eventtypename; } //EventTypeName set { eventtypename = value; } //eventtypename } #endregion public int NotificationDataId { get { return notificationdataid; } //NotificationDataId set { notificationdataid = value; } //NotificationDataId } public string NotificationMessage { get { return notificationmessage; } //Message set { notificationmessage = value; } //Message } public DateTime NotificationModifiedon { get { return notificationmodifiedon; } //Modifiedon set { notificationmodifiedon = value; } //Modifiedon } // Workflow status resolved by BaseEntityAppService.SetDtoStatus via the // [WorkflowStatusField] tag. Inert today -- no workflow rule is configured // for Notification; defaults to 1 (active/approved) to match TNOTIFICATION.STATUS. [GB5Shared.EntityHandler.WorkflowStatusField] public byte Status { get { return status; } //Status set { status = value; } //Status } public List NotificationToDetailArray { get { return notificationtodetailarray; } set { notificationtodetailarray = value; } } private string userids; public string Userids { get { return userids; } //Userids set { userids = value; } //Userids } #endregion #endregion } }