using System.ComponentModel.DataAnnotations;

namespace CarCenterDataBaseImplement.Models
{
    public class EmployeeSale
    {
        public int Id { get; set; }

        [Required]
        public int SaleId { get; set; }

        [Required]
        public int EmployeeId { get; set; }

        public virtual Employee Employee { get; set; } = new();
        public virtual Sale Sale { get; set; } = new();
    }
}
