VadVergasov_Programming/4/Lab/Lab4/Entities/Rates.cs
using System.ComponentModel.DataAnnotations;

namespace Lab.Lab4.Entities {
    public class Rate {
        [Key]
        public int Cur_ID { get; set; }
        public DateTime Date { get; set; }
        public string Cur_Abbreviation { get; set; }
        public int Cur_Scale { get; set; }
        public string Cur_Name { get; set; }
        public decimal? Cur_OfficialRate { get; set; }
    }

    public class RateShort {
        public int Cur_ID { get; set; }
        [Key]
        public DateTime Date { get; set; }
        public decimal? Cur_OfficialRate { get; set; }
    }

}