// Copyright 2020 De Staat der Nederlanden, Ministerie van Volksgezondheid, Welzijn en Sport.
// Licensed under the EUROPEAN UNION PUBLIC LICENCE v. 1.2
// SPDX-License-Identifier: EUPL-1.2

using Microsoft.EntityFrameworkCore;
using NL.Rijksoverheid.ExposureNotification.BackEnd.Domain;
using NL.Rijksoverheid.ExposureNotification.BackEnd.Domain.Rcp;

namespace NL.Rijksoverheid.ExposureNotification.BackEnd.DiagnosisKeys.Entities
{
    /// <summary>
    /// Info from standard info 
    /// </summary>
    [Owned]
    public class LocalTekInfo
    {
        public TransmissionRiskLevel? TransmissionRiskLevel { get; set; }

        /// <summary>
        /// Set this from Days since symptoms onset, calculate TRL
        /// </summary>
        public int? DaysSinceSymptomsOnset { get; set; }

        public InfectiousPeriodType Symptomatic { get; set; }

        /// <summary>
        /// Report type defined for a TemporaryExposureKey;
        /// defaults to CONFIRMED_TEST (1)
        /// </summary>
        public int ReportType { get; set; } = 1;
    }
}
