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