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; }
|
|
|
|
|
|
2025-01-10 15:59:51 -05:00
|
|
|
|
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>();
|
|
|
|
|
|
2025-01-10 15:59:51 -05:00
|
|
|
|
public virtual ICollection<EnergyRateUpdate> EnergyRateUpdates { get; set; } = new List<EnergyRateUpdate>();
|
|
|
|
|
|
2025-01-08 17:16:27 -05:00
|
|
|
|
public virtual EnergyProvider? Provider { get; set; }
|
|
|
|
|
}
|