erp-platform/api/src/Erp.Platform.Domain/Queries/ChartLabel.cs
2025-11-11 22:49:52 +03:00

26 lines
788 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
using Volo.Abp.Domain.Values;
namespace Erp.Platform.Queries;
public class ChartLabel : ValueObject
{
[JsonInclude] public string BackgroundColor { get; private set; } = "#f05b41";
[JsonInclude] public string CustomizeText { get; private set; }
[JsonInclude] public ChartFont Font { get; private set; } = new();
[JsonInclude] public bool Visible { get; private set; }
[JsonInclude] public string Format { get; private set; }
public ChartLabel() { }
protected override IEnumerable<object> GetAtomicValues()
{
yield return BackgroundColor;
yield return CustomizeText;
yield return Font;
yield return Visible;
yield return Format;
}
}