| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.Linq; |
| | | 4 | | using System.Threading.Tasks; |
| | | 5 | | using WinSolutions.Sveta.Server.Data.DataModel.Entities; |
| | | 6 | | |
| | | 7 | | namespace SVETA.Api.Data.DTO.PromoOfferJournal |
| | | 8 | | { |
| | | 9 | | public class PromoOfferDetailedOutput : PromoOfferOutput |
| | | 10 | | { |
| | 0 | 11 | | public PromoOfferDetailedOutput(PromoOffer data) : base(data) |
| | 0 | 12 | | { |
| | 0 | 13 | | Bids.AddRange(data.Bids.Select(x => new PromoBidOutput(x))); |
| | 0 | 14 | | } |
| | | 15 | | |
| | 0 | 16 | | public List<PromoBidOutput> Bids { get; } = new List<PromoBidOutput>(); |
| | | 17 | | } |
| | | 18 | | } |