2023-04-02 16:19:39 +04:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace HotelDataBaseImplement.Models
|
|
|
|
|
{
|
|
|
|
|
public class ConferenceMember
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public int MemberId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public int ConferenceId { get; set; }
|
|
|
|
|
|
2023-05-16 17:41:58 +04:00
|
|
|
|
public virtual Conference Conference { get; set; } = new();
|
|
|
|
|
public virtual Member Member { get; set; } = new();
|
2023-04-02 16:19:39 +04:00
|
|
|
|
}
|
|
|
|
|
}
|