| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.ComponentModel.DataAnnotations; |
| | | 4 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 5 | | using System.Text; |
| | | 6 | | |
| | | 7 | | namespace WinSolutions.Sveta.Server.Data.DataModel.Entities |
| | | 8 | | { |
| | | 9 | | public class DepartmentGoodSetting : ExternalRecord, ITrackableRecord |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// Товар |
| | | 13 | | /// </summary> |
| | | 14 | | [Required] |
| | 172 | 15 | | public Good Good { get; set; } |
| | | 16 | | |
| | 0 | 17 | | public long GoodId { get; set; } |
| | | 18 | | |
| | | 19 | | /// <summary> |
| | | 20 | | /// Подразделение |
| | | 21 | | /// </summary> |
| | | 22 | | [Required] |
| | 0 | 23 | | public Department Department { get; set; } |
| | | 24 | | |
| | 0 | 25 | | public long DepartmentId { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// Мин. партия поставки |
| | | 29 | | /// </summary> |
| | | 30 | | [Required] |
| | | 31 | | [Column(TypeName = "decimal(18,2)")] |
| | 275 | 32 | | public decimal MinQuantity { get; set; } |
| | | 33 | | |
| | | 34 | | /// <summary> |
| | | 35 | | /// Квант поставки |
| | | 36 | | /// </summary> |
| | | 37 | | [Required] |
| | | 38 | | [Column(TypeName = "decimal(18,2)")] |
| | 275 | 39 | | public decimal PickingQuantum { get; set; } |
| | | 40 | | |
| | | 41 | | /// <summary> |
| | | 42 | | /// Ярлыки |
| | | 43 | | /// </summary> |
| | 0 | 44 | | public List<GoodSettingsLabel> GoodSettingsLabels { get; set; } |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// Код товара |
| | | 48 | | /// </summary> |
| | 0 | 49 | | public string VendorCode { get; set; } |
| | | 50 | | |
| | | 51 | | /// <summary> |
| | | 52 | | /// Видимость на витрине |
| | | 53 | | /// </summary> |
| | 11 | 54 | | public bool ShowcaseVisible { get; set; } |
| | | 55 | | } |
| | | 56 | | } |