erp-platform/api/src/Erp.Platform.Domain/Queries/Break.cs
2025-11-12 15:59:31 +03:00

28 lines
612 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}
}