2025-11-11 19:49:52 +00:00
|
|
|
|
using System.Collections.Generic;
|
2025-09-26 23:40:39 +00:00
|
|
|
|
using System.Text.Json.Serialization;
|
2025-09-26 20:34:03 +00:00
|
|
|
|
using Volo.Abp.Domain.Values;
|
|
|
|
|
|
|
2025-11-11 19:49:52 +00:00
|
|
|
|
namespace Erp.Platform.Queries;
|
2025-09-26 20:34:03 +00:00
|
|
|
|
|
2025-09-26 23:40:39 +00:00
|
|
|
|
/// <summary>
|
2025-11-12 12:59:31 +00:00
|
|
|
|
/// Break tanımı
|
2025-09-26 23:40:39 +00:00
|
|
|
|
/// </summary>
|
2025-09-26 20:34:03 +00:00
|
|
|
|
public class Break : ValueObject
|
|
|
|
|
|
{
|
2025-09-28 20:22:18 +00:00
|
|
|
|
[JsonInclude]
|
2025-09-26 23:40:39 +00:00
|
|
|
|
[JsonPropertyName("StartValue")]
|
|
|
|
|
|
public int StartValue { get; private set; }
|
|
|
|
|
|
|
2025-09-28 20:22:18 +00:00
|
|
|
|
[JsonInclude]
|
2025-09-26 23:40:39 +00:00
|
|
|
|
[JsonPropertyName("EndValue")]
|
|
|
|
|
|
public int EndValue { get; private set; }
|
|
|
|
|
|
|
2025-11-12 12:59:31 +00:00
|
|
|
|
public Break() { } // JSON için gerekli
|
2025-09-26 20:34:03 +00:00
|
|
|
|
|
|
|
|
|
|
protected override IEnumerable<object> GetAtomicValues()
|
|
|
|
|
|
{
|
|
|
|
|
|
yield return StartValue;
|
2025-09-26 23:40:39 +00:00
|
|
|
|
yield return EndValue;
|
2025-09-26 20:34:03 +00:00
|
|
|
|
}
|
2025-09-28 20:22:18 +00:00
|
|
|
|
}
|
2025-11-11 19:49:52 +00:00
|
|
|
|
|