Order.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  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 Order
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Order()
  17. {
  18. this.PaymentOrder = new HashSet<PaymentOrder>();
  19. this.ProductInOrder = new HashSet<ProductInOrder>();
  20. }
  21. public int OrderID { get; set; }
  22. public System.DateTime Date { get; set; }
  23. public int IDWorkShift { get; set; }
  24. public bool State { get; set; }
  25. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  26. public virtual ICollection<PaymentOrder> PaymentOrder { get; set; }
  27. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  28. public virtual ICollection<ProductInOrder> ProductInOrder { get; set; }
  29. public virtual WorkShift WorkShift { get; set; }
  30. }
  31. }