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

31 lines
757 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
using Volo.Abp.Domain.Values;
namespace Sozsoft.Platform.Queries;
public class ChartFont : ValueObject
{
[JsonInclude]
public string Color { get; private set; } = "#FFFFFF";
[JsonInclude]
public string Family { get; private set; } = "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif";
[JsonInclude]
public int Size { get; private set; } = 12;
[JsonInclude]
public int Weight { get; private set; } = 400;
public ChartFont() { }
protected override IEnumerable<object> GetAtomicValues()
{
yield return Color;
yield return Family;
yield return Size;
yield return Weight;
}
}