< Summary

Information
Class: OzonDomains.Models.PriceIndexes
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/PriceIndexes.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
Total lines: 54
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/PriceIndexes.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace OzonDomains.Models;
 5
 6public class PriceIndexes
 7{
 08    public int Id { get; set; }
 9
 10    // Внешние индексные данные
 11    [Display(Name = "Минимальная цена внешняя")]
 12    [Column(TypeName = "decimal(18,2)")]
 013    public decimal ExternalMinPrice { get; set; }
 14
 15    [MaxLength(10)]
 16    [Display(Name = "Валюта минимальной цены внешней")]
 017    public string ExternalMinPriceCurrency { get; set; } = "RUB";
 18
 19    [Display(Name = "Значение внешнего ценового индекса")]
 20    [Column(TypeName = "decimal(18,4)")]
 021    public decimal ExternalPriceIndexValue { get; set; }
 22
 23    // Ozon индексные данные
 24    [Display(Name = "Минимальная цена Ozon")]
 25    [Column(TypeName = "decimal(18,2)")]
 026    public decimal OzonMinPrice { get; set; }
 27
 28    [MaxLength(10)]
 29    [Display(Name = "Валюта минимальной цены Ozon")]
 030    public string OzonMinPriceCurrency { get; set; } = "RUB";
 31
 32    [Display(Name = "Значение ценового индекса Ozon")]
 33    [Column(TypeName = "decimal(18,4)")]
 034    public decimal OzonPriceIndexValue { get; set; }
 35
 36    // Данные по собственным маркетплейсам
 37    [Display(Name = "Минимальная цена собственных маркетплейсов")]
 38    [Column(TypeName = "decimal(18,2)")]
 039    public decimal SelfMarketplacesMinPrice { get; set; }
 40
 41    [MaxLength(10)]
 42    [Display(Name = "Валюта минимальной цены собственных маркетплейсов")]
 043    public string SelfMarketplacesMinPriceCurrency { get; set; } = "RUB";
 44
 45    [Display(Name = "Значение ценового индекса собственных маркетплейсов")]
 46    [Column(TypeName = "decimal(18,4)")]
 047    public decimal SelfMarketplacesPriceIndexValue { get; set; }
 48
 49    [MaxLength(20)]
 50    [Display(Name = "Цветовой индекс")]
 051    public string ColorIndex { get; set; } = "WHITE";
 52
 053    public int OrderPriceId { get; set; }
 54}