ScientificReport
GrantEditModel.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel.DataAnnotations;
4 
5 namespace ScientificReport.DTO.Models.Grant
6 {
7  public class GrantEditModel : GrantModel
8  {
9  [Required]
10  public Guid Id { get; set; }
11 
12  public IEnumerable<DAL.Entities.UserProfile.UserProfile> Users { get; set; }
13 
14  public IEnumerable<DAL.Entities.UserProfile.UserProfile> Authors { get; set; }
15 
16  public GrantEditModel()
17  {
18  }
19 
20  public GrantEditModel(DAL.Entities.Grant grant) : base(grant)
21  {
22  Id = grant.Id;
23  }
24  }
25 }