19 lines
445 B
C#
19 lines
445 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace LaDOSE.Entity
|
|
{
|
|
public class Season : Context.Entity
|
|
{
|
|
|
|
public string Name { get; set; }
|
|
|
|
public DateTime StartDate { get; set; }
|
|
public DateTime EndDate { get; set; }
|
|
|
|
public virtual IEnumerable<SeasonGame> Games { get; set; }
|
|
|
|
public virtual IEnumerable<Event> Event { get; set; }
|
|
}
|
|
} |