sozsoft-platform/api/src/Sozsoft.Platform.Domain/Queries/Break.cs

29 lines
616 B
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Volo.Abp.Domain.Values;
namespace Sozsoft.Platform.Queries;
/// <summary>
/// Break tanımı
/// </summary>
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<object> GetAtomicValues()
{
yield return StartValue;
yield return EndValue;
}
}