| | | 1 | | using System.Collections.Generic; |
| | | 2 | | using WinSolutions.Sveta.Server.Data.DataModel.Entities; |
| | | 3 | | |
| | | 4 | | namespace SVETA.Api.Data.DTO.Goods |
| | | 5 | | { |
| | | 6 | | public class TopGoodDiscountDto |
| | | 7 | | { |
| | | 8 | | public IEnumerable<TopGoodDiscount> DiscountGoods { get; set; } |
| | | 9 | | public string StsServer { get; set; } |
| | | 10 | | public string BaseFronUrl { get; set; } |
| | | 11 | | } |
| | | 12 | | |
| | | 13 | | public class TopGoodDiscount |
| | | 14 | | { |
| | 0 | 15 | | public string Name { get; set; } |
| | 0 | 16 | | public string Category { get; set; } |
| | 0 | 17 | | public PhotoDTO Img { get; set; } |
| | 0 | 18 | | public decimal OldPrice { get; set; } |
| | 0 | 19 | | public decimal CurrentPrice { get; set; } |
| | 0 | 20 | | public decimal Discount { get; set; } |
| | 0 | 21 | | public string Url { get; set; } |
| | 0 | 22 | | public string LabelColor { get; set; } |
| | | 23 | | } |
| | | 24 | | } |