CourseWork_Bank/Bank/BankDatabaseImplement/Models/OperationByPurchase.cs

15 lines
433 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
using BankDataModels.ProxyModels;
namespace BankDatabaseImplement.Models
{
public class OperationByPurchase : OperationByPurchaseModel
{
[Required]
public Operation? Operation { get; private set; }
[Required]
public Purchase? Purchase { get; private set; }
[Required]
public List<Payment>? Payments { get; private set; }
}
}