//------------------------------------------------------------------------------ // // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // //------------------------------------------------------------------------------ namespace TrainingBeforeExams { using System; using System.Collections.Generic; public partial class User { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public User() { this.Orders = new HashSet(); this.StaffLists = new HashSet(); } public int IdUser { get; set; } public string Login { get; set; } public string Password { get; set; } public string Name { get; set; } public string Surname { get; set; } public int StatusUserID { get; set; } public int RoleID { get; set; } public byte[] Image { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Orders { get; set; } public virtual Role Role { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StaffLists { get; set; } public virtual StatusUser StatusUser { get; set; } } }