using System.ComponentModel.DataAnnotations;

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

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

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

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