ScientificReport
PostgraduateGuidanceModel.cs
Go to the documentation of this file.
1 using System;
2 using System.ComponentModel.DataAnnotations;
3 
4 namespace ScientificReport.DTO.Models.PostgraduateGuidance
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 PostgraduateName { get; set; }
15 
16  [Required]
17  public string PostgraduateInfo { get; set; }
18 
20  {
21  }
22 
23  public PostgraduateGuidanceModel(DAL.Entities.PostgraduateGuidance postgraduateGuidance)
24  {
25  Guide = postgraduateGuidance.Guide;
26  PostgraduateName = postgraduateGuidance.PostgraduateName;
27  PostgraduateInfo = postgraduateGuidance.PostgraduateInfo;
28  }
29  }
30 }
PostgraduateGuidanceModel(DAL.Entities.PostgraduateGuidance postgraduateGuidance)