using System.Collections.Generic; using System.Text.Json.Serialization; using Volo.Abp.Domain.Values; namespace Sozsoft.Platform.Queries; public class BreakStyle : ValueObject { [JsonInclude] [JsonPropertyName("Color")] public string Color { get; private set; } [JsonInclude] [JsonPropertyName("Line")] public string Line { get; private set; } [JsonInclude] [JsonPropertyName("Width")] public int Width { get; private set; } // JSON deserialization için parametresiz public ctor bırak public BreakStyle() { } protected override IEnumerable GetAtomicValues() { yield return Color; yield return Line; yield return Width; } }