using System.Collections.Generic; using System.Text.Json.Serialization; using Volo.Abp.Domain.Values; namespace Erp.Platform.Queries; /// /// Break tanımı /// public class Break : ValueObject { [JsonInclude] [JsonPropertyName("StartValue")] public int StartValue { get; private set; } [JsonInclude] [JsonPropertyName("EndValue")] public int EndValue { get; private set; } public Break() { } // JSON için gerekli protected override IEnumerable GetAtomicValues() { yield return StartValue; yield return EndValue; } }