ScientificReport
PatentLicenseActivity.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.DAL.Entities
6 {
7  public class PatentLicenseActivity
8  {
9  public enum Types
10  {
11  Patent, Application
12  }
13 
14  [Key]
15  public Guid Id { get; set; }
16 
17  public string Name { get; set; }
18 
19  public int Number { get; set; }
20 
21  [DataType(DataType.DateTime)]
22  public DateTime Date { get; set; }
23 
24  public Types Type { get; set; }
25 
26  public virtual ICollection<AuthorsPatentLicenseActivities> AuthorsPatentLicenseActivities { get; set; }
27 
28  public virtual ICollection<CoauthorsPatentLicenseActivities> CoauthorsPatentLicenseActivities { get; set; }
29 
30  public virtual ICollection<ApplicantsPatentLicenseActivities> ApplicantsPatentLicenseActivities { get; set; }
31 
32  public virtual ICollection<CoApplicantsPatentLicenseActivities> CoApplicantsPatentLicenseActivities { get; set; }
33  }
34 }