28 lines
612 B
C#
28 lines
612 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;
|
||
}
|
||
}
|
||
|