WorkShift.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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. namespace StoreServer
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class WorkShift
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public WorkShift()
  17. {
  18. this.Order = new HashSet<Order>();
  19. }
  20. public int WorkShiftID { get; set; }
  21. public int IDCashier { get; set; }
  22. public int IDEmployee { get; set; }
  23. public Nullable<System.DateTime> StartDateAndTimeWork { get; set; }
  24. public Nullable<System.DateTime> EndDateAndTimeWork { get; set; }
  25. public virtual Cashier Cashier { get; set; }
  26. public virtual EmployeeInStore EmployeeInStore { get; set; }
  27. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  28. public virtual ICollection<Order> Order { get; set; }
  29. }
  30. }