Files
LaDOSE/LaDOSE.Src/LaDOSE.Entity/Season.cs

18 lines
414 B
C#
Raw Normal View History

2018-10-06 13:05:38 +02:00
using System;
2018-10-06 14:16:42 +02:00
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2018-10-06 13:05:38 +02:00
namespace LaDOSE.Entity
{
public class Season
{
2018-10-06 14:16:42 +02:00
[Key]
2018-10-06 13:05:38 +02:00
public int Id { get; set; }
public string Name { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
2018-10-06 14:16:42 +02:00
public virtual IEnumerable<SeasonGame> Games { get; set; }
2018-10-06 13:05:38 +02:00
}
}