users.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace DontHarmDesktop.Models
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class users
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public users()
  17. {
  18. this.employee_services = new HashSet<employee_services>();
  19. this.invoices = new HashSet<invoices>();
  20. }
  21. public int id { get; set; }
  22. public int role { get; set; }
  23. public string login { get; set; }
  24. public string password { get; set; }
  25. public bool hidden { get; set; }
  26. public string surname { get; set; }
  27. public string name { get; set; }
  28. public string patronymic { get; set; }
  29. public string image_path { get; set; }
  30. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  31. public virtual ICollection<employee_services> employee_services { get; set; }
  32. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  33. public virtual ICollection<invoices> invoices { get; set; }
  34. public virtual roles roles { get; set; }
  35. }
  36. }