namespace Shogi.Api.Repositories.Dto; /// /// Useful with Dapper to read from database. /// #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public class SessionDto { public string Name { get; set; } public string Player1 { get; set; } public string Player2 { get; set; } public BoardStateDto BoardState { get; set; } } #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.