24 lines
701 B
C#
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; }
|
|
}
|
|
}
|