ISEbd-22_CourseWork_School/School/SchoolContracts/ViewModels/IAccountModel.cs

22 lines
609 B
C#

using SchoolDataModels;
using System.ComponentModel;
using SchoolDataModels.Models;
namespace SchoolContracts.ViewModels
{
public class AccountViewModel : IAccountModel
{
public int Id { get; set; }
public int StudentByDisciplineId { get; set; }
public DateOnly DateOfAccount { get; set; } = DateOnly.FromDateTime(DateTime.Now);
public double Price { get; set; }
public StudentByDisciplineModel StudentByDiscipline { get; set; }
public StudentViewModel? Student { get; set; }
public DisciplineViewModel? Discipline { get; set; }
}
}