using BankDataModels.Models; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using BankContracts.BindingModels; using BankContracts.ViewModels; namespace BankDatabaseImplement.Models { public class DepositCurrency { public int Id { get; set; } [Required] public int DepositId { get; set; } [Required] public int CurrencyId { get; set; } public virtual Deposit Deposit { get; set; } = new(); public virtual Currency Currency { get; set; } = new(); } }