Add project files.

This commit is contained in:
2025-10-11 08:15:33 +02:00
commit 5d1e7858f2
140 changed files with 7567 additions and 0 deletions

View File

@ -0,0 +1,55 @@
using Common.Library;
namespace GreadyPoang.EntityLayer;
public class PlayerColumn : EntityBase
{
public PlayerColumn()
{
_playerName = string.Empty;
_values = new List<string>();
}
private int _playerId;
private string _playerName;
private List<string> _values;
public string PlayerName
{
get { return _playerName; }
set
{
_playerName = value;
RaisePropertyChanged(nameof(PlayerName));
}
}
public List<string> Values
{
get { return _values; }
set
{
_values = value;
RaisePropertyChanged(nameof(Values));
}
}
public int PlayerId
{
get { return _playerId; }
set
{
_playerId = value;
RaisePropertyChanged(nameof(PlayerId));
}
}
private int _playerPoints;
public int PlayerPoints
{
get { return _playerPoints; }
set { _playerPoints = value; }
}
}

View File

@ -0,0 +1,126 @@
using Common.Library;
namespace GreadyPoang.EntityLayer;
public class RoundBuilderElement : EntityBase
{
public RoundBuilderElement()
{
_participantId = 0;
_participantName = string.Empty;
_gameRoundRegNr = 0;
_gameRegPoints = 0;
_status = GamePointStatus.New;
_gameRoundStartDate = DateTime.MinValue;
_gameRoundId = 0;
_gamePointId = 0;
}
private int _participantId;
private string _participantName;
private int _gameRoundRegNr;
private int _gameRegPoints;
private GamePointStatus _status;
private DateTime _gameRoundStartDate;
private int _gameRoundId;
private int _gamePointId;
public int ParticipantId
{
get { return _participantId; }
set
{
_participantId = value;
RaisePropertyChanged(nameof(ParticipantId));
}
}
public string ParticipantName
{
get { return _participantName; }
set
{
_participantName = value;
RaisePropertyChanged(nameof(ParticipantName));
}
}
public int GameRoundRegNr
{
get { return _gameRoundRegNr; }
set
{
_gameRoundRegNr = value;
RaisePropertyChanged(nameof(GameRoundRegNr));
}
}
public int GameRegPoints
{
get { return _gameRegPoints; }
set
{
_gameRegPoints = value;
RaisePropertyChanged(nameof(GameRegPoints));
}
}
public GamePointStatus Status
{
get { return _status; }
set
{
_status = value;
RaisePropertyChanged(nameof(Status));
RaisePropertyChanged(nameof(StatusString));
}
}
public string StatusString
{
get { return _status.ToString(); }
}
public DateTime GameRoundStartDate
{
get { return _gameRoundStartDate; }
set
{
_gameRoundStartDate = value;
RaisePropertyChanged(nameof(GameRoundStartDate));
RaisePropertyChanged(nameof(GameRoundStartDateString));
}
}
public string GameRoundStartDateString
{
get { return _gameRoundStartDate.ToString("yyyy-MM-dd"); }
}
public int GameRoundId
{
get { return _gameRoundId; }
set
{
_gameRoundId = value;
RaisePropertyChanged(nameof(GameRoundId));
}
}
public int GamePointId
{
get { return _gamePointId; }
set
{
_gamePointId = value;
RaisePropertyChanged(nameof(GamePointId));
}
}
}

View File

@ -0,0 +1,56 @@
using Common.Library;
namespace GreadyPoang.EntityLayer;
public class RoundBuilderGroup : EntityBase
{
public RoundBuilderGroup()
{
_gameRoundId = 0;
_gameRoundStartDate = DateTime.MinValue;
_status = GamePointStatus.New;
_elements = new List<RoundBuilderElement>();
}
private int _gameRoundId;
private DateTime _gameRoundStartDate;
private GamePointStatus _status;
private List<RoundBuilderElement> _elements;
public int GameRoundId
{
get { return _gameRoundId; }
set
{
_gameRoundId = value;
// No need to raise property changed for this example
}
}
public DateTime GameRoundStartDate
{
get { return _gameRoundStartDate; }
set
{
_gameRoundStartDate = value;
// No need to raise property changed for this example
}
}
public GamePointStatus Status
{
get { return _status; }
set
{
_status = value;
// No need to raise property changed for this example
}
}
public List<RoundBuilderElement> Elements
{
get { return _elements; }
set
{
_elements = value;
RaisePropertyChanged(nameof(Elements));
// No need to raise property changed for this example
}
}
}