using System.ComponentModel.DataAnnotations.Schema; using CH.Enum; namespace CH.Dal.DbEntity; public partial class EnergyRate { [Column(TypeName = "currency")] public Currency Currency { get; set; } }