< Summary

Class:SVETA.Api.Data.DTO.Showcase.ShowcaseGoodLabelDTO
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Showcase/ShowcaseGoodLabelDTO.cs
Covered lines:0
Uncovered lines:11
Coverable lines:11
Total lines:27
Line coverage:0% (0 of 11)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
.ctor(...)0%100%
get_Name()0%100%
get_Priority()0%100%
get_LabelColor()0%100%
get_TextColor()0%100%

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Showcase/ShowcaseGoodLabelDTO.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Threading.Tasks;
 5using WinSolutions.Sveta.Server.Data.DataModel.Entities;
 6
 7namespace SVETA.Api.Data.DTO.Showcase
 8{
 9    public class ShowcaseGoodLabelDTO
 10    {
 011        public ShowcaseGoodLabelDTO(GoodLabel label)
 012        {
 013            Name = label.Name;
 014            Priority = label.Priority;
 015            LabelColor = label.LabelColor;
 016            TextColor = label.TextColor;
 017        }
 18
 019        public string Name { get; set; }
 20
 021        public int Priority { get; set; }
 22
 023        public string LabelColor { get; set; }
 24
 025        public string TextColor { get; set; }
 26    }
 27}