Skip to content

Attributes

// RB2 Core Connect
namespace CoreConnect.Pim;
public record PimAttributeGroup
{
public string? Code { get; set; }
public Dictionary<string, string>? Labels { get; set; }
public List<PimAttribute>? Attributes { get; set; }
public bool? Hide { get; set; }
public int? SortOrder { get; set; }
}
public record PimAttribute
{
public string? Code { get; set; }
public Dictionary<string, string>? Labels { get; set; }
public int? Type { get; set; }
public string? MapType { get; set; }
public bool? isSet { get; set; }
public bool? Localizable { get; set; }
public string? Unit { get; set; }
public int? SortOrder { get; set; }
public string? ReferenceDataName { get; set; }
public List<PimAttributeOptions>? Options { get; set; }
public PimAttributeGroup? Group { get; set; }
public string? MetricFamily { get; set; }
}
public class PimAttributeOptions
{
public string? Code { get; set; }
public Dictionary<string, string>? Labels { get; set; }
}