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