Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- using WIMS.Commands;
- using WIMS.Models.Enums;
- using WIMS.Models.Structure.Contracts;
- namespace WIMS.Models.Structure.WorkItems
- {
- public class Feedback : WorkItem, IFeedback
- {
- private int rating;
- private FeedbackStatus feedbackStatus;
- public Feedback(string title, string description, int rating) //FeedbackStatus;
- : base(title, description)
- {
- this.Rating = rating;
- this.FeedbackStatus = FeedbackStatus.New;
- }
- public int Rating {
- get => this.rating;
- set
- {
- Guard.RatingCheck(value);
- this.rating = value;
- }
- }
- public FeedbackStatus FeedbackStatus { get ; private set; }
- //TODO : Methods for rating & feedback changing ??
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment