sozsoft-platform/api/src/Sozsoft.Platform.Domain/Queries/BreakStyle.cs

32 lines
723 B
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
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;
}
}