35 lines
752 B
C#
35 lines
752 B
C#
|
using HotelDataModels.Models;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
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 Conference : IConferenceModel
|
|||
|
{
|
|||
|
public int Id { get; private set; }
|
|||
|
|
|||
|
[Required]
|
|||
|
public string ConferenceName { get; set; } = string.Empty;
|
|||
|
|
|||
|
[Required]
|
|||
|
public string Subject { get; set; } = string.Empty;
|
|||
|
|
|||
|
public int OrganiserId { get; private set; }
|
|||
|
|
|||
|
private Dictionary<int, IParticipantModel> _conferenceMembers = null;
|
|||
|
|
|||
|
public Dictionary<int, IParticipantModel> ConferenceParticipants
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return _conferenceMembers;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|