sozsoft-platform/api/src/Sozsoft.Platform.Domain/Queries/BreakStyle.cs
Sedat Öztürk 429227df1d Initial
2026-02-24 23:44:16 +03:00

31 lines
723 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 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;
}
}