2024-09-25 22:11:28 +02:00
|
|
|
using System.Text.Json.Serialization;
|
2024-07-03 22:18:32 +02:00
|
|
|
|
2024-09-25 22:11:28 +02:00
|
|
|
namespace WatchIt.Common.Model.Photos;
|
2024-07-03 22:18:32 +02:00
|
|
|
|
2024-09-25 22:11:28 +02:00
|
|
|
public class PhotoBackgroundData
|
2024-07-03 22:18:32 +02:00
|
|
|
{
|
2024-09-25 22:11:28 +02:00
|
|
|
#region PROPERTIES
|
|
|
|
|
|
2024-07-03 22:18:32 +02:00
|
|
|
[JsonPropertyName("is_universal_background")]
|
|
|
|
|
public required bool IsUniversalBackground { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("first_gradient_color")]
|
|
|
|
|
public required byte[] FirstGradientColor { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("second_gradient_color")]
|
|
|
|
|
public required byte[] SecondGradientColor { get; set; }
|
2024-09-25 22:11:28 +02:00
|
|
|
|
|
|
|
|
#endregion
|
2024-07-03 22:18:32 +02:00
|
|
|
}
|