0e170d9755a42a0fc25912a4736a4a768d1ba971
[wsti_pai.git] / Projects / Models / User.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 //     This code was generated from a template.
4 //
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.
7 // </auto-generated>
8 //------------------------------------------------------------------------------
9
10 namespace Projects.Models
11 {
12     using System;
13     using System.Collections.Generic;
14     
15     public partial class User
16     {
17         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
18         public User()
19         {
20             this.Projects = new HashSet<Project>();
21             this.ProjectTasks = new HashSet<ProjectTask>();
22         }
23     
24         public int id { get; set; }
25         public string login { get; set; }
26         public string password { get; set; }
27         public int role_id { get; set; }
28     
29         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
30         public virtual ICollection<Project> Projects { get; set; }
31         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
32         public virtual ICollection<ProjectTask> ProjectTasks { get; set; }
33         public virtual UserRole UserRole { get; set; }
34     }
35 }