Add project files.

This commit is contained in:
2025-08-28 11:32:25 +02:00
parent 35e29e07f1
commit eb9ea77dd9
54 changed files with 1872 additions and 0 deletions

View File

@ -0,0 +1,67 @@
using Common.Library;
namespace GreadyPoang.EntityLayer;
public class Participant : EntityBase
{
public Participant()
{
_firstName = string.Empty;
_lastName = string.Empty;
_email = string.Empty;
}
private int _participantId;
private string _firstName;
private string _lastName;
private string _email;
public int ParticipantId
{
get { return _participantId; }
set
{
_participantId = value;
RaisePropertyChanged(nameof(ParticipantId));
}
}
public string FirstName
{
get { return _firstName; }
set
{
_firstName = value;
RaisePropertyChanged(nameof(FirstName));
}
}
public string LastName
{
get { return _lastName; }
set
{
_lastName = value;
RaisePropertyChanged(nameof(LastName));
}
}
public string Email
{
get { return _email; }
set
{
_email = value;
RaisePropertyChanged(nameof(Email));
}
}
public string FullName
{
get { return $"{FirstName} {LastName}"; }
}
public string LastNameFirstName
{
get { return $"{LastName}, {FirstName}"; }
}
}

View File

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Common.Library\Common.Library.csproj" />
</ItemGroup>
</Project>