CourseWork_Hotel/Hotel/HotelDataBaseImplement/Models/ConferenceMember.cs

19 lines
414 B
C#
Raw Normal View History

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; }
public virtual Conference Conference { get; set; }
public virtual Member Member { get; set; }
}
}