using Monitoring.Core.Domain.UserPrimitives;

namespace Monitoring.Core.Domain.ReportManagement;
public class Report
{
	public ReportId Id { get; }
	public ReportName Name { get; }
	public DateTime CreatedAt { get; }
	public string Data { get; }
	public User User { get; } = default!;
	public UserId UserId { get; }
	public ReportType Type { get; }

	public Report(ReportName name, string data, UserId userId, ReportType type)
	{
		Id = new ReportId(Guid.NewGuid());
		Name = name;
		CreatedAt = DateTime.UtcNow;
		Data = data;
		UserId = userId;
		Type = type;
	}

	protected Report() { }
}
