| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.Linq; |
| | | 4 | | using System.Threading.Tasks; |
| | | 5 | | using WinSolutions.Sveta.Server.Data.DataModel.Entities; |
| | | 6 | | |
| | | 7 | | namespace SVETA.Api.Data.DTO.Showcase |
| | | 8 | | { |
| | | 9 | | public class ShowcaseGoodLabelDTO |
| | | 10 | | { |
| | 0 | 11 | | public ShowcaseGoodLabelDTO(GoodLabel label) |
| | 0 | 12 | | { |
| | 0 | 13 | | Name = label.Name; |
| | 0 | 14 | | Priority = label.Priority; |
| | 0 | 15 | | LabelColor = label.LabelColor; |
| | 0 | 16 | | TextColor = label.TextColor; |
| | 0 | 17 | | } |
| | | 18 | | |
| | 0 | 19 | | public string Name { get; set; } |
| | | 20 | | |
| | 0 | 21 | | public int Priority { get; set; } |
| | | 22 | | |
| | 0 | 23 | | public string LabelColor { get; set; } |
| | | 24 | | |
| | 0 | 25 | | public string TextColor { get; set; } |
| | | 26 | | } |
| | | 27 | | } |