using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace TravelCompanyDatabaseImplement.Models { public class TravelCondition { public int Id { get; set; } [Required] public int TravelId { get; set; } [Required] public int ConditionId { get; set; } [Required] public int Count { get; set; } public virtual Condition Condition { get; set; } = new(); public virtual Travel Travel { get; set; } = new(); } }