PIbd-23_Elatomtsev_L.K._Cou.../Bank/BankDatabaseImplement/Models/DepositCurrency.cs

17 lines
498 B
C#
Raw Normal View History

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 DepositId { get; set; }
public virtual Deposit Deposit { get; set; } = null!;
public int CurrencyId { get; set; }
public virtual Currency Currency { get; set; } = null!;
}
}