using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.Comment { public class CommentDTO { #region PrivateMembers #region Comment private int commentid; //Id private int parentcommentid; #region User private int userid; //Id private string usercode; //Code private string username; //Name #endregion private DateTime commenttimestamp; //TimeStamp private byte commentcommentstatuss; //CommentStatus private byte commentaccesstype; //AccessType #region User private int privateusergroupid; //Id private string privateusergroupcode; //Code private string privateusergroupname; //Name #endregion private int commentobjecttypeid; //ObjectTypeId private int commentobjectid; //ObjectId private string commentcommenttext; //CommentText private byte commentsecuritylevel; //SecurityLevel #endregion #region Base private byte commentstatus; //Status private Int16 commentversion; //Version #endregion #region Standard private int commentcreatedbyid; //CreatedById private DateTime commentcreatedon; //CreatedOn private int commentmodifiedbyid; //ModifiedById private DateTime commentmodifiedon; //ModifiedOn #endregion #region Biztransaction private int biztransactionid = -1; //Id #endregion #region Ou private int ouid = -1; //Id #endregion #endregion #region PublicMembers #region Comment public int CommentId { get { return commentid; } //Id set { commentid = value; } //Id } #region User public int UserId { get { return userid; } //Id set { userid = value; } //Id } public string UserCode { get { return usercode; } //Code set { usercode = value; } //Code } public string UserName { get { return username; } //Name set { username = value; } //Name } #endregion public DateTime CommentTimeStamp { get { return commenttimestamp; } //TimeStamp set { commenttimestamp = value; } //TimeStamp } public byte CommentCommentStatuss { get { return commentcommentstatuss; } //CommentStatus set { commentcommentstatuss = value; } //CommentStatus } public byte CommentAccessType { get { return commentaccesstype; } //AccessType set { commentaccesstype = value; } //AccessType } #region User public int PrivateUserGroupId { get { return privateusergroupid; } //Id set { privateusergroupid = value; } //Id } public string PrivateUserGroupCode { get { return privateusergroupcode; } //Code set { privateusergroupcode = value; } //Code } public string PrivateUserGroupName { get { return privateusergroupname; } //Name set { privateusergroupname = value; } //Name } #endregion public int CommentObjectTypeId { get { return commentobjecttypeid; } //ObjectTypeId set { commentobjecttypeid = value; } //ObjectTypeId } public int CommentObjectId { get { return commentobjectid; } //ObjectId set { commentobjectid = value; } //ObjectId } public string CommentCommentText { get { return commentcommenttext; } //CommentText set { commentcommenttext = value; } //CommentText } public byte CommentSecurityLevel { get { return commentsecuritylevel; } //SecurityLevel set { commentsecuritylevel = value; } //SecurityLevel } #endregion #region Base public byte CommentStatus { get { return commentstatus; } //Status set { commentstatus = value; } //Status } public Int16 CommentVersion { get { return commentversion; } //Version set { commentversion = value; } //Version } #endregion #region Standard public int CommentCreatedById { get { return commentcreatedbyid; } //CreatedById set { commentcreatedbyid = value; } //CreatedById } public DateTime CommentCreatedOn { get { return commentcreatedon; } //CreatedOn set { commentcreatedon = value; } //CreatedOn } public int CommentModifiedById { get { return commentmodifiedbyid; } //ModifiedById set { commentmodifiedbyid = value; } //ModifiedById } public DateTime CommentModifiedOn { get { return commentmodifiedon; } //ModifiedOn set { commentmodifiedon = value; } //ModifiedOn } public int ParentCommentId { get { return parentcommentid; } //ModifiedById set { parentcommentid = value; } //ModifiedById } #endregion #region Biztransaction public int BizTransactionId { get { return biztransactionid; } //BizTransactionId set { biztransactionid = value; } //BizTransactionId } #endregion #region Ou public int OuId { get { return ouid; } //OuId set { ouid = value; } //OuId } #endregion #endregion } }