PIbd-21_Pyatakov_KM_Markov_.../UniversityContracts/ViewModels/DisciplineViewModel.cs
2023-04-09 03:05:40 +04:00

24 lines
701 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UniversityModels.Models;
namespace UniversityContracts.ViewModels
{
public class DisciplineViewModel
{
public int Id { get; set; }
public int UserId { get; set; }
public int StreamId { get; set; }
[DisplayName("Название дисциплины")]
public string Name { get; set; } = string.Empty;
[DisplayName("Количество часов")]
public int Hours { get; set; } = 0;
[DisplayName("Тип оценки")]
public bool MarkType { get; set; }
}
}