| | | 1 | | namespace OzonDomains.Models; |
| | | 2 | | |
| | | 3 | | public static class BitrixStockPriceMode |
| | | 4 | | { |
| | | 5 | | public const string Standard = "standard"; |
| | | 6 | | public const string Skip = "skip"; |
| | | 7 | | public const string Fixed = "fixed"; |
| | | 8 | | } |
| | | 9 | | |
| | | 10 | | public class BitrixStockExceptionClientPrice |
| | | 11 | | { |
| | 0 | 12 | | public int Id { get; set; } |
| | 14 | 13 | | public string Article { get; set; } = string.Empty; |
| | 7 | 14 | | public int OzonClientId { get; set; } |
| | | 15 | | /// <summary>standard | skip | fixed</summary> |
| | 21 | 16 | | public string PriceMode { get; set; } = BitrixStockPriceMode.Standard; |
| | | 17 | | /// <summary>Фиксированная цена (актуально при PriceMode=fixed).</summary> |
| | 8 | 18 | | public decimal? FixedPrice { get; set; } |
| | | 19 | | /// <summary>Старая/зачёркнутая цена (актуально при PriceMode=fixed).</summary> |
| | 6 | 20 | | public decimal? FixedOldPrice { get; set; } |
| | 12 | 21 | | public string? Comment { get; set; } |
| | 7 | 22 | | public bool IsActive { get; set; } = true; |
| | 0 | 23 | | public DateTime CreatedAt { get; set; } |
| | 0 | 24 | | public DateTime UpdatedAt { get; set; } |
| | 0 | 25 | | public string? CreatedBy { get; set; } |
| | | 26 | | } |