Files
aa/Shared/Models/PersonKeyFormattedAndPersonBirthday.cs
2025-07-20 08:31:03 -07:00

21 lines
729 B
C#

using System.Text.Json;
using System.Text.Json.Serialization;
namespace Phares.Shared.Models;
public record PersonKeyFormattedAndPersonBirthday(string PersonKeyFormatted, PersonBirthday PersonBirthday)
{
public override string ToString()
{
string result = JsonSerializer.Serialize(this, PersonKeyFormattedAndPersonBirthdaySourceGenerationContext.Default.PersonKeyFormattedAndPersonBirthday);
return result;
}
}
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
[JsonSerializable(typeof(PersonKeyFormattedAndPersonBirthday))]
public partial class PersonKeyFormattedAndPersonBirthdaySourceGenerationContext : JsonSerializerContext
{
}