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 Project
17 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
20 this.ProjectTasks = new HashSet<ProjectTask>();
23 public int id { get; set; }
24 public Nullable<int> user_id { get; set; }
25 public string name { get; set; }
26 public string description { get; set; }
27 public Nullable<System.DateTime> created_at { get; set; }
28 public Nullable<System.DateTime> updated_at { get; set; }
30 public virtual User User { get; set; }
31 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
32 public virtual ICollection<ProjectTask> ProjectTasks { get; set; }