erp-platform/api/src/Erp.Platform.Domain/Queries/Break.cs
2025-11-11 22:49:52 +03:00

28 lines
618 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
using Volo.Abp.Domain.Values;
namespace Erp.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;
}
}