1 //------------------------------------------------------------------------------
3 // This code was generated from a template.
5 // Manual changes to this file may cause unexpected behavior in your application.
6 // Manual changes to this file will be overwritten if the code is regenerated.
8 //------------------------------------------------------------------------------
10 namespace Projects.Models
13 using System.Collections.Generic;
15 public partial class ProjectUser
17 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
20 this.Projects = new HashSet<Project>();
21 this.ProjectTasks = new HashSet<ProjectTask>();
24 public int id { get; set; }
25 public string login { get; set; }
26 public string password { get; set; }
28 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
29 public virtual ICollection<Project> Projects { get; set; }
30 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
31 public virtual ICollection<ProjectTask> ProjectTasks { get; set; }