﻿using Newtonsoft.Json;
using System;

namespace QnAMaker.Model
{
    [Serializable]
    public class FeedbackRecord
    {
        [JsonProperty(PropertyName = "userId")]
        public string UserId { get; set; }

        [JsonProperty(PropertyName = "userQuestion")]
        public string UserQuestion { get; set; }

        [JsonProperty(PropertyName = "kbQuestion")]
        public string KbQuestion { get; set; }

        [JsonProperty(PropertyName = "kbAnswer")]
        public string KbAnswer { get; set; }

        public FeedbackRecord(string userId, string userQuestion, string kbQuestion, string kbAnswer)
        {
            UserId = userId;
            UserQuestion = userQuestion;
            KbQuestion = kbQuestion;
            KbAnswer = kbAnswer;
        }
    }
}
