mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
added Data, Models, EntityFramework
This commit is contained in:
22
Models/Match.cs
Normal file
22
Models/Match.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LiveGameFeed.Models
|
||||
{
|
||||
public class Match : IEntityBase
|
||||
{
|
||||
public Match()
|
||||
{
|
||||
Feeds = new List<Feed>();
|
||||
}
|
||||
public int Id { get; set; }
|
||||
public string Host { get; set; }
|
||||
public string Guest { get; set; }
|
||||
public int HostScore { get; set; }
|
||||
public int GuestScore { get; set; }
|
||||
public DateTime MatchDate { get; set; }
|
||||
public string League { get; set; }
|
||||
|
||||
public ICollection<Feed> Feeds { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user