using System.Text.Json.Serialization;

namespace GeoRitmMover.Services.Implementations.TableMovers;

public class SourceResponsivePersons
{
	[JsonPropertyName("pass1")]
	public string Pass1 { get; set; } = string.Empty;
	[JsonPropertyName("pass2")]
	public string Pass2 { get; set; } = string.Empty;
	[JsonPropertyName("persons")]
	public List<SourceResponsivePerson> Persons { get; set; } = [];
}

public class SourceResponsivePerson
{
	[JsonPropertyName("key")]
	public string Key { get; set; } = string.Empty;
	[JsonPropertyName("name")]
	public string Name { get; set; } = string.Empty;
	[JsonPropertyName("phone1")]
	public string Phone1 { get; set; } = string.Empty;
	[JsonPropertyName("phone2")]
	public string Phone2 { get; set; } = string.Empty;
	[JsonPropertyName("comment")]
	public string Comment { get; set; } = string.Empty;
}