using System;
using System.Collections.Generic;

namespace survey_beta.Models
{
    public class Response
    {
        public string Id { get; set; } = Guid.NewGuid().ToString();
        public string? IpAddress { get; set; }
        public string SurveyId { get; set; }
        public Survey? Survey { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
        public ICollection<Answer> Answers { get; set; } = new List<Answer>();
    }
}
