Template
57 lines
1.9 KiB
C#
57 lines
1.9 KiB
C#
using System.Diagnostics.CodeAnalysis;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Strata.ContinuousImprovement.Api.Test.Integration.Info
|
|
{
|
|
[ExcludeFromCodeCoverage]
|
|
public class ConfigurationInfo
|
|
{
|
|
public Guid ConfigurationGuid { get; set; }
|
|
public string Name { get; set; }
|
|
public byte DisplayOrder { get; set; }
|
|
public Guid ServiceLineDimensionGuid { get; set; }
|
|
[JsonPropertyName("entityIdsCSV")]
|
|
public string EntityIdsCsv { get; set; }
|
|
public bool IsUsingIndirectCost { get; set; }
|
|
public string DepartmentRollupGlobalId { get; set; }
|
|
public bool IsUsingCustomEntityDimension => !string.IsNullOrEmpty(DepartmentRollupGlobalId);
|
|
[JsonPropertyName("customEntityIdsCSV")]
|
|
public string CustomEntityIdsCsv { get; set; }
|
|
[JsonPropertyName("fiscalYearID")]
|
|
public short FiscalYearId { get; set; }
|
|
public DateTime OrgDefinedEndDate { get; set; }
|
|
public DateTime OrgDefinedTrackingCurrentMonth { get; set; }
|
|
|
|
}
|
|
|
|
[ExcludeFromCodeCoverage]
|
|
public class EntityIdInfo
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public int EntityId { get; set; }
|
|
[JsonPropertyName("name")]
|
|
public string EntityName { get; set; } = string.Empty;
|
|
}
|
|
|
|
[ExcludeFromCodeCoverage]
|
|
public class EntityInfo
|
|
{
|
|
public string EntityTitle { get; set; }
|
|
public string EntityLabel { get; set; }
|
|
public string EntityText { get; set; }
|
|
public string DepartmentRollupGlobalId { get; set; }
|
|
public string HierarchicalGuid { get; set; }
|
|
}
|
|
|
|
[ExcludeFromCodeCoverage]
|
|
public class ServiceLineInfo
|
|
{
|
|
public string ServiceLineGlobalId { get; set; }
|
|
public string ServiceLineTitle { get; set; }
|
|
public string ServiceLineName { get; set; }
|
|
public string ServiceLineDimensionGuid { get; set; }
|
|
public string ServiceLineHierarchicalGuid { get; set; }
|
|
}
|
|
|
|
}
|