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

22 lines
609 B
C#
Raw Permalink Normal View History

2024-05-01 17:54:58 +04:00
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; }
}
}