25 lines
553 B
C#
25 lines
553 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectHorseRacingOrg.Entities;
|
|||
|
|
|||
|
public class RaceEntryDetails
|
|||
|
{
|
|||
|
public int Id { get; private set; }
|
|||
|
public int RaceId { get; private set; }
|
|||
|
public int Count { get; private set; }
|
|||
|
public static RaceEntryDetails CreateElement(int id, int raceId, int
|
|||
|
count)
|
|||
|
{
|
|||
|
return new RaceEntryDetails
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
RaceId = raceId,
|
|||
|
Count = count
|
|||
|
};
|
|||
|
}
|
|||
|
}
|