From c257d7ff8ce439422c8d9b2b6878748a4398438f Mon Sep 17 00:00:00 2001 From: Ross Healy Date: Tue, 13 Feb 2024 13:22:17 +0000 Subject: [PATCH] Euromillions data model --- .../Models/EurosResult.cs | 147 ++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 lottery-co-uk-scraper.core/Models/EurosResult.cs diff --git a/lottery-co-uk-scraper.core/Models/EurosResult.cs b/lottery-co-uk-scraper.core/Models/EurosResult.cs new file mode 100644 index 0000000..15a8104 --- /dev/null +++ b/lottery-co-uk-scraper.core/Models/EurosResult.cs @@ -0,0 +1,147 @@ +using lottery_co_uk_scraper.core.Models.EuroMillions; +using Microsoft.EntityFrameworkCore; + +namespace lottery_co_uk_scraper.core.Models +{ + [Index(nameof(DrawNumber), IsUnique = true)] + public class EurosResult + { + public int Id { get; set; } + + public DateOnly DrawDate { get; set; } + + public int DrawNumber { get; set; } + + public bool Rollover { get; set; } + + public EurosRaffleResult MillionaireMakerCode { get; set; } + + public int BallSetUsed { get; set; } + + public int MachineUsed { get; set; } + + public int DrawnBall1 { get; set; } + + public int DrawnBall2 { get; set; } + + public int DrawnBall3 { get; set; } + + public int DrawnBall4 { get; set; } + + public int DrawnBall5 { get; set; } + + public int LuckyStar1 { get; set; } + + public int LuckyStar2 { get; set; } + + public int TotalMatched2 { get; set; } + + public int TotalMatched2UK { get; set; } + + public int Matched2PrizeUK { get; set; } + + public int Matched2PrizeFundUK { get; set; } + + public int TotalMatched2Plus1Star { get; set; } + + public int TotalMatched2Plus1StarUK { get; set; } + + public int Matched2Plus1StarPrizeUK { get; set; } + + public int Matched2Plus1StarPrizeFundUK { get; set; } + + public int TotalMatched1Plus2Stars { get; set; } + + public int TotalMatched1Plus2StarsUK { get; set; } + + public int Matched1Plus2StarsPrizeUK { get; set; } + + public int Matched1Plus2StarsPrizeFundUK { get; set; } + + public int TotalMatched2Plus2Stars { get; set; } + + public int TotalMatched2Plus2StarsUK { get; set; } + + public int Matched2Plus2StarsPrizeUK { get; set; } + + public int Matched2Plus2StarsPrizeFundUK { get; set; } + + public int TotalMatched3 { get; set; } + + public int TotalMatched3UK { get; set; } + + public int Matched3PrizeUK { get; set; } + + public int Matched3PrizeFundUK { get; set; } + + public int TotalMatched3Plus1Star { get; set; } + + public int TotalMatched3Plus1StarUK { get; set; } + + public int Matched3Plus1StarPrizeUK { get; set; } + + public int Matched3Plus1StarPrizeFundUK { get; set; } + + public int TotalMatched3Plus2Stars { get; set; } + + public int TotalMatched3Plus2StarsUK { get; set; } + + public int Matched3Plus2StarsPrizeUK { get; set; } + + public int Matched3Plus2StarsPrizeFundUK { get; set; } + + public int TotalMatched4 { get; set; } + + public int TotalMatched4UK { get; set; } + + public int Matched4PrizeUK { get; set; } + + public int Matched4PrizeFundUK { get; set; } + + public int TotalMatched4Plus1Star { get; set; } + + public int TotalMatched4Plus1StarUK { get; set; } + + public int Matched4Plus1StarPrizeUK { get; set; } + + public int Matched4Plus1StarPrizeFundUK { get; set; } + + public int TotalMatched4Plus2Stars { get; set; } + + public int TotalMatched4Plus2StarsUK { get; set; } + + public int Matched4Plus2StarsPrizeUK { get; set; } + + public int Matched4Plus2StarsPrizeFundUK { get; set; } + + public int TotalMatched5 { get; set; } + + public int TotalMatched5UK { get; set; } + + public int Matched5PrizeUK { get; set; } + + public int Matched5PrizeFundUK { get; set; } + + public int TotalMatched5Plus1Star { get; set; } + + public int TotalMatched5Plus1StarUK { get; set; } + + public int Matched5Plus1StarPrizeUK { get; set; } + + public int Matched5Plus1StarPrizeFundUK { get; set; } + + public int TotalMatched5Plus2Stars { get; set; } + + public int TotalMatched5Plus2StarsUK { get; set; } + + public int Matched5Plus2StarsPrizeUK { get; set; } + + public int Matched5Plus2StarsPrizeFundUK { get; set; } + + public int TotalWinners { get; set; } + + public int TotalWinnersUK { get; set; } + + public int TotalPrizeFundUK { get; set; } + } +} \ No newline at end of file