34 lines
760 B
C#
Raw Normal View History

2023-10-20 23:13:02 +04:00
using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.ViewModel
{
2023-10-24 00:00:25 +04:00
public class LabWorkViewModel : ILabWork
2023-10-20 23:13:02 +04:00
{
public int Id { get; set; }
public string Theme { get; set; } = string.Empty;
public string FCs { get; set; }
2023-10-20 23:13:02 +04:00
public string Discipline { get; set; }
2023-10-20 23:13:02 +04:00
2023-10-23 16:47:58 +04:00
public string Questions { get; set; }
2023-10-20 23:13:02 +04:00
public LabWorkViewModel() { }
public LabWorkViewModel(ILabWork labWork)
{
Id = labWork.Id;
Theme = labWork.Theme;
FCs = labWork.FCs;
Discipline = labWork.Discipline;
2023-10-20 23:13:02 +04:00
Questions = labWork.Questions;
}
}
}