2024-12-24 21:26:31 +04:00

26 lines
618 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 string RaceName { get; private set; } = string.Empty;
public static RaceEntryDetails CreateElement(int id, int raceId, int
count)
{
return new RaceEntryDetails
{
Id = id,
RaceId = raceId,
Count = count
};
}
}