constellation-api/CH.Dal/DbEntity/EnergyRate.cs

30 lines
752 B
C#
Raw Normal View History

2025-01-08 17:16:27 -05:00
using System;
using System.Collections.Generic;
namespace CH.Dal.DbEntity;
public partial class EnergyRate
{
public long Id { get; set; }
public long? ProviderId { get; set; }
public string Name { get; set; } = null!;
public decimal? Price { get; set; }
public bool Active { get; set; }
public DateTime? DisabledAt { get; set; }
2025-01-08 17:16:27 -05:00
public DateTime CreatedAt { get; set; }
public DateTime? UpdatedAt { get; set; }
public virtual ICollection<EnergyRateException> EnergyRateExceptions { get; set; } = new List<EnergyRateException>();
public virtual ICollection<EnergyRateUpdate> EnergyRateUpdates { get; set; } = new List<EnergyRateUpdate>();
2025-01-08 17:16:27 -05:00
public virtual EnergyProvider? Provider { get; set; }
}