< Summary

Class:WinSolutions.Sveta.Server.Data.DataModel.Entities.GoodLabel
Assembly:WinSolutions.Sveta.Server
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/GoodLabel.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:37
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_Name()0%100%
get_Priority()0%100%
get_LabelColor()0%100%
get_TextColor()0%100%
get_ShowcaseVisible()0%100%
get_GoodSettingsLabels()0%100%

File(s)

/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/GoodLabel.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.Text;
 5
 6namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 7{
 8    public class GoodLabel : ExternalRecord, ITrackableRecord
 9    {
 10        /// <summary>
 11        /// Название ярлыка
 12        /// </summary>
 13        [Required]
 014        public string Name { get; set; }
 15        /// <summary>
 16        /// Приоритет
 17        /// </summary>
 18        [Required]
 019        public int Priority { get; set; }
 20        /// <summary>
 21        /// Цвет ярлыка RGB
 22        /// </summary>
 023        public string LabelColor { get; set; } = "#FFFFFF";
 24        /// <summary>
 25        /// Цвет текста RGB
 26        /// </summary>
 027        public string TextColor { get; set; } = "#000000";
 28        /// <summary>
 29        /// Видимость на витрине
 30        /// </summary>
 031        public bool ShowcaseVisible { get; set; }
 32        /// <summary>
 33        /// Сеттинги
 34        /// </summary>
 035        public List<GoodSettingsLabel> GoodSettingsLabels { get; set; }
 36    }
 37}