using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Managing.Infrastructure.Databases.PostgreSql.Entities;

[Table("ScenarioIndicators")]
public class ScenarioIndicatorEntity
{
    [Key]
    public int Id { get; set; }
    
    public int ScenarioId { get; set; }
    public int IndicatorId { get; set; }
    
    public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
    
    // Navigation properties
    [ForeignKey("ScenarioId")]
    public virtual ScenarioEntity Scenario { get; set; } = null!;
    
    [ForeignKey("IndicatorId")]
    public virtual IndicatorEntity Indicator { get; set; } = null!;
} 