2023-04-02 15:45:08 +04:00
|
|
|
|
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; }
|
2023-04-05 11:31:08 +04:00
|
|
|
|
public virtual Room Room { get; set; }
|
|
|
|
|
public virtual Dinner Dinner { get; set; }
|
2023-04-02 15:45:08 +04:00
|
|
|
|
}
|
|
|
|
|
}
|