create, read, playercount
This commit is contained in:
10
Shogi.Api/Repositories/Dto/MoveDto.cs
Normal file
10
Shogi.Api/Repositories/Dto/MoveDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Shogi.Domain;
|
||||
|
||||
namespace Shogi.Api.Repositories.Dto;
|
||||
|
||||
/// <summary>
|
||||
/// Useful with Dapper to read from database.
|
||||
/// </summary>
|
||||
public readonly record struct MoveDto(string From, string To, bool IsPromotion, WhichPiece? PieceFromHand)
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user