using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soanx.CurrencyExchange.Models;

public class DtoModels {
    public class PromptingSet {
        public MessageToAnalyzing Message { get; set; }
        public FormalizedMessage FormalizedMessage { get; set; }
    }

    public class FormalizedMessageEx : FormalizedMessage {
        public MessageToAnalyzing Message { get; set; }
    }

    public class FormalizedMessage {
        public long Id { get; set; }
        public bool NotMatched { get; set; }
        public List<string>? Cities { get; set; }
        public List<Offer> Offers { get; set; }
    }

    public class MessageToAnalyzing {
        public long Id { get; set; }
        public string Text { get; set; }
    }

    public class Offer {
        public List<string>? Cities { get; set; }
        public CurrencyInfo Sell { get; set; }
        public CurrencyInfo Buy { get; set; }
        public decimal? RateMin { get; set; }
        public decimal? RateMax { get; set; }
    }

    public class CurrencyInfo {
        public List<string> Currencies { get; set; }
        public decimal? AmountMin { get; set; }
        public decimal? AmountMax { get; set; }
        public List<string>? Banks { get; set; }

    }
}