/// <summary> /// Initializes a new instance of the <see cref="QDiscussion" /> class. /// </summary> /// <param name="topicId">topicId.</param> /// <param name="senderId">senderId.</param> /// <param name="text">text.</param> /// <param name="imageUrl">imageUrl.</param> /// <param name="user">user.</param> public QDiscussion(Guid topicId = default(Guid), Guid senderId = default(Guid), string text = default(string), string imageUrl = default(string), QUser user = default(QUser)) { this.TopicId = topicId; this.SenderId = senderId; this.Text = text; this.ImageUrl = imageUrl; this.User = user; }
/// <summary> /// Initializes a new instance of the <see cref="QPost" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="createdAt">createdAt.</param> /// <param name="updatedAt">updatedAt.</param> /// <param name="senderId">senderId.</param> /// <param name="title">title.</param> /// <param name="text">text.</param> /// <param name="isPinned">isPinned.</param> /// <param name="isEssense">isEssense.</param> /// <param name="user">user.</param> /// <param name="replyCount">replyCount.</param> /// <param name="lastReply">lastReply.</param> public QPost(Guid id = default(Guid), long createdAt = default(long), long updatedAt = default(long), Guid senderId = default(Guid), string title = default(string), string text = default(string), bool isPinned = default(bool), bool isEssense = default(bool), QUser user = default(QUser), int replyCount = default(int), long lastReply = default(long)) { this.Id = id; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.SenderId = senderId; this.Title = title; this.Text = text; this.IsPinned = isPinned; this.IsEssense = isEssense; this.User = user; this.ReplyCount = replyCount; this.LastReply = lastReply; }
/// <summary> /// Initializes a new instance of the <see cref="QAdminRequest" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="topicId">topicId.</param> /// <param name="senderId">senderId.</param> /// <param name="text">text.</param> /// <param name="status">status.</param> /// <param name="user">user.</param> public QAdminRequest(Guid id = default(Guid), Guid topicId = default(Guid), Guid senderId = default(Guid), string text = default(string), RequestStatus status = default(RequestStatus), QUser user = default(QUser)) { this.Id = id; this.TopicId = topicId; this.SenderId = senderId; this.Text = text; this.Status = status; this.User = user; }
/// <summary> /// Initializes a new instance of the <see cref="QComment" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="createdAt">createdAt.</param> /// <param name="updatedAt">updatedAt.</param> /// <param name="senderId">senderId.</param> /// <param name="workId">workId.</param> /// <param name="title">title.</param> /// <param name="text">text.</param> /// <param name="rating">rating.</param> /// <param name="agreeCount">agreeCount.</param> /// <param name="disagreeCount">disagreeCount.</param> /// <param name="user">user.</param> /// <param name="myAttitude">myAttitude.</param> public QComment(Guid id = default(Guid), long createdAt = default(long), long updatedAt = default(long), Guid senderId = default(Guid), Guid workId = default(Guid), string title = default(string), string text = default(string), int rating = default(int), int agreeCount = default(int), int disagreeCount = default(int), QUser user = default(QUser), bool?myAttitude = default(bool?)) { this.Id = id; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.SenderId = senderId; this.WorkId = workId; this.Title = title; this.Text = text; this.Rating = rating; this.AgreeCount = agreeCount; this.DisagreeCount = disagreeCount; this.User = user; this.MyAttitude = myAttitude; }
/// <summary> /// Initializes a new instance of the <see cref="QReply" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="senderId">senderId.</param> /// <param name="postId">postId.</param> /// <param name="text">text.</param> /// <param name="user">user.</param> public QReply(Guid id = default(Guid), Guid senderId = default(Guid), Guid postId = default(Guid), string text = default(string), QUser user = default(QUser)) { this.Id = id; this.SenderId = senderId; this.PostId = postId; this.Text = text; this.User = user; }