CourseWork_Hotel/Hotel/HotelDataBaseImplement/Models/RoomDinner.cs

22 lines
526 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelDataBaseImplement.Models
{
public class RoomDinner
{
public int Id { get; set; }
public int RoomId { get; set; }
public int DinnerId { get; set; }
[Required]
public int Count { get; set; }
public virtual Room Rooms { get; set; }
public virtual Dinner Dinners { get; set; }
}
}