//------------------------------------------------------------------------------
// <auto-generated>
//     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.
// </auto-generated>
//------------------------------------------------------------------------------

namespace StoreServer
{
    using System;
    using System.Collections.Generic;
    
    public partial class WorkShift
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public WorkShift()
        {
            this.Order = new HashSet<Order>();
        }
    
        public int WorkShiftID { get; set; }
        public int IDCashier { get; set; }
        public int IDEmployee { get; set; }
        public Nullable<System.DateTime> StartDateAndTimeWork { get; set; }
        public Nullable<System.DateTime> EndDateAndTimeWork { get; set; }
    
        public virtual Cashier Cashier { get; set; }
        public virtual EmployeeInStore EmployeeInStore { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Order> Order { get; set; }
    }
}
