31 lines
723 B
C#
31 lines
723 B
C#
using System.Collections.Generic;
|
||
using System.Text.Json.Serialization;
|
||
using Volo.Abp.Domain.Values;
|
||
|
||
namespace Sozsoft.Platform.Queries;
|
||
|
||
public class BreakStyle : ValueObject
|
||
{
|
||
[JsonInclude]
|
||
[JsonPropertyName("Color")]
|
||
public string Color { get; private set; }
|
||
|
||
[JsonInclude]
|
||
[JsonPropertyName("Line")]
|
||
public string Line { get; private set; }
|
||
|
||
[JsonInclude]
|
||
[JsonPropertyName("Width")]
|
||
public int Width { get; private set; }
|
||
|
||
// JSON deserialization için parametresiz public ctor bırak
|
||
public BreakStyle() { }
|
||
|
||
protected override IEnumerable<object> GetAtomicValues()
|
||
{
|
||
yield return Color;
|
||
yield return Line;
|
||
yield return Width;
|
||
}
|
||
}
|
||
|