PIbd-21_Anisin_R.S._CourseW.../TravelAgency/TravelAgencyDatabaseImplement/Models/ExcursionGroupTour.cs

20 lines
448 B
C#
Raw Normal View History

2024-04-28 23:08:12 +04:00
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();
}
}