15 lines
426 B
C#
15 lines
426 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|