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 UserRole
17 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
20 this.Users = new HashSet<User>();
23 public int id { get; set; }
24 public string role { get; set; }
26 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
27 public virtual ICollection<User> Users { get; set; }