25 lines
553 B
C#
Raw Permalink Normal View History

2024-12-11 19:40:18 +04:00
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
};
}
}