ISEbd-22_CourseWork_University/University/UniversityDatabaseImplement/Models/CarByPurchase.cs

15 lines
426 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
using UniversityDataModels.ProxyModels;
namespace UniversityDatabaseImplement.Models
{
public class ClassByPurchase : ClassByPurchaseModel
{
[Required]
public Class? Class { get; private set; }
[Required]
public Purchase? Purchase { get; private set; }
[Required]
public List<Payment>? Payments { get; private set; }
}
}