view-by-distance-mklink-con.../Shared/Models/GenealogicalDataCommunicationLines.cs

24 lines
979 B
C#

using System.Text.Json;
namespace View_by_Distance.Shared.Models;
public record GenealogicalDataCommunicationLines(string? Id,
string? UId,
string? Name,
string? GivenName,
string? SurName,
string? Suffix,
string? NickName,
string? Sex,
List<string> Birth,
List<string> Death,
List<string> Changed)
{
public override string ToString()
{
string result = JsonSerializer.Serialize(this, new JsonSerializerOptions() { WriteIndented = true });
return result;
}
}