ScientificReport
ScientificConsultationModel.cs
Go to the documentation of this file.
1 using System;
2 using System.ComponentModel.DataAnnotations;
3 
4 namespace ScientificReport.DTO.Models.ScientificConsultation
5 {
7  {
8 // [Required]
9  public Guid GuideId { get; set; }
10 
11  public DAL.Entities.UserProfile.UserProfile Guide { get; set; }
12 
13  [Required]
14  public string CandidateName { get; set; }
15 
16  [Required]
17  public string DissertationTitle { get; set; }
18 
20  {
21  }
22 
23  public ScientificConsultationModel(DAL.Entities.ScientificConsultation scientificConsultation)
24  {
25  Guide = scientificConsultation.Guide;
26  CandidateName = scientificConsultation.CandidateName;
27  DissertationTitle = scientificConsultation.DissertationTitle;
28  }
29  }
30 }
ScientificConsultationModel(DAL.Entities.ScientificConsultation scientificConsultation)