using System.ComponentModel.DataAnnotations; namespace TravelAgencyDatabaseImplement.Models { public class ExcursionGroupTour { public int Id { get; set; } [Required] public int ExcursionGroupId { get; set; } [Required] public int TourId { get; set; } public virtual ExcursionGroup ExcursionGroup { get; set; } = new(); public virtual Tour Tour { get; set; } = new(); } }