2018-10-07 03:03:38 +02:00
|
|
|
|
using System;
|
2018-10-07 15:15:11 +02:00
|
|
|
|
using System.Collections.Generic;
|
2018-10-07 03:03:38 +02:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
|
|
namespace LaDOSE.Entity
|
|
|
|
|
|
{
|
2018-10-12 20:52:59 +02:00
|
|
|
|
public class Event : Context.Entity
|
2018-10-07 03:03:38 +02:00
|
|
|
|
{
|
2018-10-12 20:52:59 +02:00
|
|
|
|
//[Key]
|
|
|
|
|
|
//public int Id { get; set; }
|
2018-10-07 03:03:38 +02:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public DateTime Date { get; set; }
|
|
|
|
|
|
public int SeasonId { get; set; }
|
|
|
|
|
|
public Season Season { get; set; }
|
|
|
|
|
|
public bool Ranking { get; set; }
|
|
|
|
|
|
|
2018-10-07 15:15:11 +02:00
|
|
|
|
|
|
|
|
|
|
public virtual IEnumerable<EventGame> Games { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-07 03:03:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|